projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b72639
)
Dependent libraries could be native too.
author
Reid Spencer
<rspencer@reidspencer.com>
Mon, 30 Apr 2007 00:00:10 +0000
(
00:00
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Mon, 30 Apr 2007 00:00:10 +0000
(
00:00
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36582
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Linker/LinkItems.cpp
patch
|
blob
|
history
diff --git
a/lib/Linker/LinkItems.cpp
b/lib/Linker/LinkItems.cpp
index 09af56c6a8b1cf6dc73e255ca5a0cc8e937cde94..87de4af89ae0d292b6c3ba61d52dec2fab9cfd03 100644
(file)
--- a/
lib/Linker/LinkItems.cpp
+++ b/
lib/Linker/LinkItems.cpp
@@
-54,9
+54,12
@@
Linker::LinkInItems(const ItemList& Items, ItemList& NativeItems) {
// symbols.
bool is_native;
for (Module::lib_iterator I = Composite->lib_begin(),
- E = Composite->lib_end(); I != E; ++I)
+ E = Composite->lib_end(); I != E; ++I)
{
if(LinkInLibrary(*I, is_native))
return true;
+ if (is_native)
+ NativeItems.push_back(std::make_pair(*I, true));
+ }
return false;
}