[DebugInfo] Add CIE::getAugmentationData() and FDE::getCIEPointer()
authorBenjamin Maxwell <benjamin.maxwell@arm.com>
Mon, 9 Jan 2023 16:24:07 +0000 (16:24 +0000)
committerBenjamin Maxwell <benjamin.maxwell@arm.com>
Mon, 16 Jan 2023 15:38:14 +0000 (15:38 +0000)
commitcd8cac438d0f175aae88a9f412cb69317be7ffc6
tree406a520656a9860bdb126d7187b4bde72aba14bb
parentfefe655baafb9aa11ae3e2a34b19aef1f47e2b8d
[DebugInfo] Add CIE::getAugmentationData() and FDE::getCIEPointer()

Public getters are provided for other similar members of both the CIE
and FDE, these fields are also displayed by the llvm-drawfdump tool,
so it seems like not exposing them was likely an oversight.

These are needed for tools based on LLVM that need access to all the
parsed DWARF data.

Differential Revision: https://reviews.llvm.org/D141475
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h