Use ## for comment delimiter on darwin x86-32, so
[oota-llvm.git] / lib / Target / X86 / X86TargetAsmInfo.cpp
index 390c5a6ff30c0b0f201215b98474e7066e6e5ca9..1f78cfd08a02944e3ede85531f4ddf5f3668aa6e 100644 (file)
@@ -83,8 +83,9 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
       PersonalitySuffix = "$non_lazy_ptr";
     }
     NeedsIndirectEncoding = true;
-    InlineAsmStart = "# InlineAsm Start";
-    InlineAsmEnd = "# InlineAsm End";
+    InlineAsmStart = "## InlineAsm Start";
+    InlineAsmEnd = "## InlineAsm End";
+    CommentString = "##";
     SetDirective = "\t.set";
     PCSymbol = ".";
     UsedDirective = "\t.no_dead_strip\t";