[llvm] r334990 - Tidy comment language and explanation.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 18 15:21:19 PDT 2018


Author: echristo
Date: Mon Jun 18 15:21:19 2018
New Revision: 334990

URL: http://llvm.org/viewvc/llvm-project?rev=334990&view=rev
Log:
Tidy comment language and explanation.

Modified:
    llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp

Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp?rev=334990&r1=334989&r2=334990&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp Mon Jun 18 15:21:19 2018
@@ -689,11 +689,11 @@ void X86AsmPrinter::EmitEndOfAsmFile(Mod
     SM.serializeToStackMapSection();
     FM.serializeToFaultMapSection();
 
-    // Funny Darwin hack: This flag tells the linker that no global symbols
-    // contain code that falls through to other global symbols (e.g. the obvious
-    // implementation of multiple entry points).  If this doesn't occur, the
-    // linker can safely perform dead code stripping.  Since LLVM never
-    // generates code that does this, it is always safe to set.
+    // This flag tells the linker that no global symbols contain code that fall
+    // through to other global symbols (e.g. an implementation of multiple entry
+    // points). If this doesn't occur, the linker can safely perform dead code
+    // stripping. Since LLVM never generates code that does this, it is always
+    // safe to set.
     OutStreamer->EmitAssemblerFlag(MCAF_SubsectionsViaSymbols);
     return;
   }




More information about the llvm-commits mailing list