Page MenuHomePhabricator

[dsymutil] Avoid relocating DW_AT_call_pc twice

Authored by vsk on Wed, May 6, 6:10 PM.



Avoid relocating DW_AT_call_pc, e.g. when a call PC is equal to the
function's low_pc as is the case in the test:

0000000100007f94        b       __Z5func2v


Diff Detail

Event Timeline

vsk created this revision.Wed, May 6, 6:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptWed, May 6, 6:10 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
friss accepted this revision.Wed, May 6, 6:28 PM

Thanks for the test case!

This revision is now accepted and ready to land.Wed, May 6, 6:28 PM
This revision was automatically updated to reflect the committed changes.