[PATCH] D132422: [BOLT][DWARF] Fix updating CU that has no entry in .debug_addr

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 17:09:46 PDT 2022


ayermolo created this revision.
Herald added subscribers: hoy, modimo, wenlei.
Herald added a reviewer: rafauler.
Herald added a reviewer: Amir.
Herald added a reviewer: maksfb.
Herald added a project: All.
ayermolo requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, yota9, sstefan1.
Herald added a project: LLVM.

We were trying to process .debug_addr for CU that doesn't have it. This resulted
in assert. Example came from GCC that also doesn't use DW_OP_addrx in
DW_FORM_exprloc.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132422

Files:
  bolt/include/bolt/Core/DebugData.h
  bolt/lib/Rewrite/DWARFRewriter.cpp
  bolt/test/X86/Inputs/dwarf5-cu-no-debug-addr-helper.s
  bolt/test/X86/Inputs/dwarf5-cu-no-debug-addr-main.s
  bolt/test/X86/dwarf5-cu-no-debug-addr.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132422.454656.patch
Type: text/x-patch
Size: 18372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220823/2fc67496/attachment.bin>


More information about the llvm-commits mailing list