diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-08 23:42:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-08 23:42:22 +0000 |
commit | 418caa135640833fda641997dae657062dccf0f4 (patch) | |
tree | b8d795de4becb0c0d2ff5485f42095ab39eb7f87 /lib | |
parent | d6c65ea92449bfba377baccf9b15d9346e96a029 (diff) | |
download | external_llvm-418caa135640833fda641997dae657062dccf0f4.zip external_llvm-418caa135640833fda641997dae657062dccf0f4.tar.gz external_llvm-418caa135640833fda641997dae657062dccf0f4.tar.bz2 |
Darwin doesn't support #APP/#NO_APP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26066 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/PowerPC/PPCAsmPrinter.cpp | 4 | ||||
-rw-r--r-- | lib/Target/X86/X86AsmPrinter.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index c7218ea..f46d823 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -246,8 +246,7 @@ namespace { DarwinDwarfWriter DW; DarwinAsmPrinter(std::ostream &O, TargetMachine &TM) - : PPCAsmPrinter(O, TM), DW(O, this) - { + : PPCAsmPrinter(O, TM), DW(O, this) { CommentString = ";"; GlobalPrefix = "_"; PrivateGlobalPrefix = "L"; // Marker for constant pool idxs @@ -258,6 +257,7 @@ namespace { LCOMMDirective = "\t.lcomm\t"; StaticCtorsSection = ".mod_init_func"; StaticDtorsSection = ".mod_term_func"; + InlineAsmStart = InlineAsmEnd = ""; // Don't use #APP/#NO_APP } virtual const char *getPassName() const { diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index 79bf17f..7de9ef2 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -60,6 +60,7 @@ bool X86SharedAsmPrinter::doInitialization(Module &M) { forDarwin = true; StaticCtorsSection = ".mod_init_func"; StaticDtorsSection = ".mod_term_func"; + InlineAsmStart = InlineAsmEnd = ""; // Don't use #APP/#NO_APP break; case X86Subtarget::isCygwin: GlobalPrefix = "_"; |