llvm-6502/tools/llvm-mc
Daniel Sanders a8cc053519 [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239808 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-16 09:57:38 +00:00
..
CMakeLists.txt Add targets to cmake for specific target components. 2015-04-20 18:22:05 +00:00
Disassembler.cpp Remove unused includes and out of date comment. NFC. 2014-12-17 03:07:20 +00:00
Disassembler.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
llvm-mc.cpp [llvm-mc] The object form of the GNU triple should be the same as the string form. 2015-06-16 09:57:38 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile build: Tidy up a bunch of tool Makefiles, and simplify where possible using the 2011-10-18 19:27:24 +00:00