aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Triple.cpp
diff options
context:
space:
mode:
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")