make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.

llvm-svn: 94378
This commit is contained in:
Chris Lattner 2010-01-24 20:43:08 +00:00
parent dec86d7337
commit 823aed16f9
86 changed files with 7 additions and 90 deletions

View File

@ -386,9 +386,9 @@ ifdef REQUIRES_FRAME_POINTER
endif endif
# If REQUIRES_RTTI=1 is specified then don't disable run-time type id. # If REQUIRES_RTTI=1 is specified then don't disable run-time type id.
ifeq ($(REQUIRES_RTTI), 1) ifneq ($(REQUIRES_RTTI), 1)
CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags)) CXX.Flags += -fno-rtti
CXXFLAGS := $(filter-out -fno-rtti,$(CXXFLAGS)) CXXFLAGS += -fno-rtti
endif endif
ifdef ENABLE_COVERAGE ifdef ENABLE_COVERAGE

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMipa LIBRARYNAME = LLVMipa
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -11,7 +11,6 @@ LEVEL = ../..
LIBRARYNAME = LLVMAnalysis LIBRARYNAME = LLVMAnalysis
DIRS = IPA DIRS = IPA
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -9,7 +9,6 @@
LEVEL = ../.. LEVEL = ../..
LIBRARYNAME = LLVMArchive LIBRARYNAME = LLVMArchive
CXXFLAGS = -fno-rtti
# We only want an archive so only those modules actually used by a tool are # We only want an archive so only those modules actually used by a tool are
# included. # included.

View File

@ -10,6 +10,5 @@
LEVEL = ../.. LEVEL = ../..
LIBRARYNAME := LLVMAsmParser LIBRARYNAME := LLVMAsmParser
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMBitReader LIBRARYNAME = LLVMBitReader
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMBitWriter LIBRARYNAME = LLVMBitWriter
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -9,6 +9,5 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMAsmPrinter LIBRARYNAME = LLVMAsmPrinter
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -11,7 +11,6 @@ LEVEL = ../..
LIBRARYNAME = LLVMCodeGen LIBRARYNAME = LLVMCodeGen
PARALLEL_DIRS = SelectionDAG AsmPrinter PARALLEL_DIRS = SelectionDAG AsmPrinter
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -9,6 +9,5 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMSelectionDAG LIBRARYNAME = LLVMSelectionDAG
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -9,6 +9,5 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMInterpreter LIBRARYNAME = LLVMInterpreter
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -9,7 +9,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMJIT LIBRARYNAME = LLVMJIT
CXXFLAGS = -fno-rtti
# Get the $(ARCH) setting # Get the $(ARCH) setting
include $(LEVEL)/Makefile.config include $(LEVEL)/Makefile.config

View File

@ -9,6 +9,5 @@
LEVEL = ../.. LEVEL = ../..
LIBRARYNAME = LLVMExecutionEngine LIBRARYNAME = LLVMExecutionEngine
PARALLEL_DIRS = Interpreter JIT PARALLEL_DIRS = Interpreter JIT
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@
LEVEL = ../.. LEVEL = ../..
LIBRARYNAME = LLVMLinker LIBRARYNAME = LLVMLinker
BUILD_ARCHIVE := 1 BUILD_ARCHIVE := 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMMCParser LIBRARYNAME = LLVMMCParser
BUILD_ARCHIVE := 1 BUILD_ARCHIVE := 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -11,7 +11,6 @@ LEVEL = ../..
LIBRARYNAME = LLVMMC LIBRARYNAME = LLVMMC
BUILD_ARCHIVE := 1 BUILD_ARCHIVE := 1
PARALLEL_DIRS := MCParser PARALLEL_DIRS := MCParser
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMARMAsmParser LIBRARYNAME = LLVMARMAsmParser
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' ARM target directory to grab private headers # Hack: we need to include 'main' ARM target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMARMAsmPrinter LIBRARYNAME = LLVMARMAsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' arm target directory to grab private headers # Hack: we need to include 'main' arm target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMARMCodeGen LIBRARYNAME = LLVMARMCodeGen
TARGET = ARM TARGET = ARM
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = ARMGenRegisterInfo.h.inc ARMGenRegisterNames.inc \ BUILT_SOURCES = ARMGenRegisterInfo.h.inc ARMGenRegisterNames.inc \

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMARMInfo LIBRARYNAME = LLVMARMInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMAlphaAsmPrinter LIBRARYNAME = LLVMAlphaAsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' alpha target directory to grab private headers # Hack: we need to include 'main' alpha target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMAlphaCodeGen LIBRARYNAME = LLVMAlphaCodeGen
TARGET = Alpha TARGET = Alpha
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = AlphaGenRegisterInfo.h.inc AlphaGenRegisterNames.inc \ BUILT_SOURCES = AlphaGenRegisterInfo.h.inc AlphaGenRegisterNames.inc \

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMAlphaInfo LIBRARYNAME = LLVMAlphaInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMBlackfinAsmPrinter LIBRARYNAME = LLVMBlackfinAsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' Blackfin target directory to grab private # Hack: we need to include 'main' Blackfin target directory to grab private
# headers # headers

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMBlackfinCodeGen LIBRARYNAME = LLVMBlackfinCodeGen
TARGET = Blackfin TARGET = Blackfin
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = BlackfinGenRegisterInfo.h.inc BlackfinGenRegisterNames.inc \ BUILT_SOURCES = BlackfinGenRegisterInfo.h.inc BlackfinGenRegisterNames.inc \

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMBlackfinInfo LIBRARYNAME = LLVMBlackfinInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -9,8 +9,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMCBackend LIBRARYNAME = LLVMCBackend
CXXFLAGS = -fno-rtti
DIRS = TargetInfo DIRS = TargetInfo
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMCBackendInfo LIBRARYNAME = LLVMCBackendInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -9,7 +9,6 @@
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMCellSPUAsmPrinter LIBRARYNAME = LLVMCellSPUAsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' CellSPU target directory to grab # Hack: we need to include 'main' CellSPU target directory to grab
# private headers # private headers

