OSDN Git Service

[ObjectYAML] Support for DWARF line tables
authorChris Bieneman <beanz@apple.com>
Mon, 9 Jan 2017 20:01:37 +0000 (20:01 +0000)
committerChris Bieneman <beanz@apple.com>
Mon, 9 Jan 2017 20:01:37 +0000 (20:01 +0000)
commitb7b948cda33c7e29886c29c869f9e5bae6488680
treed553628286202903f0dd6f4b0c5cb03985057d31
parentfe1696d23d0123408c4b5e1eeb5232de993c92c7
[ObjectYAML] Support for DWARF line tables

This patch adds support for the DWARF debug_lines section. The line table state machine opcodes are preserved, so this can be used to test the state machine evaluation directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291470 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ObjectYAML/DWARFYAML.h
include/llvm/ObjectYAML/MachOYAML.h
lib/ObjectYAML/DWARFYAML.cpp
test/ObjectYAML/MachO/DWARF-debug_info.yaml
test/ObjectYAML/MachO/DWARF-debug_line.yaml [new file with mode: 0644]
tools/obj2yaml/dwarf2yaml.cpp
tools/yaml2obj/yaml2dwarf.cpp
tools/yaml2obj/yaml2macho.cpp
tools/yaml2obj/yaml2obj.h