diff options
Diffstat (limited to 'llvm/tools/llvm-ld/llvm-ld.cpp')
| -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;      } | 

