Add comment re: clang dependency.

llvm-svn: 81393
This commit is contained in:
Daniel Dunbar 2009-09-09 23:01:25 +00:00
parent 1358fb7feb
commit aec990efd7
1 changed files with 3 additions and 0 deletions

View 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 // handling to the architecture name, so we need to be careful before removing
// support for it. // 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" || if (Str == "ppc" || Str == "ppc601" || Str == "ppc603" || Str == "ppc604" ||
Str == "ppc604e" || Str == "ppc750" || Str == "ppc7400" || Str == "ppc604e" || Str == "ppc750" || Str == "ppc7400" ||
Str == "ppc7450" || Str == "ppc970") Str == "ppc7450" || Str == "ppc970")