aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-01-20 19:03:14 +0000
committerChris Bieneman <beanz@apple.com>2017-01-20 19:03:14 +0000
commit2e752db47a727f7c115f8283e136daf485fcc886 (patch)
tree2ecb943858e98932b02762c00565208caff35626 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent201b191b82858d2055e92ca8289082ce44ee8bb0 (diff)
downloadllvm-2e752db47a727f7c115f8283e136daf485fcc886.zip
llvm-2e752db47a727f7c115f8283e136daf485fcc886.tar.gz
llvm-2e752db47a727f7c115f8283e136daf485fcc886.tar.bz2
[DWARF] [ObjectYAML] Adding APIs for unittesting
Summary: This patch adds some new APIs to enable using the YAML DWARF representation in unit tests. The most basic new API is DWARFYAML::EmitDebugSections which converts a YAML string into a series of owned MemoryBuffer objects stored in a StringMap. The string map can then be used to construct a DWARFContext for parsing in place of an ObjectFile. Reviewers: dblaikie, clayborg Subscribers: mgorny, fhahn, jgosnell, aprantl, llvm-commits Differential Revision: https://reviews.llvm.org/D28828 llvm-svn: 292634
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions