[PATCH] Initial implementation of link-time optimization for the new COFF linker.

Rui Ueyama ruiu at google.com
Fri May 29 08:37:39 PDT 2015

Comment at: COFF/SymbolTable.cpp:236
@@ +235,3 @@
+    }
+  }
On second thought, I'm now thinking that replacing DefinedBitcode symbols with regular defined symbols can be done without going through addFile. We have a list of symbols which need to be replaced, and we also have symbols in this file that should replace them. So we can just do that by overriding Symbol's Body pointers.

Not sure which is better, so it's just an idea.



More information about the llvm-commits mailing list