diff options
author | SivanShani-Arm <sivan.shani@arm.com> | 2025-03-18 12:29:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-18 12:29:37 +0000 |
commit | 23743f5bf974ed1171fd8123f8d2af0f43be3596 (patch) | |
tree | 980413c4a14ac351cfa7f2960add9972987e81c5 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 3d631914677b58a5479b310f480ac76e27d41e7e (diff) | |
download | llvm-23743f5bf974ed1171fd8123f8d2af0f43be3596.zip llvm-23743f5bf974ed1171fd8123f8d2af0f43be3596.tar.gz llvm-23743f5bf974ed1171fd8123f8d2af0f43be3596.tar.bz2 |
[readobj][ELFExtendedAttrParser] Add destructor with error handling (#131783)
ELFExtendedAttrParser lacked a destructor that properly handled errors,
causing `llvm-readobj --arch-specific` to crash when the AArch64 Build
Attributes section was empty.
This commit adds error handling in the destructor and introduces test
files for `--arch-specific` to cover both an empty AArch64 Build
Attributes section and a populated one.
Fixes:
https://github.com/sivan-shani/llvm-project/commit/b1ebfac1859c4fd1db3620098f6af4fd98e6174d
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions