aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CppBackend/TargetInfo/CppBackendTargetInfo.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-26 02:12:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-26 02:12:58 +0000
commit48224ee5385b03a49ecf34a7c9e3ab73fe32cdb3 (patch)
tree91b295074626e17cb0342c1de0959a5a6c2349b0 /lib/Target/CppBackend/TargetInfo/CppBackendTargetInfo.cpp
parentd9509d1ac08258cf4c5139c108747bb57ccd8fbe (diff)
downloadexternal_llvm-48224ee5385b03a49ecf34a7c9e3ab73fe32cdb3.zip
external_llvm-48224ee5385b03a49ecf34a7c9e3ab73fe32cdb3.tar.gz
external_llvm-48224ee5385b03a49ecf34a7c9e3ab73fe32cdb3.tar.bz2
Add TargetRegistry::lookupTarget.
- This is a simplified mechanism which just looks up a target based on the target triple, with a few additional flags. - Remove getClosestStaticTargetForModule, the moral equivalent is now: lookupTarget(Mod->getTargetTriple, true, false, ...); - This no longer does the fuzzy matching with target data (based on endianness and pointer width) that getClosestStaticTargetForModule was doing, but this was deemed unnecessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CppBackend/TargetInfo/CppBackendTargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions