aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-18 23:41:35 +0000
committerChris Lattner <sabre@nondot.org>2009-06-18 23:41:35 +0000
commit690b02cc2be75f878ab189295690484f25e98b26 (patch)
tree6ef33f510f42c2929afc99804f0195ebd521de2f /include
parent63c41097d11aab5c8e4c3cc8717ac09f34847b08 (diff)
downloadexternal_llvm-690b02cc2be75f878ab189295690484f25e98b26.zip
external_llvm-690b02cc2be75f878ab189295690484f25e98b26.tar.gz
external_llvm-690b02cc2be75f878ab189295690484f25e98b26.tar.bz2
move mangler quote handling from asm printers to TargetAsmInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index d71f4dd..1909826 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -278,6 +278,10 @@ namespace llvm {
/// use '\1' as the first character.
const char *StringConstantPrefix; // Defaults to ".str"
+ /// AllowQuotesInName - This is true if the assembler allows for complex
+ /// symbol names to be surrounded in quotes. This defaults to false.
+ bool AllowQuotesInName;
+
//===--- Data Emission Directives -------------------------------------===//
/// ZeroDirective - this should be set to the directive used to get some
@@ -745,6 +749,9 @@ namespace llvm {
const char *getStringConstantPrefix() const {
return StringConstantPrefix;
}
+ bool doesAllowQuotesInName() const {
+ return AllowQuotesInName;
+ }
const char *getZeroDirective() const {
return ZeroDirective;
}