From: David Majnemer Date: Fri, 4 Jul 2014 23:20:46 +0000 (+0000) Subject: MC: Correct comment in ExportSymbol X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0950ee85cb54ca4ff7a4eb779602fc5b1e3b046;p=platform%2Fupstream%2Fllvm.git MC: Correct comment in ExportSymbol No functionality changed, just make it so that the code _could_ be uncommented. llvm-svn: 212363 --- diff --git a/llvm/lib/MC/WinCOFFObjectWriter.cpp b/llvm/lib/MC/WinCOFFObjectWriter.cpp index 2d4b758..a462c0d 100644 --- a/llvm/lib/MC/WinCOFFObjectWriter.cpp +++ b/llvm/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.