mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Use ## for comment delimiter on darwin x86-32, so
llvm's output .s files will go through gcc -std=c99 without triggering preprocesser errors. Approach suggested by Daveed Vandevoorde. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48808 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user