This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][DWARF] Fix updating CU that has no entry in .debug_addr
ClosedPublic

Authored by ayermolo on Aug 22 2022, 5:09 PM.

Details

Summary

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.

Diff Detail

Event Timeline

ayermolo created this revision.Aug 22 2022, 5:09 PM
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added subscribers: hoy, modimo, wenlei. · View Herald Transcript
ayermolo requested review of this revision.Aug 22 2022, 5:09 PM
Herald added a project: Restricted Project. · View Herald Transcript
maksfb accepted this revision.Aug 25 2022, 2:01 PM

LGTM

This revision is now accepted and ready to land.Aug 25 2022, 2:01 PM