MC: Correct comment in ExportSymbol
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 4 Jul 2014 23:20:46 +0000 (23:20 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 4 Jul 2014 23:20:46 +0000 (23:20 +0000)
No functionality changed, just make it so that the code _could_ be
uncommented.

llvm-svn: 212363

llvm/lib/MC/WinCOFFObjectWriter.cpp

index 2d4b758..a462c0d 100644 (file)
@@ -551,7 +551,7 @@ bool WinCOFFObjectWriter::ExportSymbol(MCSymbolData const &SymbolData,
   // This doesn't seem to be right. Strings referred to from the .data section
   // need symbols so they can be linked to code in the .text section right?
 
-  // return Asm.isSymbolLinkerVisible (&SymbolData);
+  // return Asm.isSymbolLinkerVisible(SymbolData.getSymbol());
 
   // For now, all non-variable symbols are exported,
   // the linker will sort the rest out for us.