This is an archive of the discontinued LLVM Phabricator instance.

[mips] Fix FDE/CFI encoding in case of N32 ABI
ClosedPublic

Authored by atanasyan on Oct 4 2018, 3:43 AM.

Details

Summary

For O32 and N32 ABI FDE/CFI encoding should be DW_EH_PE_sdata4 and only N64 ABI uses DW_EH_PE_sdata8. To cover all cases this patch check code pointer size and setup a correct FDE/CFI encoding type.

Diff Detail

Repository
rL LLVM

Event Timeline

atanasyan created this revision.Oct 4 2018, 3:43 AM
This revision is now accepted and ready to land.Oct 8 2018, 7:58 AM
This revision was automatically updated to reflect the committed changes.