From 78d08359691d546f88b5e84bf15f1b1b05d70849 Mon Sep 17 00:00:00 2001
From: Eric Christopher
Date: Tue, 20 Sep 2011 00:42:28 +0000
Subject: [PATCH] More llvmc bits. Spotted by Benjamin on IRC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140124 91177308-0d34-0410-b5e6-96231b3b80d8
---
Makefile.rules | 38 --------------------------------------
docs/FAQ.html | 13 -------------
docs/GettingStarted.html | 16 +++-------------
docs/index.html | 1 -
4 files changed, 3 insertions(+), 65 deletions(-)
diff --git a/Makefile.rules b/Makefile.rules
index 228fd733e7e..c12ba1d8f78 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -190,19 +190,6 @@ uninstall:: uninstall-local
install-local:: all-local
install-bytecode:: install-bytecode-local
-###############################################################################
-# LLVMC: Provide rules for compiling llvmc-based driver
-###############################################################################
-
-ifdef LLVMC_BASED_DRIVER
-
-TOOLNAME = $(LLVMC_BASED_DRIVER)
-
-LLVMLIBS = CompilerDriver.a
-LINK_COMPONENTS = support
-
-endif # LLVMC_BASED_DRIVER
-
###############################################################################
# VARIABLES: Set up various variables based on configuration data
###############################################################################
@@ -1686,10 +1673,6 @@ ifdef TARGET
TABLEGEN_INC_FILES_COMMON = 1
endif
-ifdef LLVMC_BASED_DRIVER
-TABLEGEN_INC_FILES_COMMON = 1
-endif
-
ifdef TABLEGEN_INC_FILES_COMMON
INCFiles := $(filter %.inc,$(BUILT_SOURCES))
@@ -1805,27 +1788,6 @@ clean-local::
endif # TARGET
-ifdef LLVMC_BASED_DRIVER
-
-TDSrc := $(sort $(strip $(wildcard $(PROJ_SRC_DIR)/*.td)) \
- $(strip $(wildcard $(PROJ_OBJ_DIR)/*.td)))
-
-TDCommon := $(strip $(wildcard \
- $(LLVM_SRC_ROOT)/include/llvm/CompilerDriver/*.td))
-
-TDFiles := $(TDSrc) $(TDCommon)
-
-$(INCTMPFiles) : $(TBLGEN) $(TDFiles)
-
-$(ObjDir)/%.inc.tmp: %.td $(ObjDir)/.dir
- $(Echo) "Building LLVMC compilation graph description with tblgen"
- $(Verb) $(TableGen) -gen-llvmc -o $(call SYSPATH, $@) $<
-
-clean-local::
- -$(Verb) $(RM) -f $(INCFiles)
-
-endif # LLVMC_BASED_DRIVER
-
###############################################################################
# OTHER RULES: Other rules needed
###############################################################################
diff --git a/docs/FAQ.html b/docs/FAQ.html
index 9e3ea7f2a8d..7294cdd1a42 100644
--- a/docs/FAQ.html
+++ b/docs/FAQ.html
@@ -72,9 +72,6 @@
After Subversion update, rebuilding gives the error "No rule to make
target".
- The llvmc program gives me errors/doesn't
- work.
-
When I compile LLVM-GCC with srcdir == objdir,
it fails. Why?
@@ -419,16 +416,6 @@ Stop.
rebuilding.
-
-
-
-
llvmc is experimental and isn't really supported. We suggest
- using llvm-gcc instead.
-
-
When I compile LLVM-GCC with srcdir == objdir, it
fails. Why?
diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html
index 0695d7d933a..d7fcc6a1fed 100644
--- a/docs/GettingStarted.html
+++ b/docs/GettingStarted.html
@@ -1595,16 +1595,6 @@ information is in the
Command Guide.
href="HowToSubmitABug.html">HowToSubmitABug.html for more information
on using
bugpoint.
-
llvmc
-
The LLVM Compiler Driver. This program can
- be configured to utilize both LLVM and non-LLVM compilation tools to enable
- pre-processing, translation, optimization, assembly, and linking of programs
- all from one command line. llvmc also takes care of processing the
- dependent libraries found in bitcode. This reduces the need to get the
- traditional -l<name> options right on the command line. Please
- note that this tool, while functional, is still experimental and not feature
- complete.
-
llvm-ar
The archiver produces an archive containing
the given LLVM bitcode files, optionally with an index for faster
@@ -1620,9 +1610,9 @@ information is in the Command Guide.
llvm-ld
llvm-ld is a general purpose and extensible linker for LLVM.
- This is the linker invoked by llvmc. It performs standard link time
- optimizations and allows optimization modules to be loaded and run so that
- language specific optimizations can be applied at link time.
+ It performs standard link time optimizations and allows optimization
+ modules to be loaded and run so that language specific optimizations can
+ be applied at link time.
llvm-link
llvm-link, not surprisingly, links multiple LLVM modules into
diff --git a/docs/index.html b/docs/index.html
index 422dfb2347f..8f82cf9f14c 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -87,7 +87,6 @@ Current tools:
opt,
llc,
lli,
- llvmc
llvm-gcc,
llvm-g++,
bugpoint,