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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212363 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/WinCOFFObjectWriter.cpp

index 2d4b75858a5f6057332ec7ecf61eb1d33549527e..a462c0d5bc1335390de4bff7745c73718f6db0e6 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.