From 0465fa9cf89a0c8a96cff6af59b0fbac9098471a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 7 Jul 2006 00:46:19 +0000 Subject: Tools require EH for their top-level try blocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29035 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/analyze/Makefile | 1 + tools/bugpoint/Makefile | 1 + tools/gccas/Makefile | 1 + tools/gccld/Makefile | 1 + tools/llc/Makefile | 1 + tools/lli/Makefile | 1 + tools/llvm-ar/Makefile | 1 + tools/llvm-as/Makefile | 1 + tools/llvm-bcanalyzer/Makefile | 2 ++ tools/llvm-config/Makefile | 1 + tools/llvm-db/Makefile | 1 + tools/llvm-dis/Makefile | 2 ++ tools/llvm-extract/Makefile | 1 + tools/llvm-ld/Makefile | 1 + tools/llvm-link/Makefile | 1 + tools/llvm-nm/Makefile | 2 ++ tools/llvm-prof/Makefile | 1 + tools/llvm-ranlib/Makefile | 1 + tools/llvm2cpp/Makefile | 1 + tools/llvmc/Makefile | 1 + tools/opt/Makefile | 1 + 21 files changed, 24 insertions(+) (limited to 'tools') diff --git a/tools/analyze/Makefile b/tools/analyze/Makefile index 0f0eb72628..e3885a9358 100644 --- a/tools/analyze/Makefile +++ b/tools/analyze/Makefile @@ -12,5 +12,6 @@ USEDLIBS = LLVMAsmParser.a LLVMBCReader.a LLVMAnalysis.a LLVMipa.a \ LLVMDataStructure \ LLVMScalarOpts.a LLVMTransforms.a LLVMTarget.a LLVMScalarOpts.a \ LLVMTransformUtils.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/bugpoint/Makefile b/tools/bugpoint/Makefile index 338122ac14..b713650983 100644 --- a/tools/bugpoint/Makefile +++ b/tools/bugpoint/Makefile @@ -17,5 +17,6 @@ USEDLIBS = LLVMipo.a LLVMScalarOpts.a $(OPTLIBS) $(ANALIBS) LLVMAnalysis.a \ LLVMTransformUtils.a \ LLVMAsmParser.a LLVMLinker.a LLVMBCReader.a LLVMBCWriter.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/gccas/Makefile b/tools/gccas/Makefile index 55b0379941..1f62ade4ed 100644 --- a/tools/gccas/Makefile +++ b/tools/gccas/Makefile @@ -12,5 +12,6 @@ TOOLNAME = gccas USEDLIBS = LLVMAsmParser.a LLVMBCWriter.a LLVMTransforms.a LLVMipo.a LLVMipa.a \ LLVMScalarOpts.a LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/gccld/Makefile b/tools/gccld/Makefile index 44c6be9834..7638f7fb25 100644 --- a/tools/gccld/Makefile +++ b/tools/gccld/Makefile @@ -14,5 +14,6 @@ USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a \ LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \ LLVMArchive.a LLVMBCReader.a LLVMBCWriter.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llc/Makefile b/tools/llc/Makefile index 53f98137c2..80af5aa9b1 100644 --- a/tools/llc/Makefile +++ b/tools/llc/Makefile @@ -9,6 +9,7 @@ LEVEL = ../.. TOOLNAME = llc +REQUIRES_EH := 1 # Include this here so we can get the configuration of the targets # that have been configured for construction. We have to do this diff --git a/tools/lli/Makefile b/tools/lli/Makefile index 0e537f9d7d..8952b12f98 100644 --- a/tools/lli/Makefile +++ b/tools/lli/Makefile @@ -9,6 +9,7 @@ LEVEL := ../.. TOOLNAME := lli LLVMLIBS := JIT +REQUIRES_EH := 1 # Enable JIT support include $(LEVEL)/Makefile.common diff --git a/tools/llvm-ar/Makefile b/tools/llvm-ar/Makefile index fbc2bcf353..18da617682 100644 --- a/tools/llvm-ar/Makefile +++ b/tools/llvm-ar/Makefile @@ -11,6 +11,7 @@ LEVEL = ../.. TOOLNAME = llvm-ar USEDLIBS = LLVMArchive.a LLVMBCReader.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvm-as/Makefile b/tools/llvm-as/Makefile index 73dcb06aff..bd7c3d3eec 100644 --- a/tools/llvm-as/Makefile +++ b/tools/llvm-as/Makefile @@ -10,5 +10,6 @@ LEVEL = ../.. TOOLNAME = llvm-as USEDLIBS = LLVMAsmParser.a LLVMBCWriter.a LLVMCore.a \ LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvm-bcanalyzer/Makefile b/tools/llvm-bcanalyzer/Makefile index 7914646314..b3acd0157e 100644 --- a/tools/llvm-bcanalyzer/Makefile +++ b/tools/llvm-bcanalyzer/Makefile @@ -10,4 +10,6 @@ LEVEL = ../.. TOOLNAME = llvm-bcanalyzer USEDLIBS = LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 + include $(LEVEL)/Makefile.common diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile index 413fd0a53a..16d8ba739f 100644 --- a/tools/llvm-config/Makefile +++ b/tools/llvm-config/Makefile @@ -10,6 +10,7 @@ LEVEL = ../.. EXTRA_DIST = LibDeps.txt FinalLibDeps.txt llvm-config.in.in find-cycles.pl +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvm-db/Makefile b/tools/llvm-db/Makefile index 31ebbba59c..e7bc95fa5d 100644 --- a/tools/llvm-db/Makefile +++ b/tools/llvm-db/Makefile @@ -11,5 +11,6 @@ LEVEL = ../.. TOOLNAME = llvm-db USEDLIBS = LLVMDebugger LLVMBCReader.a LLVMCore.a LLVMSupport.a \ LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvm-dis/Makefile b/tools/llvm-dis/Makefile index 8e54fb347c..011409e3dd 100644 --- a/tools/llvm-dis/Makefile +++ b/tools/llvm-dis/Makefile @@ -10,4 +10,6 @@ LEVEL = ../.. TOOLNAME = llvm-dis USEDLIBS = LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 + include $(LEVEL)/Makefile.common diff --git a/tools/llvm-extract/Makefile b/tools/llvm-extract/Makefile index 73d5883403..20a107c5c7 100644 --- a/tools/llvm-extract/Makefile +++ b/tools/llvm-extract/Makefile @@ -12,5 +12,6 @@ TOOLNAME = llvm-extract USEDLIBS = LLVMBCReader.a LLVMBCWriter.a LLVMTransforms.a LLVMipo.a \ LLVMTarget.a LLVMAnalysis.a LLVMTransformUtils.a LLVMipa.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvm-ld/Makefile b/tools/llvm-ld/Makefile index eb2158a252..636aea4ef6 100644 --- a/tools/llvm-ld/Makefile +++ b/tools/llvm-ld/Makefile @@ -14,5 +14,6 @@ USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a \ LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \ LLVMArchive.a LLVMBCReader.a LLVMBCWriter.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvm-link/Makefile b/tools/llvm-link/Makefile index 41594f2c51..0663396cdd 100644 --- a/tools/llvm-link/Makefile +++ b/tools/llvm-link/Makefile @@ -11,5 +11,6 @@ LEVEL = ../.. TOOLNAME = llvm-link USEDLIBS = LLVMLinker.a LLVMBCReader.a LLVMBCWriter.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvm-nm/Makefile b/tools/llvm-nm/Makefile index 996b3494de..c7502e2306 100644 --- a/tools/llvm-nm/Makefile +++ b/tools/llvm-nm/Makefile @@ -11,4 +11,6 @@ LEVEL = ../.. TOOLNAME = llvm-nm USEDLIBS = LLVMArchive.a LLVMBCReader.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 + include $(LEVEL)/Makefile.common diff --git a/tools/llvm-prof/Makefile b/tools/llvm-prof/Makefile index 029297a571..9774f64fa1 100644 --- a/tools/llvm-prof/Makefile +++ b/tools/llvm-prof/Makefile @@ -11,5 +11,6 @@ LEVEL = ../.. TOOLNAME = llvm-prof USEDLIBS = LLVMAnalysis.a LLVMBCReader.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvm-ranlib/Makefile b/tools/llvm-ranlib/Makefile index b97c17c79a..1379532f5e 100644 --- a/tools/llvm-ranlib/Makefile +++ b/tools/llvm-ranlib/Makefile @@ -11,5 +11,6 @@ LEVEL = ../.. TOOLNAME = llvm-ranlib USEDLIBS = LLVMArchive.a LLVMBCReader.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvm2cpp/Makefile b/tools/llvm2cpp/Makefile index d6b65c8923..cc3169c46f 100644 --- a/tools/llvm2cpp/Makefile +++ b/tools/llvm2cpp/Makefile @@ -9,6 +9,7 @@ LEVEL = ../.. TOOLNAME = llvm2cpp USEDLIBS = LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common diff --git a/tools/llvmc/Makefile b/tools/llvmc/Makefile index 62fa82e325..0e63d13259 100644 --- a/tools/llvmc/Makefile +++ b/tools/llvmc/Makefile @@ -11,6 +11,7 @@ TOOLNAME = llvmc USEDLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a CONFIG_FILES = c cpp ll EXTRA_DIST = c cpp ll ConfigLexer.cpp.cvs ConfigLexer.l.cvs +REQUIRES_EH := 1 # The CompilerDriver needs to know the locations of several configured # directories and paths. We define these as preprocessor symbols so they can diff --git a/tools/opt/Makefile b/tools/opt/Makefile index c262040ea8..f310639c08 100644 --- a/tools/opt/Makefile +++ b/tools/opt/Makefile @@ -8,6 +8,7 @@ ##===----------------------------------------------------------------------===## LEVEL = ../.. TOOLNAME = opt +REQUIRES_EH := 1 USEDLIBS = LLVMBCReader.a LLVMBCWriter.a LLVMInstrumentation.a \ LLVMScalarOpts.a LLVMipo.a LLVMipa.a LLVMDataStructure LLVMTransforms.a \ -- cgit v1.2.3