summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-05 21:50:04 +0000
committerChris Lattner <sabre@nondot.org>2006-05-05 21:50:04 +0000
commit8b9e11c1106d97874ea40d21ad99864fd2edd1e4 (patch)
tree3eb68d6e8a9a813f8746c4b1f038cef6c519a26d /llvm/lib
parentc22d4bede5359216874e2e07c986c0fedeff1fb5 (diff)
downloadbcm5719-llvm-8b9e11c1106d97874ea40d21ad99864fd2edd1e4.tar.gz
bcm5719-llvm-8b9e11c1106d97874ea40d21ad99864fd2edd1e4.zip
Print a grouping around inline asm blocks so that we can tell when we are
using them. llvm-svn: 28134
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
index dbd3b03e7bc..679c96534bf 100644
--- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -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 {
OpenPOWER on IntegriCloud