Skip to content

Commit

Permalink
Revert r165652: "Remove unnecessary RTTI from the build."
Browse files Browse the repository at this point in the history
... 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
  • Loading branch information
chisophugis committed Oct 10, 2012
1 parent ef31271 commit d2139c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Support/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
3 changes: 3 additions & 0 deletions lib/Support/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions lib/VMCore/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set(LLVM_REQUIRES_RTTI 1)

add_llvm_library(LLVMCore
AsmWriter.cpp
Attributes.cpp
Expand Down
1 change: 1 addition & 0 deletions lib/VMCore/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
LEVEL = ../..
LIBRARYNAME = LLVMCore
BUILD_ARCHIVE = 1
REQUIRES_RTTI = 1

BUILT_SOURCES = $(PROJ_OBJ_ROOT)/include/llvm/Intrinsics.gen

Expand Down

0 comments on commit d2139c4

Please sign in to comment.