summaryrefslogtreecommitdiff
path: root/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
commited6878842bcfb0a923834ad95fb33a2c2507fbe7 (patch)
treec0df3dab74860b027cb3372f7915fef5c535dcd9 /lib/Support/Triple.cpp
parent251ef612a812ac99edeab6c08a752bf8ca220921 (diff)
downloadllvm-ed6878842bcfb0a923834ad95fb33a2c2507fbe7.tar.gz
llvm-ed6878842bcfb0a923834ad95fb33a2c2507fbe7.tar.bz2
llvm-ed6878842bcfb0a923834ad95fb33a2c2507fbe7.tar.xz
Add comment re: clang dependency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r--lib/Support/Triple.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index e986fb83f7..fc3b3f7e2f 100644
--- a/lib/Support/Triple.cpp
+++ b/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")