Chris Bieneman
abecaa2f8c
Revert "[ObjectYAML] Support for DWARF debug_info section"
...
This reverts commit r290204.
Still breaking bots... In a meeting now, so I can't fix it immediately.
Bot URL:
http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/2415
llvm-svn: 290209
2016-12-20 22:36:42 +00:00
Chris Bieneman
ffc4aef542
[ObjectYAML] Support for DWARF debug_info section
...
This patch adds support for YAML<->DWARF for debug_info sections.
This re-lands r290147, after fixing the issue that caused bots to fail (thank you UBSan!).
llvm-svn: 290204
2016-12-20 21:35:31 +00:00
Chris Bieneman
891cbcc093
Revert "[ObjectYAML] Support for DWARF debug_info section"
...
This reverts commit r290147.
This commit is breaking a bot (http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/621 ). I don't have time to investigate at the moment, so I'll revert for now.
llvm-svn: 290148
2016-12-20 00:42:06 +00:00
Chris Bieneman
b5b0b23a25
[ObjectYAML] Support for DWARF debug_info section
...
This patch adds support for YAML<->DWARF for debug_info sections.
llvm-svn: 290147
2016-12-20 00:26:24 +00:00
Chris Bieneman
d9430944f4
[ObjectYAML] Support for DWARF Pub Sections
...
This patch adds support for YAML<->DWARF round tripping for pub* section data. The patch supports both GNU and non-GNU style entries.
llvm-svn: 290139
2016-12-19 22:22:12 +00:00
Chris Bieneman
313b326bb6
[ObjectYAML] Support for DWARF debug_aranges
...
This patch adds support for round tripping DWARF debug_aranges in and out of YAML.
llvm-svn: 289161
2016-12-09 00:26:44 +00:00
Chris Bieneman
fbf7dfe1ba
[ObjectYAML] Remove DWARF from class names
...
Since all the DWARF classes are in a DWARFYAML namespace having every class start with DWARF seems like a bit of overkill.
llvm-svn: 289080
2016-12-08 17:46:57 +00:00
Chris Bieneman
79e60eb948
[ObjectYAML] Pull DWARF support into DWARFYAML namespace
...
Since DWARF formatting is agnostic to the object file it is stored in, it doesn't make sense for this to be in the MachOYAML implementation. Pulling it into its own namespace means we could modify the ELF and COFF YAML tools to emit DWARF as well.
In a follow-up patch I will better abstract this in obj2yaml and yaml2obj so that the DWARF bits in the tools can be re-used too.
llvm-svn: 288984
2016-12-07 21:26:32 +00:00