diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-06-16 09:57:38 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-06-16 09:57:38 +0000 |
commit | c535d93b47c79add08a84917e3dcad1daf0323dd (patch) | |
tree | e3df857ad682406c963302672c4a74b319ad4bf9 /llvm/lib/Object | |
parent | c8a694fd27ae7becb8041f40d1a2a8d81033042f (diff) | |
download | bcm5719-llvm-c535d93b47c79add08a84917e3dcad1daf0323dd.tar.gz bcm5719-llvm-c535d93b47c79add08a84917e3dcad1daf0323dd.zip |
[llvm-mc] The object form of the GNU triple should be the same as the string form.
Summary:
GetTarget() may modify TripleName without also updating TheTriple.
This can lead to situations where the MCObjectStreamer has a different triple
to the rest of LLVM.
This inconsistency caused sparc-little-endian.s to pass on Windows because most
of LLVM had sparcel-pc-win32 while MCObjectStreamer had "". I believe the same
kind of thing was also true of Darwin.
Reviewers: rengolin
Reviewed By: rengolin
Subscribers: llvm-commits, rengolin, rafael
Differential Revision: http://reviews.llvm.org/D10450
llvm-svn: 239808
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions