diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-06-18 23:41:35 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-06-18 23:41:35 +0000 |
| commit | a93ca92379129e87e0130609ac78422fcf6dd21e (patch) | |
| tree | 6ef33f510f42c2929afc99804f0195ebd521de2f /include/llvm/Target | |
| parent | 7e816dc175477479748048bf2f40da7f54e07888 (diff) | |
| download | external_llvm-a93ca92379129e87e0130609ac78422fcf6dd21e.zip external_llvm-a93ca92379129e87e0130609ac78422fcf6dd21e.tar.gz external_llvm-a93ca92379129e87e0130609ac78422fcf6dd21e.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/llvm/Target')
| -rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 7 |
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; } |
