Add Triple::getArchTypeForDarwinArchName, which converts a "Darwin" architecture
authorDaniel Dunbar <daniel@zuster.org>
Tue, 8 Sep 2009 23:32:51 +0000 (23:32 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 8 Sep 2009 23:32:51 +0000 (23:32 +0000)
commitbaf9b562309ae0f82774a6a3b4ffb9417a43a032
tree4da13ed5ecc472f3ed1f921f3a9498a083066aa1
parent08ab4fdb598b0cf972a44b20340d538d2591d836
Add Triple::getArchTypeForDarwinArchName, which converts a "Darwin" architecture
name (e.g. "ppc") to the appropriate constant.

Also, StringRefize additional Triple constructor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81274 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Triple.h
lib/Support/Triple.cpp