From e0950ee85cb54ca4ff7a4eb779602fc5b1e3b046 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Fri, 4 Jul 2014 23:20:46 +0000 Subject: [PATCH] MC: Correct comment in ExportSymbol No functionality changed, just make it so that the code _could_ be uncommented. llvm-svn: 212363 --- llvm/lib/MC/WinCOFFObjectWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.7.4