diff options
author | John McCall <rjmccall@apple.com> | 2010-04-30 01:15:21 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-04-30 01:15:21 +0000 |
commit | 9dffe6f51c676c1e423c382c62d1648746e36cd4 (patch) | |
tree | c8adff3cf1b047dd67d3e2ba538365d9d0686c38 /lib/CodeGen/CodeGenModule.h | |
parent | 0d0db2ff77b33a2f2a3fde6b1cae16ebc5d7c33f (diff) |
Fix -fno-rtti -fexceptions by forcing the emission of (non-"builtin") RTTI
when used by the exceptions routines. Fixes PR 6974.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index aa30635bfa..93d8ddf3e4 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -232,7 +232,7 @@ public: /// GetAddrOfRTTIDescriptor - Get the address of the RTTI descriptor /// for the given type. - llvm::Constant *GetAddrOfRTTIDescriptor(QualType Ty); + llvm::Constant *GetAddrOfRTTIDescriptor(QualType Ty, bool ForEH = false); /// GetAddrOfThunk - Get the address of the thunk for the given global decl. llvm::Constant *GetAddrOfThunk(GlobalDecl GD, const ThunkInfo &Thunk); |