aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-11 22:39:40 +0000
committerChris Lattner <sabre@nondot.org>2009-08-11 22:39:40 +0000
commitcae14fd2f334ef46b141a5e400fc43528f5e5b43 (patch)
tree15b1240b4ff1ad16135acf4096de957cb2facb80 /lib/Target/TargetAsmInfo.cpp
parenteb75972692419eee5ea85909cea17b04abeeddc6 (diff)
downloadexternal_llvm-cae14fd2f334ef46b141a5e400fc43528f5e5b43.zip
external_llvm-cae14fd2f334ef46b141a5e400fc43528f5e5b43.tar.gz
external_llvm-cae14fd2f334ef46b141a5e400fc43528f5e5b43.tar.bz2
Change the asmprinter to print the comment character before the
"inlineasmstart/end" strings so that the contents of the directive are separate from the comment character. This lets elf targets get #APP/#NOAPP for free even if they don't use "#" as the comment character. This also allows hoisting the darwin stuff up to the shared TAI class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetAsmInfo.cpp')
-rw-r--r--lib/Target/TargetAsmInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp
index 51aeae4..253d72c 100644
--- a/lib/Target/TargetAsmInfo.cpp
+++ b/lib/Target/TargetAsmInfo.cpp
@@ -37,8 +37,8 @@ TargetAsmInfo::TargetAsmInfo() {
PersonalityPrefix = "";
PersonalitySuffix = "";
NeedsIndirectEncoding = false;
- InlineAsmStart = "#APP";
- InlineAsmEnd = "#NO_APP";
+ InlineAsmStart = "APP";
+ InlineAsmEnd = "NO_APP";
AssemblerDialect = 0;
AllowQuotesInName = false;
ZeroDirective = "\t.zero\t";