[lld] d9786b5 - [ELF] Clear lazyObjFiles in lld::elf::link after D46034

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 09:54:29 PDT 2020


Author: Fangrui Song
Date: 2020-04-28T09:54:20-07:00
New Revision: d9786b566b616550bbb6fc329f337623750c667f

URL: https://github.com/llvm/llvm-project/commit/d9786b566b616550bbb6fc329f337623750c667f
DIFF: https://github.com/llvm/llvm-project/commit/d9786b566b616550bbb6fc329f337623750c667f.diff

LOG: [ELF] Clear lazyObjFiles in lld::elf::link after D46034

Added: 
    

Modified: 
    lld/ELF/Driver.cpp

Removed: 
    


################################################################################
diff  --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index 12f704d75dfb..ff0c115e9cad 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -92,6 +92,7 @@ bool link(ArrayRef<const char *> args, bool canExitEarly, raw_ostream &stdoutOS,
   outputSections.clear();
   binaryFiles.clear();
   bitcodeFiles.clear();
+  lazyObjFiles.clear();
   objectFiles.clear();
   sharedFiles.clear();
   backwardReferences.clear();


        


More information about the llvm-commits mailing list