View File

@ -10,8 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMCellSPUCodeGen LIBRARYNAME = LLVMCellSPUCodeGen
TARGET = SPU TARGET = SPU
CXXFLAGS = -fno-rtti
BUILT_SOURCES = SPUGenInstrNames.inc SPUGenRegisterNames.inc \ BUILT_SOURCES = SPUGenInstrNames.inc SPUGenRegisterNames.inc \
SPUGenAsmWriter.inc SPUGenCodeEmitter.inc \ SPUGenAsmWriter.inc SPUGenCodeEmitter.inc \
SPUGenRegisterInfo.h.inc SPUGenRegisterInfo.inc \ SPUGenRegisterInfo.h.inc SPUGenRegisterInfo.inc \

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMCellSPUInfo LIBRARYNAME = LLVMCellSPUInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -9,8 +9,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMCppBackend LIBRARYNAME = LLVMCppBackend
CXXFLAGS = -fno-rtti
DIRS = TargetInfo DIRS = TargetInfo
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMCppBackendInfo LIBRARYNAME = LLVMCppBackendInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -9,8 +9,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMMSIL LIBRARYNAME = LLVMMSIL
CXXFLAGS = -fno-rtti
DIRS = TargetInfo DIRS = TargetInfo
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMMSILInfo LIBRARYNAME = LLVMMSILInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMMSP430AsmPrinter LIBRARYNAME = LLVMMSP430AsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' MSP430 target directory to grab private headers # Hack: we need to include 'main' MSP430 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMMSP430CodeGen LIBRARYNAME = LLVMMSP430CodeGen
TARGET = MSP430 TARGET = MSP430
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = MSP430GenRegisterInfo.h.inc MSP430GenRegisterNames.inc \ BUILT_SOURCES = MSP430GenRegisterInfo.h.inc MSP430GenRegisterNames.inc \

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMMSP430Info LIBRARYNAME = LLVMMSP430Info
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../.. LEVEL = ../..
LIBRARYNAME = LLVMTarget LIBRARYNAME = LLVMTarget
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
# We include this early so we can access the value of TARGETS_TO_BUILD as the # We include this early so we can access the value of TARGETS_TO_BUILD as the
# value for PARALLEL_DIRS which must be set before Makefile.rules is included # value for PARALLEL_DIRS which must be set before Makefile.rules is included

View File

@ -9,7 +9,6 @@
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMMipsAsmPrinter LIBRARYNAME = LLVMMipsAsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' Mips target directory to grab # Hack: we need to include 'main' Mips target directory to grab
# private headers # private headers

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMMipsCodeGen LIBRARYNAME = LLVMMipsCodeGen
TARGET = Mips TARGET = Mips
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = MipsGenRegisterInfo.h.inc MipsGenRegisterNames.inc \ BUILT_SOURCES = MipsGenRegisterInfo.h.inc MipsGenRegisterNames.inc \

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMMipsInfo LIBRARYNAME = LLVMMipsInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMPIC16AsmPrinter LIBRARYNAME = LLVMPIC16AsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' pic16 target directory to grab private headers # Hack: we need to include 'main' pic16 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMPIC16CodeGen LIBRARYNAME = LLVMPIC16CodeGen
TARGET = PIC16 TARGET = PIC16
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = PIC16GenRegisterInfo.h.inc PIC16GenRegisterNames.inc \ BUILT_SOURCES = PIC16GenRegisterInfo.h.inc PIC16GenRegisterNames.inc \

View File

@ -10,7 +10,6 @@ LEVEL = ../../../..
TARGET = PIC16 TARGET = PIC16
LIBRARYNAME = LLVMpic16passes LIBRARYNAME = LLVMpic16passes
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMPIC16Info LIBRARYNAME = LLVMPIC16Info
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMPowerPCAsmPrinter LIBRARYNAME = LLVMPowerPCAsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' PowerPC target directory to grab private headers # Hack: we need to include 'main' PowerPC target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMPowerPCCodeGen LIBRARYNAME = LLVMPowerPCCodeGen
TARGET = PPC TARGET = PPC
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = PPCGenInstrNames.inc PPCGenRegisterNames.inc \ BUILT_SOURCES = PPCGenInstrNames.inc PPCGenRegisterNames.inc \

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMPowerPCInfo LIBRARYNAME = LLVMPowerPCInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,8 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMSparcAsmPrinter LIBRARYNAME = LLVMSparcAsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' Sparc target directory to grab private headers # Hack: we need to include 'main' Sparc target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMSparcCodeGen LIBRARYNAME = LLVMSparcCodeGen
TARGET = Sparc TARGET = Sparc
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = SparcGenRegisterInfo.h.inc SparcGenRegisterNames.inc \ BUILT_SOURCES = SparcGenRegisterInfo.h.inc SparcGenRegisterNames.inc \

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMSparcInfo LIBRARYNAME = LLVMSparcInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMSystemZAsmPrinter LIBRARYNAME = LLVMSystemZAsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' SystemZ target directory to grab private headers # Hack: we need to include 'main' SystemZ target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMSystemZCodeGen LIBRARYNAME = LLVMSystemZCodeGen
TARGET = SystemZ TARGET = SystemZ
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = SystemZGenRegisterInfo.h.inc SystemZGenRegisterNames.inc \ BUILT_SOURCES = SystemZGenRegisterInfo.h.inc SystemZGenRegisterNames.inc \

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMSystemZInfo LIBRARYNAME = LLVMSystemZInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMX86AsmParser LIBRARYNAME = LLVMX86AsmParser
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' x86 target directory to grab private headers # Hack: we need to include 'main' x86 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMX86AsmPrinter LIBRARYNAME = LLVMX86AsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' x86 target directory to grab private headers # Hack: we need to include 'main' x86 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -9,7 +9,6 @@
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMX86Disassembler LIBRARYNAME = LLVMX86Disassembler
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' x86 target directory to grab private headers # Hack: we need to include 'main' x86 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMX86CodeGen LIBRARYNAME = LLVMX86CodeGen
TARGET = X86 TARGET = X86
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \ BUILT_SOURCES = X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \

View File

@ -9,7 +9,6 @@
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMX86Info LIBRARYNAME = LLVMX86Info
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -9,7 +9,6 @@
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMXCoreAsmPrinter LIBRARYNAME = LLVMXCoreAsmPrinter
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' XCore target directory to grab private headers # Hack: we need to include 'main' XCore target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMXCoreCodeGen LIBRARYNAME = LLVMXCoreCodeGen
TARGET = XCore TARGET = XCore
CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing. # Make sure that tblgen is run, first thing.
BUILT_SOURCES = XCoreGenRegisterInfo.h.inc XCoreGenRegisterNames.inc \ BUILT_SOURCES = XCoreGenRegisterInfo.h.inc XCoreGenRegisterNames.inc \

View File

@ -9,7 +9,6 @@
LEVEL = ../../../.. LEVEL = ../../../..
LIBRARYNAME = LLVMXCoreInfo LIBRARYNAME = LLVMXCoreInfo
CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..

View File

@ -11,7 +11,6 @@ LEVEL = ../../..
LIBRARYNAME = LLVMHello LIBRARYNAME = LLVMHello
LOADABLE_MODULE = 1 LOADABLE_MODULE = 1
USEDLIBS = USEDLIBS =
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMipo LIBRARYNAME = LLVMipo
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMInstCombine LIBRARYNAME = LLVMInstCombine
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMInstrumentation LIBRARYNAME = LLVMInstrumentation
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMScalarOpts LIBRARYNAME = LLVMScalarOpts
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@
LEVEL = ../../.. LEVEL = ../../..
LIBRARYNAME = LLVMTransformUtils LIBRARYNAME = LLVMTransformUtils
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -19,7 +19,6 @@ LINK_LIBS_IN_SHARED=1
SHARED_LIBRARY = 1 SHARED_LIBRARY = 1
BUILD_ARCHIVE = 0 BUILD_ARCHIVE = 0
LOADABLE_MODULE = 1 LOADABLE_MODULE = 1
CXXFLAGS = -fno-rtti
LINK_COMPONENTS := support system LINK_COMPONENTS := support system
LIBS += -llto LIBS += -llto

View File

@ -9,7 +9,6 @@
LEVEL = ../.. LEVEL = ../..
TOOLNAME = llc TOOLNAME = llc
CXXFLAGS = -fno-rtti
# Include this here so we can get the configuration of the targets # Include this here so we can get the configuration of the targets
# that have been configured for construction. We have to do this # that have been configured for construction. We have to do this

View File

@ -9,7 +9,6 @@
LEVEL := ../.. LEVEL := ../..
TOOLNAME := lli TOOLNAME := lli
CXXFLAGS = -fno-rtti
LINK_COMPONENTS := jit interpreter nativecodegen bitreader selectiondag LINK_COMPONENTS := jit interpreter nativecodegen bitreader selectiondag
# Enable JIT support # Enable JIT support

View File

@ -11,7 +11,6 @@ LEVEL = ../..
TOOLNAME = llvm-ar TOOLNAME = llvm-ar
LINK_COMPONENTS = archive LINK_COMPONENTS = archive
REQUIRES_EH := 1 REQUIRES_EH := 1
#CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time. # This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1 TOOL_NO_EXPORTS = 1

View File

@ -10,7 +10,6 @@
LEVEL = ../.. LEVEL = ../..
TOOLNAME = llvm-as TOOLNAME = llvm-as
LINK_COMPONENTS := asmparser bitwriter LINK_COMPONENTS := asmparser bitwriter
CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time. # This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1 TOOL_NO_EXPORTS = 1

View File

@ -10,7 +10,6 @@ LEVEL = ../..
TOOLNAME = llvm-dis TOOLNAME = llvm-dis
LINK_COMPONENTS := bitreader LINK_COMPONENTS := bitreader
CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time. # This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1 TOOL_NO_EXPORTS = 1

View File

@ -11,7 +11,6 @@ LEVEL = ../..
TOOLNAME = llvm-extract TOOLNAME = llvm-extract
LINK_COMPONENTS := ipo bitreader bitwriter asmparser LINK_COMPONENTS := ipo bitreader bitwriter asmparser
CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time. # This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1 TOOL_NO_EXPORTS = 1

View File

@ -11,6 +11,5 @@ LEVEL = ../..
TOOLNAME = llvm-ld TOOLNAME = llvm-ld
LINK_COMPONENTS = ipo scalaropts linker archive bitwriter LINK_COMPONENTS = ipo scalaropts linker archive bitwriter
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@ LEVEL = ../..
TOOLNAME = llvm-link TOOLNAME = llvm-link
LINK_COMPONENTS = linker bitreader bitwriter asmparser LINK_COMPONENTS = linker bitreader bitwriter asmparser
CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time. # This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1 TOOL_NO_EXPORTS = 1

View File

@ -13,7 +13,6 @@ TOOLNAME = llvm-mc
# This tool has no plugins, optimize startup time. # This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1 TOOL_NO_EXPORTS = 1
NO_INSTALL = 1 NO_INSTALL = 1
CXXFLAGS = -fno-rtti
# Include this here so we can get the configuration of the targets # Include this here so we can get the configuration of the targets
# that have been configured for construction. We have to do this # that have been configured for construction. We have to do this

View File

@ -13,6 +13,5 @@ LINK_COMPONENTS = archive bitreader
# This tool has no plugins, optimize startup time. # This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1 TOOL_NO_EXPORTS = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -13,6 +13,5 @@ LINK_COMPONENTS = bitreader analysis
# This tool has no plugins, optimize startup time. # This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1 TOOL_NO_EXPORTS = 1
CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

View File

@ -17,7 +17,6 @@ include $(LEVEL)/Makefile.config
LINK_LIBS_IN_SHARED = 1 LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1 SHARED_LIBRARY = 1
CXXFLAGS = -fno-rtti
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter

View File

@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../.. LEVEL = ../..
TOOLNAME = opt TOOLNAME = opt
CXXFLAGS = -fno-rtti
LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo

View File

@ -14,6 +14,8 @@
# Set up variables for building a unit test. # Set up variables for building a unit test.
ifdef TESTNAME ifdef TESTNAME
REQUIRES_RTTI = 1
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common
LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT) LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT)

View File

@ -13,6 +13,7 @@ include $(LEVEL)/Makefile.config
LIBRARYNAME = UnitTestMain LIBRARYNAME = UnitTestMain
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
REQUIRES_RTTI = 1
CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include
CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS) CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS)

View File

@ -13,6 +13,7 @@ include $(LEVEL)/Makefile.config
LIBRARYNAME = GoogleTest LIBRARYNAME = GoogleTest
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
REQUIRES_RTTI = 1
CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include
CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS) CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS)