[llvm] r212363 - MC: Correct comment in ExportSymbol
David Majnemer
david.majnemer at gmail.com
Fri Jul 4 16:20:47 PDT 2014
Author: majnemer
Date: Fri Jul 4 18:20:46 2014
New Revision: 212363
URL: http://llvm.org/viewvc/llvm-project?rev=212363&view=rev
Log:
MC: Correct comment in ExportSymbol
No functionality changed, just make it so that the code _could_ be
uncommented.
Modified:
llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp
Modified: llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp?rev=212363&r1=212362&r2=212363&view=diff
==============================================================================
--- llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp Fri Jul 4 18:20:46 2014
@@ -551,7 +551,7 @@ bool WinCOFFObjectWriter::ExportSymbol(M
// 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.
More information about the llvm-commits
mailing list