aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-07-21 08:46:21 +0200
committerGitHub <noreply@github.com>2025-07-21 08:46:21 +0200
commitaa7ada1dfbe21a0c83474eb3de54e08eb607f8b8 (patch)
treec93ddcb957e0aa4527a72c7385b40db11a5aaedd /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent84e689b1db02be1687c3093d66ace913250780bd (diff)
downloadllvm-aa7ada1dfbe21a0c83474eb3de54e08eb607f8b8.zip
llvm-aa7ada1dfbe21a0c83474eb3de54e08eb607f8b8.tar.gz
llvm-aa7ada1dfbe21a0c83474eb3de54e08eb607f8b8.tar.bz2
[Object] Beginnings of SFrame parser and dumper (#147294)
This PR adds the SFrameParser class and uses it from llvm-readobj to dump the section contents. Currently, it only supports parsing the SFrame section header. Other parts of the section will be added in follow-up patches. llvm-readobj uses the same sframe flag syntax as GNU readelf, but I have not attempted match the output format of the tool. I'm starting with the "llvm" output format because it's easier to generate and lets us tweak the format to make it useful for testing the generation code. If needed, support for the GNU format could be added by overriding this functionality in the GNU ELF Dumper. For more information, see the [sframe specification](https://sourceware.org/binutils/wiki/sframe) and the related [RFC](https://discourse.llvm.org/t/rfc-adding-sframe-support-to-llvm/86900).
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions