summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/llvmc/examples/Simple/Simple.td
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-10-02 11:45:18 +0000
committerdim <dim@FreeBSD.org>2010-10-02 11:45:18 +0000
commit2d4f0a4a82f1cf5b082a40443abbe715d7419c78 (patch)
treefd6b9ff4e070b2a24599a60688ce44f0e9bf8072 /contrib/llvm/tools/llvmc/examples/Simple/Simple.td
parent790a22aed9d7cf1919992c27eaa1ddfaa24bfe90 (diff)
downloadFreeBSD-src-2d4f0a4a82f1cf5b082a40443abbe715d7419c78.zip
FreeBSD-src-2d4f0a4a82f1cf5b082a40443abbe715d7419c78.tar.gz
Cleanup some example and empty directories that were left around after
the last import of contrib/llvm. Suggested by: obrien Approved by: rpaulo (mentor)
Diffstat (limited to 'contrib/llvm/tools/llvmc/examples/Simple/Simple.td')
-rw-r--r--contrib/llvm/tools/llvmc/examples/Simple/Simple.td41
1 files changed, 0 insertions, 41 deletions
diff --git a/contrib/llvm/tools/llvmc/examples/Simple/Simple.td b/contrib/llvm/tools/llvmc/examples/Simple/Simple.td
deleted file mode 100644
index b47483b..0000000
--- a/contrib/llvm/tools/llvmc/examples/Simple/Simple.td
+++ /dev/null
@@ -1,41 +0,0 @@
-//===- Simple.td - A simple LLVMC-based driver ----------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// A simple LLVMC-based gcc wrapper.
-//
-// To compile, use this command:
-//
-// $ cd $LLVM_OBJ_DIR/tools/llvmc
-// $ make BUILD_EXAMPLES=1
-//
-// Run as:
-//
-// $ $LLVM_OBJ_DIR/$(BuildMode)/bin/Simple
-//
-// For instructions on how to build your own LLVMC-based driver, see
-// the 'examples/Skeleton' directory.
-//===----------------------------------------------------------------------===//
-
-include "llvm/CompilerDriver/Common.td"
-
-def gcc : Tool<
-[(in_language "c"),
- (out_language "executable"),
- (output_suffix "out"),
- (command "gcc"),
- (sink),
-
- // -o is what is used by default, out_file_option here is included for
- // instructive purposes.
- (out_file_option "-o")
-]>;
-
-def LanguageMap : LanguageMap<[(lang_to_suffixes "c", "c")]>;
-
-def CompilationGraph : CompilationGraph<[(edge "root", "gcc")]>;
OpenPOWER on IntegriCloud