]> granicus.if.org Git - clang/commit
Clang now attempts to create a TargetMachine whenever a triple is given.
authorNadav Rotem <nrotem@apple.com>
Wed, 24 Oct 2012 03:52:31 +0000 (03:52 +0000)
committerNadav Rotem <nrotem@apple.com>
Wed, 24 Oct 2012 03:52:31 +0000 (03:52 +0000)
commit129369dae809264afb2b81174593c155e369930b
treee3b9991f1c69895932b70af6169fa642ffc1788c
parent045d707f2d415c08f4c70dd8094bc8d9f78af158
Clang now attempts to create a TargetMachine whenever a triple is given.
Many of our tests specify triples that are not built into clang.
In this commit we allow clang to fail loading the triple if we are only
using clang to emit llvm ir.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166543 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BackendUtil.cpp