Add comment re: clang dependency.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 9 Sep 2009 23:01:25 +0000 (23:01 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 9 Sep 2009 23:01:25 +0000 (23:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81393 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Triple.cpp

index e986fb83f71597207ef2c63f32428f7d2d54cc9c..fc3b3f7e2f8d4cc99cdd944ce83856021dac627f 100644 (file)
@@ -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")