aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-05-19 21:38:18 +0000
committerDale Johannesen <dalej@apple.com>2008-05-19 21:38:18 +0000
commitc215b3ef5d9627f5fb6fe9034e46bc29ae592916 (patch)
tree4c9eed2f1deea199d388cce1b02a4b3e081a71cf /include
parent7be1c454c96dc5fa41ac10d014f76350df94f9cf (diff)
downloadexternal_llvm-c215b3ef5d9627f5fb6fe9034e46bc29ae592916.zip
external_llvm-c215b3ef5d9627f5fb6fe9034e46bc29ae592916.tar.gz
external_llvm-c215b3ef5d9627f5fb6fe9034e46bc29ae592916.tar.bz2
Handle quoted names when constructing $stub's,
$non_lazy_ptr's and $lazy_ptr's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index ddd9162..dd42ce1 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -348,6 +348,11 @@ namespace llvm {
/// specified type.
void printDataDirective(const Type *type);
+ /// printSuffixedName - This prints a name with preceding
+ /// getPrivateGlobalPrefix and the specified suffix, handling quoted names
+ /// correctly.
+ void printSuffixedName(std::string &Name, const char* Suffix);
+
private:
void EmitLLVMUsedList(Constant *List);
void EmitXXStructorList(Constant *List);