aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-08 23:42:22 +0000
committerChris Lattner <sabre@nondot.org>2006-02-08 23:42:22 +0000
commit418caa135640833fda641997dae657062dccf0f4 (patch)
treeb8d795de4becb0c0d2ff5485f42095ab39eb7f87 /lib/Target/X86/X86AsmPrinter.cpp
parentd6c65ea92449bfba377baccf9b15d9346e96a029 (diff)
downloadexternal_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/Target/X86/X86AsmPrinter.cpp')
-rw-r--r--lib/Target/X86/X86AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
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 = "_";