This is an archive of the discontinued LLVM Phabricator instance.

Dwarf: Fix high pc patching
ClosedPublic

Authored by yota9 on Jan 13 2022, 5:54 AM.

Details

Summary

The DW_FORM_addr form of highPC address is written in absolute addres,
the data form is written in offset-from-low pc format.

Due to the large test binary the test is prepared separately in
https://github.com/rafaelauler/bolt-tests/pull/8

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

Diff Detail

Event Timeline

yota9 requested review of this revision.Jan 13 2022, 5:54 AM
yota9 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2022, 5:54 AM
ayermolo accepted this revision.Jan 13 2022, 5:54 PM

Thanks for working on this. Sorry it took so long.

This revision is now accepted and ready to land.Jan 13 2022, 5:54 PM

Do you need help committing this?

yota9 added a comment.Jan 14 2022, 1:54 PM

Thanks, I will do it now :)

This revision was automatically updated to reflect the committed changes.