diff options
author | Frederic Riss <friss@apple.com> | 2015-06-03 20:29:24 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2015-06-03 20:29:24 +0000 |
commit | 90e0bd96ff732cfec9b5fdc10ad4279b1184a394 (patch) | |
tree | 26b10a8e8d3f951d035d2ded580b58258a5627a7 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 5e740dbca659eeeb1c86a8c8c1a3128c5bf66d45 (diff) | |
download | llvm-90e0bd96ff732cfec9b5fdc10ad4279b1184a394.zip llvm-90e0bd96ff732cfec9b5fdc10ad4279b1184a394.tar.gz llvm-90e0bd96ff732cfec9b5fdc10ad4279b1184a394.tar.bz2 |
Reapply r238941 - [dsymutil] Accept a YAML debug map as input instead of a binary.
With a couple more constructors that GCC thinks are necessary.
Original commit message:
[dsymutil] Accept a YAML debug map as input instead of a binary.
To do this, the user needs to pass the new -y flag.
As it wasn't tested before, the debug map YAML deserialization was
completely buggy (mainly because the DebugMapObject has a dual
mapping that allows to search by name and by address, but only the
StringMap got populated). It's fixed and tested in this commit by
augmenting some test with a 2 stage dwarf link: a frist llvm-dsymutil
reads the debug map and pipes it in a second instance that does the
actual link without touching the initial binary.
llvm-svn: 238959
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions