[llvm-commits] [llvm] r94164 - in /llvm/trunk: include/llvm-c/ lib/Analysis/ lib/Analysis/IPA/ lib/Archive/ lib/AsmParser/ lib/Bitcode/Reader/ lib/Bitcode/Writer/ lib/CodeGen/ lib/CodeGen/AsmPrinter/ lib/CodeGen/SelectionDAG/ lib/ExecutionEngine/ lib/ExecutionEngine/Interpreter/ lib/ExecutionEngine/JIT/ lib/Linker/ lib/MC/ lib/MC/MCParser/ lib/Target/ lib/Target/ARM/ lib/Target/ARM/AsmParser/ lib/Target/ARM/AsmPrinter/ lib/Target/ARM/TargetInfo/ lib/Target/Alpha/ lib/Target/Alpha/AsmPrinter/ lib/Target/Alpha/TargetInfo...
Chris Lattner
sabre at nondot.org
Thu Jan 21 22:49:47 PST 2010
Author: lattner
Date: Fri Jan 22 00:49:46 2010
New Revision: 94164
URL: http://llvm.org/viewvc/llvm-project?rev=94164&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm-c/Core.h
llvm/trunk/lib/Analysis/IPA/Makefile
llvm/trunk/lib/Analysis/Makefile
llvm/trunk/lib/Archive/Makefile
llvm/trunk/lib/AsmParser/Makefile
llvm/trunk/lib/Bitcode/Reader/Makefile
llvm/trunk/lib/Bitcode/Writer/Makefile
llvm/trunk/lib/CodeGen/AsmPrinter/Makefile
llvm/trunk/lib/CodeGen/Makefile
llvm/trunk/lib/CodeGen/SelectionDAG/Makefile
llvm/trunk/lib/ExecutionEngine/Interpreter/Makefile
llvm/trunk/lib/ExecutionEngine/JIT/Makefile
llvm/trunk/lib/ExecutionEngine/Makefile
llvm/trunk/lib/Linker/Makefile
llvm/trunk/lib/MC/MCParser/Makefile
llvm/trunk/lib/MC/Makefile
llvm/trunk/lib/Target/ARM/AsmParser/Makefile
llvm/trunk/lib/Target/ARM/AsmPrinter/Makefile
llvm/trunk/lib/Target/ARM/Makefile
llvm/trunk/lib/Target/ARM/TargetInfo/Makefile
llvm/trunk/lib/Target/Alpha/AsmPrinter/Makefile
llvm/trunk/lib/Target/Alpha/Makefile
llvm/trunk/lib/Target/Alpha/TargetInfo/Makefile
llvm/trunk/lib/Target/Blackfin/AsmPrinter/Makefile
llvm/trunk/lib/Target/Blackfin/Makefile
llvm/trunk/lib/Target/Blackfin/TargetInfo/Makefile
llvm/trunk/lib/Target/CBackend/Makefile
llvm/trunk/lib/Target/CBackend/TargetInfo/Makefile
llvm/trunk/lib/Target/CellSPU/AsmPrinter/Makefile
llvm/trunk/lib/Target/CellSPU/Makefile
llvm/trunk/lib/Target/CellSPU/TargetInfo/Makefile
llvm/trunk/lib/Target/CppBackend/Makefile
llvm/trunk/lib/Target/CppBackend/TargetInfo/Makefile
llvm/trunk/lib/Target/MSIL/Makefile
llvm/trunk/lib/Target/MSIL/TargetInfo/Makefile
llvm/trunk/lib/Target/MSP430/AsmPrinter/Makefile
llvm/trunk/lib/Target/MSP430/Makefile
llvm/trunk/lib/Target/MSP430/TargetInfo/Makefile
llvm/trunk/lib/Target/Makefile
llvm/trunk/lib/Target/Mips/AsmPrinter/Makefile
llvm/trunk/lib/Target/Mips/Makefile
llvm/trunk/lib/Target/Mips/TargetInfo/Makefile
llvm/trunk/lib/Target/PIC16/AsmPrinter/Makefile
llvm/trunk/lib/Target/PIC16/Makefile
llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile
llvm/trunk/lib/Target/PIC16/TargetInfo/Makefile
llvm/trunk/lib/Target/PowerPC/AsmPrinter/Makefile
llvm/trunk/lib/Target/PowerPC/Makefile
llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile
llvm/trunk/lib/Target/Sparc/AsmPrinter/Makefile
llvm/trunk/lib/Target/Sparc/Makefile
llvm/trunk/lib/Target/Sparc/TargetInfo/Makefile
llvm/trunk/lib/Target/SystemZ/AsmPrinter/Makefile
llvm/trunk/lib/Target/SystemZ/Makefile
llvm/trunk/lib/Target/SystemZ/TargetInfo/Makefile
llvm/trunk/lib/Target/X86/AsmParser/Makefile
llvm/trunk/lib/Target/X86/AsmPrinter/Makefile
llvm/trunk/lib/Target/X86/Disassembler/Makefile
llvm/trunk/lib/Target/X86/Makefile
llvm/trunk/lib/Target/X86/TargetInfo/Makefile
llvm/trunk/lib/Target/XCore/AsmPrinter/Makefile
llvm/trunk/lib/Target/XCore/Makefile
llvm/trunk/lib/Target/XCore/TargetInfo/Makefile
llvm/trunk/lib/Transforms/Hello/Makefile
llvm/trunk/lib/Transforms/IPO/Makefile
llvm/trunk/lib/Transforms/InstCombine/Makefile
llvm/trunk/lib/Transforms/Instrumentation/Makefile
llvm/trunk/lib/Transforms/Scalar/Makefile
llvm/trunk/lib/Transforms/Utils/Makefile
llvm/trunk/lib/VMCore/Makefile
llvm/trunk/tools/gold/Makefile
llvm/trunk/tools/llc/Makefile
llvm/trunk/tools/lli/Makefile
llvm/trunk/tools/llvm-ar/Makefile
llvm/trunk/tools/llvm-as/Makefile
llvm/trunk/tools/llvm-bcanalyzer/Makefile
llvm/trunk/tools/llvm-config/Makefile
llvm/trunk/tools/llvm-dis/Makefile
llvm/trunk/tools/llvm-extract/Makefile
llvm/trunk/tools/llvm-ld/Makefile
llvm/trunk/tools/llvm-link/Makefile
llvm/trunk/tools/llvm-mc/Makefile
llvm/trunk/tools/llvm-nm/Makefile
llvm/trunk/tools/llvm-prof/Makefile
llvm/trunk/tools/lto/Makefile
llvm/trunk/tools/opt/Makefile
llvm/trunk/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp
llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
llvm/trunk/unittests/VMCore/PassManagerTest.cpp
Modified: llvm/trunk/include/llvm-c/Core.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Core.h (original)
+++ llvm/trunk/include/llvm-c/Core.h Fri Jan 22 00:49:46 2010
@@ -1007,7 +1007,7 @@
\
template<typename T> \
inline T *unwrap(ref P) { \
- T *Q = dynamic_cast<T*>(unwrap(P)); \
+ T *Q = (T*)unwrap(P); \
assert(Q && "Invalid cast!"); \
return Q; \
}
Modified: llvm/trunk/lib/Analysis/IPA/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IPA/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IPA/Makefile (original)
+++ llvm/trunk/lib/Analysis/IPA/Makefile Fri Jan 22 00:49:46 2010
@@ -10,5 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMipa
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
+
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Analysis/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/Makefile (original)
+++ llvm/trunk/lib/Analysis/Makefile Fri Jan 22 00:49:46 2010
@@ -11,6 +11,7 @@
LIBRARYNAME = LLVMAnalysis
DIRS = IPA
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Archive/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Archive/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Archive/Makefile (original)
+++ llvm/trunk/lib/Archive/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../..
LIBRARYNAME = LLVMArchive
+CXXFLAGS = -fno-rtti
# We only want an archive so only those modules actually used by a tool are
# included.
Modified: llvm/trunk/lib/AsmParser/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/Makefile (original)
+++ llvm/trunk/lib/AsmParser/Makefile Fri Jan 22 00:49:46 2010
@@ -10,5 +10,6 @@
LEVEL = ../..
LIBRARYNAME := LLVMAsmParser
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Bitcode/Reader/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Reader/Makefile (original)
+++ llvm/trunk/lib/Bitcode/Reader/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMBitReader
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Bitcode/Writer/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Writer/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Writer/Makefile (original)
+++ llvm/trunk/lib/Bitcode/Writer/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMBitWriter
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -1,4 +1,4 @@
-##===- lib/CodeGen/SelectionDAG/Makefile -------------------*- Makefile -*-===##
+##===- lib/CodeGen/AsmPrinter/Makefile ---------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
@@ -6,8 +6,9 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMAsmPrinter
-PARALLEL_DIRS =
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/CodeGen/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/Makefile (original)
+++ llvm/trunk/lib/CodeGen/Makefile Fri Jan 22 00:49:46 2010
@@ -11,6 +11,7 @@
LIBRARYNAME = LLVMCodeGen
PARALLEL_DIRS = SelectionDAG AsmPrinter
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/Makefile (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/Makefile Fri Jan 22 00:49:46 2010
@@ -6,8 +6,9 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMSelectionDAG
-PARALLEL_DIRS =
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/ExecutionEngine/Interpreter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Interpreter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Interpreter/Makefile (original)
+++ llvm/trunk/lib/ExecutionEngine/Interpreter/Makefile Fri Jan 22 00:49:46 2010
@@ -6,7 +6,9 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMInterpreter
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/ExecutionEngine/JIT/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JIT/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/JIT/Makefile (original)
+++ llvm/trunk/lib/ExecutionEngine/JIT/Makefile Fri Jan 22 00:49:46 2010
@@ -6,8 +6,10 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMJIT
+CXXFLAGS = -fno-rtti
# Get the $(ARCH) setting
include $(LEVEL)/Makefile.config
Modified: llvm/trunk/lib/ExecutionEngine/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Makefile (original)
+++ llvm/trunk/lib/ExecutionEngine/Makefile Fri Jan 22 00:49:46 2010
@@ -9,5 +9,6 @@
LEVEL = ../..
LIBRARYNAME = LLVMExecutionEngine
PARALLEL_DIRS = Interpreter JIT
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Linker/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Linker/Makefile (original)
+++ llvm/trunk/lib/Linker/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../..
LIBRARYNAME = LLVMLinker
BUILD_ARCHIVE := 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/MC/MCParser/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCParser/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCParser/Makefile (original)
+++ llvm/trunk/lib/MC/MCParser/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMMCParser
BUILD_ARCHIVE := 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/MC/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/MC/Makefile (original)
+++ llvm/trunk/lib/MC/Makefile Fri Jan 22 00:49:46 2010
@@ -11,6 +11,7 @@
LIBRARYNAME = LLVMMC
BUILD_ARCHIVE := 1
PARALLEL_DIRS := MCParser
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Target/ARM/AsmParser/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/Makefile (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/Makefile Fri Jan 22 00:49:46 2010
@@ -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)/..
Modified: llvm/trunk/lib/Target/ARM/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/ARM/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -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)/..
Modified: llvm/trunk/lib/Target/ARM/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Makefile (original)
+++ llvm/trunk/lib/Target/ARM/Makefile Fri Jan 22 00:49:46 2010
@@ -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 \
Modified: llvm/trunk/lib/Target/ARM/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/ARM/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -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)/..
Modified: llvm/trunk/lib/Target/Alpha/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Alpha/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/Alpha/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMAlphaAsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' alpha target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/Alpha/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Alpha/Makefile (original)
+++ llvm/trunk/lib/Target/Alpha/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMAlphaCodeGen
TARGET = Alpha
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = AlphaGenRegisterInfo.h.inc AlphaGenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/Alpha/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Alpha/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/Alpha/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMAlphaInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/Blackfin/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Blackfin/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Blackfin/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/Blackfin/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMBlackfinAsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' Blackfin target directory to grab private
# headers
Modified: llvm/trunk/lib/Target/Blackfin/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Blackfin/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Blackfin/Makefile (original)
+++ llvm/trunk/lib/Target/Blackfin/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMBlackfinCodeGen
TARGET = Blackfin
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = BlackfinGenRegisterInfo.h.inc BlackfinGenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/Blackfin/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Blackfin/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Blackfin/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/Blackfin/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMBlackfinInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/CBackend/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CBackend/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CBackend/Makefile (original)
+++ llvm/trunk/lib/Target/CBackend/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMCBackend
+CXXFLAGS = -fno-rtti
DIRS = TargetInfo
Modified: llvm/trunk/lib/Target/CBackend/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CBackend/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CBackend/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/CBackend/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMCBackendInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/CellSPU/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CellSPU/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/CellSPU/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../../../..
LIBRARYNAME = LLVMCellSPUAsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' CellSPU target directory to grab
# private headers
Modified: llvm/trunk/lib/Target/CellSPU/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CellSPU/Makefile (original)
+++ llvm/trunk/lib/Target/CellSPU/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMCellSPUCodeGen
TARGET = SPU
+CXXFLAGS = -fno-rtti
BUILT_SOURCES = SPUGenInstrNames.inc SPUGenRegisterNames.inc \
SPUGenAsmWriter.inc SPUGenCodeEmitter.inc \
Modified: llvm/trunk/lib/Target/CellSPU/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CellSPU/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/CellSPU/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMCellSPUInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/CppBackend/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CppBackend/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CppBackend/Makefile (original)
+++ llvm/trunk/lib/Target/CppBackend/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMCppBackend
+CXXFLAGS = -fno-rtti
DIRS = TargetInfo
Modified: llvm/trunk/lib/Target/CppBackend/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CppBackend/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CppBackend/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/CppBackend/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMCppBackendInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/MSIL/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSIL/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSIL/Makefile (original)
+++ llvm/trunk/lib/Target/MSIL/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMMSIL
+CXXFLAGS = -fno-rtti
DIRS = TargetInfo
Modified: llvm/trunk/lib/Target/MSIL/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSIL/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSIL/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/MSIL/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMMSILInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/MSP430/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/MSP430/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMMSP430AsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' MSP430 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/MSP430/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/Makefile (original)
+++ llvm/trunk/lib/Target/MSP430/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMMSP430CodeGen
TARGET = MSP430
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = MSP430GenRegisterInfo.h.inc MSP430GenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/MSP430/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/MSP430/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMMSP430Info
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Makefile (original)
+++ llvm/trunk/lib/Target/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../..
LIBRARYNAME = LLVMTarget
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
# 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
Modified: llvm/trunk/lib/Target/Mips/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/Mips/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../../../..
LIBRARYNAME = LLVMMipsAsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' Mips target directory to grab
# private headers
Modified: llvm/trunk/lib/Target/Mips/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/Makefile (original)
+++ llvm/trunk/lib/Target/Mips/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMMipsCodeGen
TARGET = Mips
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = MipsGenRegisterInfo.h.inc MipsGenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/Mips/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/Mips/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMMipsInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/PIC16/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/PIC16/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMPIC16AsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' pic16 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/PIC16/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/Makefile (original)
+++ llvm/trunk/lib/Target/PIC16/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMPIC16CodeGen
TARGET = PIC16
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = PIC16GenRegisterInfo.h.inc PIC16GenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16Passes/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
TARGET = PIC16
LIBRARYNAME = LLVMpic16passes
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Target/PIC16/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/PIC16/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMPIC16Info
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/PowerPC/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/PowerPC/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMPowerPCAsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' PowerPC target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/PowerPC/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/Makefile (original)
+++ llvm/trunk/lib/Target/PowerPC/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMPowerPCCodeGen
TARGET = PPC
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = PPCGenInstrNames.inc PPCGenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/PowerPC/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMPowerPCInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/Sparc/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/Sparc/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,8 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMSparcAsmPrinter
+CXXFLAGS = -fno-rtti
+
# Hack: we need to include 'main' Sparc target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/Sparc/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/Makefile (original)
+++ llvm/trunk/lib/Target/Sparc/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMSparcCodeGen
TARGET = Sparc
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = SparcGenRegisterInfo.h.inc SparcGenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/Sparc/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/Sparc/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMSparcInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/SystemZ/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/SystemZ/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMSystemZAsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' SystemZ target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/SystemZ/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/Makefile (original)
+++ llvm/trunk/lib/Target/SystemZ/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMSystemZCodeGen
TARGET = SystemZ
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = SystemZGenRegisterInfo.h.inc SystemZGenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/SystemZ/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/SystemZ/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMSystemZInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/X86/AsmParser/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/Makefile (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMX86AsmParser
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' x86 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMX86AsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' x86 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/X86/Disassembler/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Disassembler/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/Disassembler/Makefile (original)
+++ llvm/trunk/lib/Target/X86/Disassembler/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../../../..
LIBRARYNAME = LLVMX86Disassembler
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' x86 target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/X86/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/Makefile (original)
+++ llvm/trunk/lib/Target/X86/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMX86CodeGen
TARGET = X86
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/X86/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/X86/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -6,8 +6,10 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../../..
LIBRARYNAME = LLVMX86Info
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/XCore/AsmPrinter/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/AsmPrinter/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/AsmPrinter/Makefile (original)
+++ llvm/trunk/lib/Target/XCore/AsmPrinter/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../../../..
LIBRARYNAME = LLVMXCoreAsmPrinter
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' XCore target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Target/XCore/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/Makefile (original)
+++ llvm/trunk/lib/Target/XCore/Makefile Fri Jan 22 00:49:46 2010
@@ -6,9 +6,11 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../..
LIBRARYNAME = LLVMXCoreCodeGen
TARGET = XCore
+CXXFLAGS = -fno-rtti
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = XCoreGenRegisterInfo.h.inc XCoreGenRegisterNames.inc \
Modified: llvm/trunk/lib/Target/XCore/TargetInfo/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/TargetInfo/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/TargetInfo/Makefile (original)
+++ llvm/trunk/lib/Target/XCore/TargetInfo/Makefile Fri Jan 22 00:49:46 2010
@@ -6,8 +6,10 @@
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../../../..
LIBRARYNAME = LLVMXCoreInfo
+CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
Modified: llvm/trunk/lib/Transforms/Hello/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Hello/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Hello/Makefile (original)
+++ llvm/trunk/lib/Transforms/Hello/Makefile Fri Jan 22 00:49:46 2010
@@ -11,6 +11,7 @@
LIBRARYNAME = LLVMHello
LOADABLE_MODULE = 1
USEDLIBS =
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Transforms/IPO/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Makefile (original)
+++ llvm/trunk/lib/Transforms/IPO/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMipo
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Transforms/InstCombine/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/Makefile (original)
+++ llvm/trunk/lib/Transforms/InstCombine/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMInstCombine
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Transforms/Instrumentation/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/Makefile (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMInstrumentation
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Transforms/Scalar/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/Makefile (original)
+++ llvm/trunk/lib/Transforms/Scalar/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMScalarOpts
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Transforms/Utils/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/Makefile (original)
+++ llvm/trunk/lib/Transforms/Utils/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMTransformUtils
BUILD_ARCHIVE = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/VMCore/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Makefile (original)
+++ llvm/trunk/lib/VMCore/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../..
LIBRARYNAME = LLVMCore
BUILD_ARCHIVE = 1
+#CXXFLAGS = -fno-rtti
BUILT_SOURCES = $(PROJ_OBJ_ROOT)/include/llvm/Intrinsics.gen
Modified: llvm/trunk/tools/gold/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/gold/Makefile (original)
+++ llvm/trunk/tools/gold/Makefile Fri Jan 22 00:49:46 2010
@@ -19,6 +19,7 @@
SHARED_LIBRARY = 1
BUILD_ARCHIVE = 0
LOADABLE_MODULE = 1
+CXXFLAGS = -fno-rtti
LINK_COMPONENTS := support system
LIBS += -llto
Modified: llvm/trunk/tools/llc/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llc/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llc/Makefile (original)
+++ llvm/trunk/tools/llc/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL = ../..
TOOLNAME = llc
+CXXFLAGS = -fno-rtti
# Include this here so we can get the configuration of the targets
# that have been configured for construction. We have to do this
Modified: llvm/trunk/tools/lli/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lli/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/lli/Makefile (original)
+++ llvm/trunk/tools/lli/Makefile Fri Jan 22 00:49:46 2010
@@ -9,6 +9,7 @@
LEVEL := ../..
TOOLNAME := lli
+CXXFLAGS = -fno-rtti
LINK_COMPONENTS := jit interpreter nativecodegen bitreader selectiondag
# Enable JIT support
Modified: llvm/trunk/tools/llvm-ar/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ar/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ar/Makefile (original)
+++ llvm/trunk/tools/llvm-ar/Makefile Fri Jan 22 00:49:46 2010
@@ -11,6 +11,7 @@
TOOLNAME = llvm-ar
LINK_COMPONENTS = archive
REQUIRES_EH := 1
+#CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
Modified: llvm/trunk/tools/llvm-as/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-as/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-as/Makefile (original)
+++ llvm/trunk/tools/llvm-as/Makefile Fri Jan 22 00:49:46 2010
@@ -10,7 +10,7 @@
LEVEL = ../..
TOOLNAME = llvm-as
LINK_COMPONENTS := asmparser bitwriter
-REQUIRES_EH := 1
+CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
Modified: llvm/trunk/tools/llvm-bcanalyzer/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-bcanalyzer/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-bcanalyzer/Makefile (original)
+++ llvm/trunk/tools/llvm-bcanalyzer/Makefile Fri Jan 22 00:49:46 2010
@@ -10,7 +10,6 @@
TOOLNAME = llvm-bcanalyzer
LINK_COMPONENTS := bitreader
-REQUIRES_EH := 1
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
Modified: llvm/trunk/tools/llvm-config/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-config/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-config/Makefile (original)
+++ llvm/trunk/tools/llvm-config/Makefile Fri Jan 22 00:49:46 2010
@@ -10,7 +10,6 @@
LEVEL = ../..
EXTRA_DIST = LibDeps.txt FinalLibDeps.txt llvm-config.in.in find-cycles.pl
-REQUIRES_EH := 1
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/tools/llvm-dis/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-dis/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-dis/Makefile (original)
+++ llvm/trunk/tools/llvm-dis/Makefile Fri Jan 22 00:49:46 2010
@@ -10,7 +10,7 @@
TOOLNAME = llvm-dis
LINK_COMPONENTS := bitreader
-REQUIRES_EH := 1
+CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
Modified: llvm/trunk/tools/llvm-extract/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-extract/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-extract/Makefile (original)
+++ llvm/trunk/tools/llvm-extract/Makefile Fri Jan 22 00:49:46 2010
@@ -11,6 +11,7 @@
TOOLNAME = llvm-extract
LINK_COMPONENTS := ipo bitreader bitwriter asmparser
+CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
Modified: llvm/trunk/tools/llvm-ld/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ld/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ld/Makefile (original)
+++ llvm/trunk/tools/llvm-ld/Makefile Fri Jan 22 00:49:46 2010
@@ -11,5 +11,6 @@
TOOLNAME = llvm-ld
LINK_COMPONENTS = ipo scalaropts linker archive bitwriter
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/tools/llvm-link/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-link/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-link/Makefile (original)
+++ llvm/trunk/tools/llvm-link/Makefile Fri Jan 22 00:49:46 2010
@@ -10,6 +10,7 @@
TOOLNAME = llvm-link
LINK_COMPONENTS = linker bitreader bitwriter asmparser
+CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
Modified: llvm/trunk/tools/llvm-mc/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mc/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mc/Makefile (original)
+++ llvm/trunk/tools/llvm-mc/Makefile Fri Jan 22 00:49:46 2010
@@ -13,6 +13,7 @@
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
NO_INSTALL = 1
+CXXFLAGS = -fno-rtti
# Include this here so we can get the configuration of the targets
# that have been configured for construction. We have to do this
Modified: llvm/trunk/tools/llvm-nm/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-nm/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-nm/Makefile (original)
+++ llvm/trunk/tools/llvm-nm/Makefile Fri Jan 22 00:49:46 2010
@@ -13,5 +13,6 @@
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/tools/llvm-prof/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-prof/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-prof/Makefile (original)
+++ llvm/trunk/tools/llvm-prof/Makefile Fri Jan 22 00:49:46 2010
@@ -13,5 +13,6 @@
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
+CXXFLAGS = -fno-rtti
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/tools/lto/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/lto/Makefile (original)
+++ llvm/trunk/tools/lto/Makefile Fri Jan 22 00:49:46 2010
@@ -17,6 +17,7 @@
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
+CXXFLAGS = -fno-rtti
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
Modified: llvm/trunk/tools/opt/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/Makefile?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/tools/opt/Makefile (original)
+++ llvm/trunk/tools/opt/Makefile Fri Jan 22 00:49:46 2010
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = opt
+CXXFLAGS = -fno-rtti
LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo
Modified: llvm/trunk/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp Fri Jan 22 00:49:46 2010
@@ -23,6 +23,9 @@
using namespace llvm;
+int dummy;
+
+#if 0
namespace {
struct FunctionEmittedEvent {
@@ -235,3 +238,4 @@
testing::AddGlobalTestEnvironment(new JITEnvironment);
} // anonymous namespace
+#endif
Modified: llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp Fri Jan 22 00:49:46 2010
@@ -58,6 +58,7 @@
return Result;
}
+#if 0
class RecordingJITMemoryManager : public JITMemoryManager {
const OwningPtr<JITMemoryManager> Base;
public:
@@ -178,6 +179,7 @@
return Base->endExceptionTable(F, TableStart, TableEnd, FrameRegister);
}
};
+#endif
bool LoadAssemblyInto(Module *M, const char *assembly) {
SMDiagnostic Error;
@@ -195,11 +197,15 @@
virtual void SetUp() {
M = new Module("<main>", Context);
MP = new ExistingModuleProvider(M);
+#if 0
RJMM = new RecordingJITMemoryManager;
RJMM->setPoisonMemory(true);
+#endif
std::string Error;
TheJIT.reset(EngineBuilder(MP).setEngineKind(EngineKind::JIT)
+#if 0
.setJITMemoryManager(RJMM)
+#endif
.setErrorStr(&Error).create());
ASSERT_TRUE(TheJIT.get() != NULL) << Error;
}
@@ -211,7 +217,9 @@
LLVMContext Context;
Module *M; // Owned by MP.
ModuleProvider *MP; // Owned by ExecutionEngine.
+#if 0
RecordingJITMemoryManager *RJMM;
+#endif
OwningPtr<ExecutionEngine> TheJIT;
};
@@ -430,6 +438,7 @@
TheJIT->getPointerToFunction(func);
TheJIT->deleteModuleProvider(MP);
+#if 0
SmallPtrSet<const void*, 2> FunctionsDeallocated;
for (unsigned i = 0, e = RJMM->deallocateFunctionBodyCalls.size();
i != e; ++i) {
@@ -463,6 +472,7 @@
}
EXPECT_EQ(RJMM->startExceptionTableCalls.size(),
NumTablesDeallocated);
+#endif
}
// ARM and PPC still emit stubs for calls since the target may be too far away
@@ -497,14 +507,18 @@
// We should now allocate no more stubs, we have the code to foo
// and the existing stub for bar.
+#if 0
int stubsBefore = RJMM->stubsAllocated;
+#endif
Function *func = M->getFunction("main");
TheJIT->getPointerToFunction(func);
Function *bar = M->getFunction("bar");
TheJIT->getPointerToFunction(bar);
+#if 0
ASSERT_EQ(stubsBefore, RJMM->stubsAllocated);
+#endif
}
#endif // !ARM && !PPC
Modified: llvm/trunk/unittests/VMCore/PassManagerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/VMCore/PassManagerTest.cpp?rev=94164&r1=94163&r2=94164&view=diff
==============================================================================
--- llvm/trunk/unittests/VMCore/PassManagerTest.cpp (original)
+++ llvm/trunk/unittests/VMCore/PassManagerTest.cpp Fri Jan 22 00:49:46 2010
@@ -32,6 +32,10 @@
#include "llvm/Assembly/PrintModulePass.h"
#include "gtest/gtest.h"
+int dummy;
+
+#if 0
+
namespace llvm {
namespace {
// ND = no deps
@@ -525,3 +529,4 @@
}
}
+#endif
More information about the llvm-commits
mailing list