Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 15 Jun 2015 09:19:41 +0000 (09:19 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 15 Jun 2015 09:19:41 +0000 (09:19 +0000)
commit4a867c7a05bd0560cc16b3c16286e1c76073334e
tree48b2ff43e6508699d54ff86ba8787b4d4d039bcb
parent981ffd1bc4faff6274486b87f2cd1e08a2fbe56c
Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC.

Summary:
This affects other tools so the previous C++ API has been retained as a
deprecated function for the moment. Clang has been updated with a trivial
patch (not covered by the pre-commit review) to avoid breaking -Werror builds.
Other in-tree tools will be fixed with similar trivial patches.

This continues the patch series to eliminate StringRef forms of GNU triples
from the internals of LLVM that began in r239036.

Reviewers: rengolin

Reviewed By: rengolin

Subscribers: llvm-commits, rengolin

Differential Revision: http://reviews.llvm.org/D10366

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239721 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCObjectFileInfo.h
lib/MC/MCObjectFileInfo.cpp
lib/Object/IRObjectFile.cpp
lib/Target/TargetLoweringObjectFile.cpp
tools/dsymutil/DwarfLinker.cpp
tools/llvm-mc/llvm-mc.cpp