summaryrefslogtreecommitdiffstats
path: root/lib/clang/include/llvm/Config/Targets.def
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2010-06-09 19:32:20 +0000
committerrdivacky <rdivacky@FreeBSD.org>2010-06-09 19:32:20 +0000
commitb45271f609e8549582d20aeb42901fd1bb0de186 (patch)
tree807a6949d3dcd7e0705ad73bc45f2bcd39f9baf9 /lib/clang/include/llvm/Config/Targets.def
parentaad55b23d0526ba56425551b7700ea1fbf2b1353 (diff)
downloadFreeBSD-src-b45271f609e8549582d20aeb42901fd1bb0de186.zip
FreeBSD-src-b45271f609e8549582d20aeb42901fd1bb0de186.tar.gz
Import the build makefiles for clang/LLVM.
Approved by: ed (mentor)
Diffstat (limited to 'lib/clang/include/llvm/Config/Targets.def')
-rw-r--r--lib/clang/include/llvm/Config/Targets.def29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/clang/include/llvm/Config/Targets.def b/lib/clang/include/llvm/Config/Targets.def
new file mode 100644
index 0000000..47ae809
--- /dev/null
+++ b/lib/clang/include/llvm/Config/Targets.def
@@ -0,0 +1,29 @@
+/* $FreeBSD$ */
+/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
+|* *|
+|* The LLVM Compiler Infrastructure *|
+|* *|
+|* This file is distributed under the University of Illinois Open Source *|
+|* License. See LICENSE.TXT for details. *|
+|* *|
+|*===----------------------------------------------------------------------===*|
+|* *|
+|* This file enumerates all of the target architectures supported by *|
+|* this build of LLVM. Clients of this file should define the *|
+|* LLVM_TARGET macro to be a function-like macro with a single *|
+|* parameter (the name of the target); including this file will then *|
+|* enumerate all of the targets. *|
+|* *|
+|* The set of targets supported by LLVM is generated at configuration *|
+|* time, at which point this header is generated. Do not modify this *|
+|* header directly. *|
+|* *|
+\*===----------------------------------------------------------------------===*/
+
+#ifndef LLVM_TARGET
+# error Please define the macro LLVM_TARGET(TargetName)
+#endif
+
+LLVM_TARGET(Mips) LLVM_TARGET(ARM) LLVM_TARGET(PowerPC) LLVM_TARGET(X86)
+
+#undef LLVM_TARGET
OpenPOWER on IntegriCloud