From: Sean Silva Date: Wed, 10 Oct 2012 20:27:18 +0000 (+0000) Subject: tblgen: Compile TableGen without RTTI. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fff8287f10fe6cec945c3932025ed454a5c3476c;p=oota-llvm.git tblgen: Compile TableGen without RTTI. TableGen no longer needs RTTI! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165651 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/TableGen/CMakeLists.txt b/lib/TableGen/CMakeLists.txt index 28240f4a673..4f64eb4ff24 100644 --- a/lib/TableGen/CMakeLists.txt +++ b/lib/TableGen/CMakeLists.txt @@ -1,5 +1,3 @@ -## FIXME: This only requires RTTI because tblgen uses it. Fix that. -set(LLVM_REQUIRES_RTTI 1) set(LLVM_REQUIRES_EH 1) add_llvm_library(LLVMTableGen diff --git a/lib/TableGen/Makefile b/lib/TableGen/Makefile index 44724389e1d..732d8a197ee 100644 --- a/lib/TableGen/Makefile +++ b/lib/TableGen/Makefile @@ -11,8 +11,6 @@ LEVEL = ../.. LIBRARYNAME = LLVMTableGen BUILD_ARCHIVE = 1 -## FIXME: This only requires RTTI because tblgen uses it. Fix that. -REQUIRES_RTTI = 1 REQUIRES_EH = 1 include $(LEVEL)/Makefile.common diff --git a/utils/TableGen/CMakeLists.txt b/utils/TableGen/CMakeLists.txt index 0e14cbae38a..b8a6daf9e03 100644 --- a/utils/TableGen/CMakeLists.txt +++ b/utils/TableGen/CMakeLists.txt @@ -1,5 +1,4 @@ set(LLVM_REQUIRES_EH 1) -set(LLVM_REQUIRES_RTTI 1) set(LLVM_LINK_COMPONENTS Support) add_tablegen(llvm-tblgen LLVM diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile index 0c4619d1a25..bdf0ba01fbf 100644 --- a/utils/TableGen/Makefile +++ b/utils/TableGen/Makefile @@ -11,7 +11,6 @@ LEVEL = ../.. TOOLNAME = llvm-tblgen USEDLIBS = LLVMTableGen.a LLVMSupport.a REQUIRES_EH := 1 -REQUIRES_RTTI := 1 # This tool has no plugins, optimize startup time. TOOL_NO_EXPORTS = 1