OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36357c
)
Read from the right place.
author
Chris Lattner
<sabre@nondot.org>
Mon, 29 Jan 2007 02:18:13 +0000
(
02:18
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 29 Jan 2007 02:18:13 +0000
(
02:18
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33611
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Linker/LinkModules.cpp
patch
|
blob
|
history
diff --git
a/lib/Linker/LinkModules.cpp
b/lib/Linker/LinkModules.cpp
index
527c093
..
59ebdee
100644
(file)
--- a/
lib/Linker/LinkModules.cpp
+++ b/
lib/Linker/LinkModules.cpp
@@
-851,7
+851,7
@@
Linker::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) {
if (Dest->getDataLayout().empty()) {
if (!Src->getDataLayout().empty()) {
- Dest->setDataLayout(Src->get
TargetTriple
());
+ Dest->setDataLayout(Src->get
DataLayout
());
} else {
std::string DataLayout;