Add Triple::getArchTypeForDarwinArchName, which converts a "Darwin" architecture
commit221813a2d67821161ca4604121d3d4b9a5e3c406
authorDaniel Dunbar <daniel@zuster.org>
Tue, 8 Sep 2009 23:32:51 +0000 (8 23:32 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 8 Sep 2009 23:32:51 +0000 (8 23:32 +0000)
tree4da13ed5ecc472f3ed1f921f3a9498a083066aa1
parentee69fee764b11c7e480bb29ef351f93062bbdcca
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