aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Mangle.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-09-08 01:44:27 +0000
committerJohn McCall <rjmccall@apple.com>2010-09-08 01:44:27 +0000
commit5cd91b513455fd7753e8815b54f0a49bbca6602d (patch)
treee2aec9abdce6a7183211e487e100a98b172c14c4 /lib/CodeGen/Mangle.h
parent607a1788d9529c8e8494ac528764aa2c678a1a97 (diff)
Implement ARM static local initialization guards, which are more compact than
Itanium guards and use a slightly different compiled-in API. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.h')
-rw-r--r--lib/CodeGen/Mangle.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/Mangle.h b/lib/CodeGen/Mangle.h
index 139f6c0377..402a9b8cc3 100644
--- a/lib/CodeGen/Mangle.h
+++ b/lib/CodeGen/Mangle.h
@@ -119,8 +119,6 @@ public:
virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type,
const ThisAdjustment &ThisAdjustment,
llvm::SmallVectorImpl<char> &);
- virtual void mangleGuardVariable(const VarDecl *D,
- llvm::SmallVectorImpl<char> &);
virtual void mangleReferenceTemporary(const VarDecl *D,
llvm::SmallVectorImpl<char> &);
virtual void mangleCXXVTable(const CXXRecordDecl *RD,
@@ -139,6 +137,10 @@ public:
void mangleBlock(GlobalDecl GD,
const BlockDecl *BD, llvm::SmallVectorImpl<char> &);
+ // This is pretty lame.
+ void mangleItaniumGuardVariable(const VarDecl *D,
+ llvm::SmallVectorImpl<char> &);
+
void mangleInitDiscriminator() {
Discriminator = 0;
}