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
Showing
- lib/CodeGen/CGException.cpp 3 additions, 3 deletionslib/CodeGen/CGException.cpp
- lib/CodeGen/CGRTTI.cpp 19 additions, 7 deletionslib/CodeGen/CGRTTI.cpp
- lib/CodeGen/CodeGenModule.h 1 addition, 1 deletionlib/CodeGen/CodeGenModule.h
- test/CodeGenCXX/exceptions-no-rtti.cpp 48 additions, 0 deletionstest/CodeGenCXX/exceptions-no-rtti.cpp
Loading
Please register or sign in to comment