This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Handle jumping to the end in DW_OP_skip/DW_OP_bra
ClosedPublic

Authored by werat on Jul 21 2022, 9:44 AM.

Details

Summary

DW_OP_skip/DW_OP_bra can move offset to the end of the data, which means that this was the last instruction to execute and the interpreter should terminate.

Diff Detail

Event Timeline

werat created this revision.Jul 21 2022, 9:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2022, 9:44 AM
werat requested review of this revision.Jul 21 2022, 9:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2022, 9:44 AM
labath accepted this revision.Jul 21 2022, 1:09 PM
This revision is now accepted and ready to land.Jul 21 2022, 1:09 PM
This revision was automatically updated to reflect the committed changes.