daniel remembered why this was needed.
authorChris Lattner <sabre@nondot.org>
Wed, 17 Feb 2010 01:55:54 +0000 (01:55 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 17 Feb 2010 01:55:54 +0000 (01:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96440 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86MCAsmInfo.cpp

index b220cff54c88b01d7100bbdead60081262d3b22c..bc56e71b649789ee3119a7a5d2adced56a77e61b 100644 (file)
@@ -56,7 +56,10 @@ X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &Triple) {
     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 = ".";