[llvm-commits] [llvm] r96440 - /llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp
Chris Lattner
sabre at nondot.org
Tue Feb 16 17:55:54 PST 2010
Author: lattner
Date: Tue Feb 16 19:55:54 2010
New Revision: 96440
URL: http://llvm.org/viewvc/llvm-project?rev=96440&view=rev
Log:
daniel remembered why this was needed.
Modified:
llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp?rev=96440&r1=96439&r2=96440&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp Tue Feb 16 19:55:54 2010
@@ -56,7 +56,10 @@
Data64bitsDirective = 0; // we can't emit a 64-bit unit
// Use ## as a comment string so that .s files generated by llvm can go
- // through the GCC preprocessor without causing an error.
+ // through the GCC preprocessor without causing an error. This is needed
+ // because "clang foo.s" runs the C preprocessor, which is usually reserved
+ // for .S files on other systems. Perhaps this is because the file system
+ // wasn't always case preserving or something.
CommentString = "##";
PCSymbol = ".";
More information about the llvm-commits
mailing list