llvm-6502/tools
Frederic Riss 11fcb49922 [Object] Search for architecures by name in MachOUniversalBinary::getObjectForArch()
The reason we need to search by name rather than by Triple::ArchType
is to handle subarchitecture correclty. There is no different ArchType
for the x86_64h architecture (it identifies itself as x86_64), or for
the various ARM subarches. The only way to get to the subarch slice
in an universal binary is to search by name.

This issue led to hard to debug and transient symbolication failures
in Asan tests (it mostly works, because the files are very similar).

This also affects the Profiling infrastucture as it is the other user
of that API.

Reviewers: samsonov, bogner

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240339 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-22 21:33:24 +00:00
..
bugpoint Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
bugpoint-passes
dsymutil Recommit r239721: Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC. 2015-06-16 12:18:07 +00:00
gold gold-plugin: save the .o when given -save-temps. 2015-06-15 13:36:27 +00:00
llc MIR Serialization: Connect the machine function analysis pass to the MIR parser. 2015-06-15 20:30:22 +00:00
lli Replace string GNU Triples with llvm::Triple in TargetMachine::getTargetTriple(). NFC. 2015-06-16 13:15:50 +00:00
llvm-ar ArrayRef-ify libDriverMain 2015-06-21 06:31:56 +00:00
llvm-as
llvm-bcanalyzer
llvm-c-test
llvm-config
llvm-cov [Object] Search for architecures by name in MachOUniversalBinary::getObjectForArch() 2015-06-22 21:33:24 +00:00
llvm-cxxdump Simplify another function that doesn't fail. 2015-06-01 00:27:26 +00:00
llvm-diff
llvm-dis Use std::unique_ptr to manage the DataStreamer in bitcode parsing. 2015-06-16 23:29:49 +00:00
llvm-dwarfdump Add llvm-dwarfdump-fuzzer that uses LibFuzzer to fuzz llvm-dwarfdump tool. 2015-05-28 18:35:18 +00:00
llvm-extract
llvm-go
llvm-jitlistener Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
llvm-link
llvm-lto add missing dependency on Target lib for tools 2015-06-03 19:07:51 +00:00
llvm-mc Use named temporaries for directional labels. 2015-06-17 16:26:47 +00:00
llvm-mcmarkup
llvm-nm Simplify another function that doesn't fail. 2015-06-01 00:27:26 +00:00
llvm-objdump [FaultMaps] Add a parser for the __llvm__faultmaps section. 2015-06-22 18:03:02 +00:00
llvm-pdbdump Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:43:39 +00:00
llvm-profdata modules: Move ProfileKinds to an anonymous namespace 2015-06-16 00:43:04 +00:00
llvm-readobj Support/ELF: Add EM_AMDGPU 2015-06-22 21:03:47 +00:00
llvm-rtdyld RuntimeDyld: override EH frame registration with trivial version. 2015-06-03 18:26:52 +00:00
llvm-shlib
llvm-size Fix "the the" in comments. 2015-06-19 01:53:21 +00:00
llvm-stress
llvm-symbolizer [Object] Search for architecures by name in MachOUniversalBinary::getObjectForArch() 2015-06-22 21:33:24 +00:00
lto add missing dependency on Target lib for tools 2015-06-03 19:07:51 +00:00
macho-dump [Object, MachO] Introduce MachOObjectFile::load_commands() range iterator. 2015-06-03 22:19:36 +00:00
msbuild
obj2yaml Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
opt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
verify-uselistorder Move the personality function from LandingPadInst to Function 2015-06-17 20:52:32 +00:00
yaml2obj Simplify now that we always use an alignment of 2 for ELF files. 2015-06-02 12:05:27 +00:00
CMakeLists.txt
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
Makefile Do not build LLD from tools/Makefile, as LLD no longer has a Makefile build. 2015-06-08 04:04:13 +00:00