summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-09 23:01:25 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-09 23:01:25 +0000
commitaec990efd72473be9cb6bbbfed4cc3c79dba84ef (patch)
treee2d5fd137e7d9654c49e2a8be8e128bdc7fe8a11 /llvm/lib/Support/Triple.cpp
parent1358fb7feb90b938410b437c2879ea5c226e2344 (diff)
downloadbcm5719-llvm-aec990efd72473be9cb6bbbfed4cc3c79dba84ef.tar.gz
bcm5719-llvm-aec990efd72473be9cb6bbbfed4cc3c79dba84ef.zip
Add comment re: clang dependency.
llvm-svn: 81393
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r--llvm/lib/Support/Triple.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index e986fb83f71..fc3b3f7e2f8 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -149,6 +149,9 @@ Triple::ArchType Triple::getArchTypeForDarwinArchName(const StringRef &Str) {
// handling to the architecture name, so we need to be careful before removing
// support for it.
+ // This code must be kept in sync with Clang's Darwin specific argument
+ // translation.
+
if (Str == "ppc" || Str == "ppc601" || Str == "ppc603" || Str == "ppc604" ||
Str == "ppc604e" || Str == "ppc750" || Str == "ppc7400" ||
Str == "ppc7450" || Str == "ppc970")
OpenPOWER on IntegriCloud