diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-01-10 03:14:40 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-01-10 03:14:40 +0000 |
commit | 5995c57574e227bdeebebb38d8576c3ab7a2c95b (patch) | |
tree | 590def7eea792aa767e4eaa70196ed90d78be968 /llvm/tools/llvm-ld | |
parent | 8097c0a0d98a01663000cd6856e57586c367b4a2 (diff) | |
download | bcm5719-llvm-5995c57574e227bdeebebb38d8576c3ab7a2c95b.tar.gz bcm5719-llvm-5995c57574e227bdeebebb38d8576c3ab7a2c95b.zip |
For PR521:
With these patches we implement the ability for the Linker library to
keep track of which libraries were actually bytecode files (not archives)
and cause their users to remove such files from the list of libraries to
pass to the native linker.
llvm-svn: 25169
Diffstat (limited to 'llvm/tools/llvm-ld')
-rw-r--r-- | llvm/tools/llvm-ld/llvm-ld.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp index 0c633d2462d..f6c9c747421 100644 --- a/llvm/tools/llvm-ld/llvm-ld.cpp +++ b/llvm/tools/llvm-ld/llvm-ld.cpp @@ -434,10 +434,11 @@ int main(int argc, char **argv, char **envp) { } else { // Build a list of the items from our command line Linker::ItemList Items; + Linker::ItemList NativeItems; BuildLinkItems(Items, InputFilenames, Libraries); // Link all the items together - if (TheLinker.LinkInItems(Items) ) + if (TheLinker.LinkInItems(Items,NativeItems) ) return 1; } |