diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-03-29 21:55:10 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-03-29 21:55:10 +0000 |
commit | 37b417f1edccd05248a0e235a58987daa15e88c5 (patch) | |
tree | c4d614a8b29f0aa44bd6bb74be3d0da6583570aa /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 273957116887aa34b0a517cb90151458023c4ec3 (diff) | |
download | llvm-37b417f1edccd05248a0e235a58987daa15e88c5.zip llvm-37b417f1edccd05248a0e235a58987daa15e88c5.tar.gz llvm-37b417f1edccd05248a0e235a58987daa15e88c5.tar.bz2 |
[MS ABI] Rework .xdata HandlerType emission
Utilizing IMAGEREL relocations for synthetic IR constructs isn't
valuable, just clutter. While we are here, simplify HandlerType names
by making the numeric value for the 'adjective' part of the mangled name
instead of appending '.const', etc. The old scheme made for very long
global names and leads to wordy things like '.std_bad_alloc'
llvm-svn: 233503
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index f4ae684..ae511ae 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -3638,9 +3638,9 @@ llvm::Constant *CodeGenModule::EmitUuidofInitializer(StringRef Uuid) { } llvm::Constant * -CodeGenModule::getAddrOfCXXHandlerMapEntry(QualType Ty, - QualType CatchHandlerType) { - return getCXXABI().getAddrOfCXXHandlerMapEntry(Ty, CatchHandlerType); +CodeGenModule::getAddrOfCXXCatchHandlerType(QualType Ty, + QualType CatchHandlerType) { + return getCXXABI().getAddrOfCXXCatchHandlerType(Ty, CatchHandlerType); } llvm::Constant *CodeGenModule::GetAddrOfRTTIDescriptor(QualType Ty, |