OSDN Git Service

Print a grouping around inline asm blocks so that we can tell when we are
authorChris Lattner <sabre@nondot.org>
Fri, 5 May 2006 21:50:04 +0000 (21:50 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 5 May 2006 21:50:04 +0000 (21:50 +0000)
using them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28134 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCAsmPrinter.cpp

index dbd3b03..679c965 100644 (file)
@@ -282,7 +282,8 @@ namespace {
       LCOMMDirective = "\t.lcomm\t";
       StaticCtorsSection = ".mod_init_func";
       StaticDtorsSection = ".mod_term_func";
-      InlineAsmStart = InlineAsmEnd = "";  // Don't use #APP/#NO_APP
+      InlineAsmStart = "# InlineAsm Start";
+      InlineAsmEnd = "# InlineAsm End";
     }
 
     virtual const char *getPassName() const {