forked from OSchip/llvm-project
parent
4a609f3cef
commit
82d25e4e5e
|
@ -52,6 +52,7 @@ namespace {
|
|||
void mangleGuardVariable(const VarDecl *D);
|
||||
|
||||
void mangleCXXVtable(const CXXRecordDecl *RD);
|
||||
void mangleCXXVTT(const CXXRecordDecl *RD);
|
||||
void mangleCXXRtti(const CXXRecordDecl *RD);
|
||||
void mangleCXXCtor(const CXXConstructorDecl *D, CXXCtorType Type);
|
||||
void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type);
|
||||
|
@ -204,6 +205,12 @@ void CXXNameMangler::mangleCXXVtable(const CXXRecordDecl *RD) {
|
|||
mangleName(RD);
|
||||
}
|
||||
|
||||
void CXXNameMangler::mangleCXXVTT(const CXXRecordDecl *RD) {
|
||||
// <special-name> ::= TT <type> # VTT structure
|
||||
Out << "_ZTT";
|
||||
mangleName(RD);
|
||||
}
|
||||
|
||||
void CXXNameMangler::mangleCXXRtti(const CXXRecordDecl *RD) {
|
||||
// <special-name> ::= TI <type> # typeinfo structure
|
||||
Out << "_ZTI";
|
||||
|
|
|
@ -65,6 +65,8 @@ namespace clang {
|
|||
llvm::raw_ostream &os);
|
||||
void mangleCXXVtable(MangleContext &Context, const CXXRecordDecl *RD,
|
||||
llvm::raw_ostream &os);
|
||||
void mangleCXXVTT(MangleContext &Context, const CXXRecordDecl *RD,
|
||||
llvm::raw_ostream &os);
|
||||
void mangleCXXRtti(MangleContext &Context, const CXXRecordDecl *RD,
|
||||
llvm::raw_ostream &os);
|
||||
void mangleCXXCtor(MangleContext &Context, const CXXConstructorDecl *D,
|
||||
|
|
Loading…
Reference in New Issue