Revert r165652: "Remove unnecessary RTTI from the build."

... Apparently the RTTI is still necessary for some reason.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165654 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sean Silva 2012-10-10 20:50:36 +00:00
parent ef31271dc8
commit d2139c4e7a
4 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,5 @@
## FIXME: This only requires RTTI because tblgen uses it. Fix that.
set(LLVM_REQUIRES_RTTI 1)
if( MINGW )
set(LLVM_REQUIRES_EH 1)
endif()

View File

@ -11,6 +11,9 @@ LEVEL = ../..
LIBRARYNAME = LLVMSupport
BUILD_ARCHIVE = 1
## FIXME: This only requires RTTI because tblgen uses it. Fix that.
REQUIRES_RTTI = 1
EXTRA_DIST = Unix Win32 README.txt
include $(LEVEL)/Makefile.common

View File

@ -1,3 +1,5 @@
set(LLVM_REQUIRES_RTTI 1)
add_llvm_library(LLVMCore
AsmWriter.cpp
Attributes.cpp

View File

@ -9,6 +9,7 @@
LEVEL = ../..
LIBRARYNAME = LLVMCore
BUILD_ARCHIVE = 1
REQUIRES_RTTI = 1
BUILT_SOURCES = $(PROJ_OBJ_ROOT)/include/llvm/Intrinsics.gen