[dsymutil] Make the triple detection more strict.
authorFrederic Riss <friss@apple.com>
Fri, 24 Jul 2015 06:41:04 +0000 (06:41 +0000)
committerFrederic Riss <friss@apple.com>
Fri, 24 Jul 2015 06:41:04 +0000 (06:41 +0000)
commit15562966156101dfa0f376ac778ece022b02fec6
tree6ca52f2556aa7e8b17e31bdf086391cc9a305325
parente10885312d62f4d7f09f90b9541d98904ef8c543
[dsymutil] Make the triple detection more strict.

MachOObjectFile offers a method for detecting the correct triple, use
it instead of the previous approximation. This doesn't matter right
now, but it will become important for mach-o universal (fat) binaries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243095 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/X86/frame-1.test
test/tools/dsymutil/X86/frame-2.test
test/tools/dsymutil/X86/odr-1.test
test/tools/dsymutil/archive-timestamp.test
test/tools/dsymutil/debug-map-parsing.test
test/tools/dsymutil/yaml-object-address-rewrite.test
tools/dsymutil/BinaryHolder.cpp
tools/dsymutil/BinaryHolder.h
tools/dsymutil/MachODebugMapParser.cpp