summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-22 06:49:46 +0000
committerChris Lattner <sabre@nondot.org>2010-01-22 06:49:46 +0000
commit7ba0661f270219546aa3729fc676112a754d0b3a (patch)
tree24f286835f3eeee18aa4cd2eac1ef584ae1bfc1b /llvm/lib/Target/ARM
parent9eb76d47f248ea89b4b3c8af7f255a9a6b34ba64 (diff)
downloadbcm5719-llvm-7ba0661f270219546aa3729fc676112a754d0b3a.tar.gz
bcm5719-llvm-7ba0661f270219546aa3729fc676112a754d0b3a.zip
Stop building RTTI information for *most* llvm libraries. Notable
missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/AsmParser/Makefile1
-rw-r--r--llvm/lib/Target/ARM/AsmPrinter/Makefile1
-rw-r--r--llvm/lib/Target/ARM/Makefile1
-rw-r--r--llvm/lib/Target/ARM/TargetInfo/Makefile1
4 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/Makefile b/llvm/lib/Target/ARM/AsmParser/Makefile
index 97e56126d8e..4fb8564dd64 100644
--- a/llvm/lib/Target/ARM/AsmParser/Makefile
+++ b/llvm/lib/Target/ARM/AsmParser/Makefile
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMARMAsmParser
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' ARM target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
diff --git a/llvm/lib/Target/ARM/AsmPrinter/Makefile b/llvm/lib/Target/ARM/AsmPrinter/Makefile
index 208beccce8a..93b8fc92185 100644
--- a/llvm/lib/Target/ARM/AsmPrinter/Makefile
+++ b/llvm/lib/Target/ARM/AsmPrinter/Makefile
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMARMAsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' arm target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
diff --git a/llvm/lib/Target/ARM/Makefile b/llvm/lib/Target/ARM/Makefile
index a8dd38cb362..b766a868569 100644
--- a/llvm/lib/Target/ARM/Makefile
+++ b/llvm/lib/Target/ARM/Makefile
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMARMCodeGen
TARGET = ARM
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = ARMGenRegisterInfo.h.inc ARMGenRegisterNames.inc \
diff --git a/llvm/lib/Target/ARM/TargetInfo/Makefile b/llvm/lib/Target/ARM/TargetInfo/Makefile
index 6292ab14b34..589dbe5f89f 100644
--- a/llvm/lib/Target/ARM/TargetInfo/Makefile
+++ b/llvm/lib/Target/ARM/TargetInfo/Makefile
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMARMInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
OpenPOWER on IntegriCloud