[lld] r198066 - Fix comment.
Rui Ueyama
ruiu at google.com
Thu Dec 26 18:51:54 PST 2013
Author: ruiu
Date: Thu Dec 26 20:51:53 2013
New Revision: 198066
URL: http://llvm.org/viewvc/llvm-project?rev=198066&view=rev
Log:
Fix comment.
Modified:
lld/trunk/lib/Driver/WinLinkDriver.cpp
Modified: lld/trunk/lib/Driver/WinLinkDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkDriver.cpp?rev=198066&r1=198065&r2=198066&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Thu Dec 26 20:51:53 2013
@@ -895,10 +895,10 @@ WinLinkDriver::parse(int argc, const cha
// Mangle the symbol name only if it is reading user-supplied command line
// arguments. Because the symbol name in the .drectve section is already
- // mangled by the compiler, we shouldn't add a leading undescore here.
- // It's odd that the command line option has different semantics in the
- // .drectve section, but this behavior is needed for compatibility with
- // MSVC's link.exe.
+ // mangled by the compiler, we shouldn't add a leading underscore in that
+ // case. It's odd that the command line option has different semantics in
+ // the .drectve section, but this behavior is needed for compatibility
+ // with MSVC's link.exe.
if (!isReadingDirectiveSection)
desc.name = ctx.decorateSymbol(desc.name);
ctx.addDllExport(desc);
More information about the llvm-commits
mailing list