diff options
| author | Reid Kleckner <reid@kleckner.net> | 2015-03-03 19:21:04 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2015-03-03 19:21:04 +0000 |
| commit | fff8e7f6ba1e05d4c45df6923609a73e0300db1f (patch) | |
| tree | ba080c0ecf6356ec5adc3c2f523421a7b4b553ab /clang/lib/CodeGen/CodeGenModule.h | |
| parent | 5b240485b73db875dca0fd24e13c6485bbad3444 (diff) | |
| download | bcm5719-llvm-fff8e7f6ba1e05d4c45df6923609a73e0300db1f.tar.gz bcm5719-llvm-fff8e7f6ba1e05d4c45df6923609a73e0300db1f.zip | |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 6902d1917a6..a82f0734dd4 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, |

