llvm-readobj crashes when -S --section-symbols is used
on an object that has no symbol table.
The patch fixes it.
Depends on D86462.
Paths
| Differential D86520
[llvm-readobj] - Don`t crash when --section-symbols is requested for an object w/o .symtab. ClosedPublic Authored by grimar on Aug 25 2020, 3:53 AM.
Details Summary llvm-readobj crashes when -S --section-symbols is used The patch fixes it. Depends on D86462.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 25 2020, 4:12 PM Closed by commit rG7749e2de20d8: [llvm-readobj] - Don`t crash when --section-symbols is requested for an object… (authored by grimar). · Explain WhyAug 26 2020, 4:13 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 287913 llvm/test/tools/llvm-readobj/ELF/sections-ext.test
llvm/tools/llvm-readobj/ELFDumper.cpp
|