From aec990efd72473be9cb6bbbfed4cc3c79dba84ef Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 9 Sep 2009 23:01:25 +0000 Subject: Add comment re: clang dependency. llvm-svn: 81393 --- llvm/lib/Support/Triple.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib/Support/Triple.cpp') 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") -- cgit v1.2.3