aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-05 21:48:50 +0000
committerChris Lattner <sabre@nondot.org>2006-05-05 21:48:50 +0000
commit7660ebc90ab1a8ca64f7df20cec19106abaf8e35 (patch)
tree31bfa999322f8bd70165df1b6e7a7eaad2771575
parent1c05997bd8d8b3e97c9a5384f8197d0348e237a3 (diff)
Print *some* grouping around inline asm blocks so we know where they are.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28133 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86AsmPrinter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp
index 1eb4460e69..07035f615b 100644
--- a/lib/Target/X86/X86AsmPrinter.cpp
+++ b/lib/Target/X86/X86AsmPrinter.cpp
@@ -66,7 +66,8 @@ bool X86SharedAsmPrinter::doInitialization(Module &M) {
forDarwin = true;
StaticCtorsSection = ".mod_init_func";
StaticDtorsSection = ".mod_term_func";
- InlineAsmStart = InlineAsmEnd = ""; // Don't use #APP/#NO_APP
+ InlineAsmStart = "# InlineAsm Start";
+ InlineAsmEnd = "# InlineAsm End";
break;
case X86Subtarget::isCygwin:
GlobalPrefix = "_";