[dsymutil] Use YAMLIO to dump debug map.
authorFrederic Riss <friss@apple.com>
Mon, 1 Jun 2015 21:12:45 +0000 (21:12 +0000)
committerFrederic Riss <friss@apple.com>
Mon, 1 Jun 2015 21:12:45 +0000 (21:12 +0000)
commit786b471cc65c830eae0117f6e63936b0d065034d
tree63bec5c0c8917e278a4c320546637ecddcc0762b
parent3fcf5a99cbe7d7c18d235787ff8d44823754f21b
[dsymutil] Use YAMLIO to dump debug map.

Doing so will allow us to also accept a YAML debug map in input as using
YAMLIO gives us the parsing for free. Being able to have textual debug
maps will in turn allow much more control over the tests, because 1/
no need to check-in a binary containing the debug map and 2/ it will allow
to use the same objects/IR files with made-up debug-maps to test
different scenari.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238781 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/debug-map-parsing.test
tools/dsymutil/DebugMap.cpp
tools/dsymutil/DebugMap.h
tools/dsymutil/DwarfLinker.cpp