dwarf_loader: Merged CU hash table fix and sizing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dwarf_loader: Keep the hash table size in struct dwarf_cudwarf_loader.c | +26 | 0 replies | |
| 2/2 | dwarf_loader: Size merged CU hash tables from the amount of DWARFdwarf_loader.c man-pages/ | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH dwarves 0/2] dwarf_loader: Merged CU hash table fix and sizing
Patch 1 fixes an out-of-bounds read when a merged CU looks up .debug_types, and stops the merged table size from leaking into the CUs loaded after it. Patch 2 sizes the merged CU tables from .debug_info, which makes BTF encoding of a ThinLTO vmlinux 17% faster.
tests/ gives the same per-test results with and without the series here (75 tests: 52 ok, 16 failed, 7 skipped); the failures happen on master as well. inter_cu_refs.sh and dwz_alt_file.sh, which skip here for lack of a perf with DWARF and of dwz, pass when run with both.
ElXreno (2):
dwarf_loader: Keep the hash table size in struct dwarf_cu
dwarf_loader: Size merged CU hash tables from the amount of DWARF
dwarf_loader.c | 70 +++++++++++++++++++++++++++++----------------- man-pages/pahole.1 | 4 +-- 2 files changed, 47 insertions(+), 27 deletions(-)
base-commit: c23e8b30c6dee2f7fd8aa07e9c49e8e4f31bc16c
Signature · 1 line
2.55.0