From: David Majnemer Date: Fri, 4 Jul 2014 23:20:46 +0000 (+0000) Subject: MC: Correct comment in ExportSymbol X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=980c67a93f84fa9e584e0518ccafbe88ad766075;p=oota-llvm.git MC: Correct comment in ExportSymbol 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 --- diff --git a/lib/MC/WinCOFFObjectWriter.cpp b/lib/MC/WinCOFFObjectWriter.cpp index 2d4b75858a5..a462c0d5bc1 100644 --- a/lib/MC/WinCOFFObjectWriter.cpp +++ b/lib/MC/WinCOFFObjectWriter.cpp @@ -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.