[PATCH] D80299: [DebugInfo] - Fix attempts of reading past the end of .eh_frame in DWARFDebugFrame::parse().
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 12:20:35 PDT 2020
MaskRay added inline comments.
================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:382
+ // dumper tools might need it to print something special for such entries
+ // (e.g. llvm-objdump prints "ZERO terminator").
+ if (Length == 0) {
----------------
llvm-objdump --dwarf=frames
Giving a bit more context here helps the reader.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80299/new/
https://reviews.llvm.org/D80299
More information about the llvm-commits
mailing list