[PATCH] [PECOFF] Add support for bigobj

Rui Ueyama ruiu at google.com
Tue Sep 9 17:24:06 PDT 2014


================
Comment at: lib/ReaderWriter/PECOFF/ReaderCOFF.cpp:364
@@ -367,3 +363,3 @@
     // Cache the name.
-    _symbolName[sym] = name;
+    _symbolName[*sym] = name;
 
----------------
Is this change valid? It depended on the fact that you can identify a symbol by its address, but I don't think after your change COFFSymbolRef is not guaranteed to be unique for a symbol.

http://reviews.llvm.org/D5280






More information about the llvm-commits mailing list