daniel remembered why this was needed.

llvm-svn: 96440
This commit is contained in:
Chris Lattner 2010-02-17 01:55:54 +00:00
parent f602f96e60
commit b67807e7ef
1 changed files with 4 additions and 1 deletions

View 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 = ".";