[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
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user