[dsymutil] Rewrite thumb triple names in user visible messages.
authorFrederic Riss <friss@apple.com>
Tue, 25 Aug 2015 18:19:48 +0000 (18:19 +0000)
committerFrederic Riss <friss@apple.com>
Tue, 25 Aug 2015 18:19:48 +0000 (18:19 +0000)
commit0e221a0b654e7451823fdb3b3525c39b77d061d0
tree215b1486e2cce23ac0de346fb34a3e261b889a1c
parent909125ad03e45cafff4d43bee6d03afef788a7e1
[dsymutil] Rewrite thumb triple names in user visible messages.

We autodetect triples from the input file(s) while reading the mach-o debug map.
As we need to create a Target from those triples, we always chose the thumb
variant (because the arm variant might not be 'instantiable' eg armv7m). The
user visible architecture names should still be 'arm' and not 'thumb' variants
though.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245960 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/ARM/empty-map.test
test/tools/dsymutil/ARM/fat-arch-name.test [new file with mode: 0644]
tools/dsymutil/MachOUtils.cpp
tools/dsymutil/MachOUtils.h
tools/dsymutil/dsymutil.cpp