aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-03-03 19:21:04 +0000
committerReid Kleckner <reid@kleckner.net>2015-03-03 19:21:04 +0000
commitfff8e7f6ba1e05d4c45df6923609a73e0300db1f (patch)
treeba080c0ecf6356ec5adc3c2f523421a7b4b553ab /clang/lib/CodeGen/CodeGenModule.h
parent5b240485b73db875dca0fd24e13c6485bbad3444 (diff)
downloadllvm-fff8e7f6ba1e05d4c45df6923609a73e0300db1f.zip
llvm-fff8e7f6ba1e05d4c45df6923609a73e0300db1f.tar.gz
llvm-fff8e7f6ba1e05d4c45df6923609a73e0300db1f.tar.bz2
Split catch IRgen into ItaniumCXXABI and MicrosoftCXXABI
Use llvm.eh.begincatch for Microsoft-style catches. This moves lots of CGException code into ItaniumCXXABI. Sorry for the blame pain. llvm-svn: 231105
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 6902d19..a82f073 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1108,6 +1108,9 @@ public:
void EmitVTableBitSetEntries(llvm::GlobalVariable *VTable,
const VTableLayout &VTLayout);
+ /// \breif Get the declaration of std::terminate for the platform.
+ llvm::Constant *getTerminateFn();
+
private:
llvm::Constant *
GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl D,