Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Unified Diff: include/llvm/Config/SZTargets.def.in

Issue 1084753002: Add some configure/CMake options for enabling/disabling Subzero targets. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: line up better Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « configure ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/Config/SZTargets.def.in
diff --git a/include/llvm/Config/Targets.def.in b/include/llvm/Config/SZTargets.def.in
similarity index 80%
copy from include/llvm/Config/Targets.def.in
copy to include/llvm/Config/SZTargets.def.in
index d589ecee12cc495404e4446967e51e8c5d1a56a0..72d7d4532f3bfe9144e1c6e5142e88817da6aa17 100644
--- a/include/llvm/Config/Targets.def.in
+++ b/include/llvm/Config/SZTargets.def.in
@@ -1,4 +1,4 @@
-/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
+/*===- llvm/Config/SZTargets.def - Subzero Target Architectures -*- C++ -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
@@ -8,8 +8,8 @@
|*===----------------------------------------------------------------------===*|
|* *|
|* 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 *|
+|* this build of Subzero. Clients of this file should define the *|
+|* SUBZERO_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. *|
|* *|
@@ -19,10 +19,10 @@
|* *|
\*===----------------------------------------------------------------------===*/
-#ifndef LLVM_TARGET
-# error Please define the macro LLVM_TARGET(TargetName)
+#ifndef SUBZERO_TARGET
+# error Please define the macro SUBZERO_TARGET(TargetName)
#endif
-@LLVM_ENUM_TARGETS@
+@SUBZERO_ENUM_TARGETS@
-#undef LLVM_TARGET
+#undef SUBZERO_TARGET
« no previous file with comments | « configure ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698