This patch adds support for DWARFv5 .debug_line_str table.
It replaces code generating line table. Instead of copying original
table and patching certain places this patch implements full line table
generation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. I left some nits inline. You also have a few places where you use the names from the DWARF standard (e.g. directory_entry_format_count) while in other places you use the name of the variable in the Prologue class (e.g. SegSelectorSize instead of segment_selector_size). It would be nice to consistently use the ones from the spec to make cross referencing easier.
llvm/include/llvm/DWARFLinker/DWARFLinker.h | ||
---|---|---|
751 | ||
llvm/include/llvm/DWARFLinker/DWARFStreamer.h | ||
233–254 | ||
llvm/lib/DWARFLinker/DWARFStreamer.cpp | ||
665 | spurious newline | |
672 | Any reason you use P.FormParams.Version and not P.getVersion()? |