diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-02-17 01:55:54 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-02-17 01:55:54 +0000 |
| commit | b67807e7efb404382444ff13e0902110c08d55e2 (patch) | |
| tree | e29b6059f0253ceb8c12a604d4b2f828b9b320cf /llvm/lib | |
| parent | f602f96e607aa89fbfddfdff7576af33cf48dd78 (diff) | |
| download | bcm5719-llvm-b67807e7efb404382444ff13e0902110c08d55e2.tar.gz bcm5719-llvm-b67807e7efb404382444ff13e0902110c08d55e2.zip | |
daniel remembered why this was needed.
llvm-svn: 96440
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86MCAsmInfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86MCAsmInfo.cpp b/llvm/lib/Target/X86/X86MCAsmInfo.cpp index b220cff54c8..bc56e71b649 100644 --- a/llvm/lib/Target/X86/X86MCAsmInfo.cpp +++ b/llvm/lib/Target/X86/X86MCAsmInfo.cpp @@ -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 = "."; |

