This is an archive of the discontinued LLVM Phabricator instance.

[mips][micromips] Fix overlaping FDEs error
ClosedPublic

Authored by abeserminji on Oct 8 2018, 7:58 AM.

Details

Summary

rC325733 exposed bug which caused some tests from test-suite to fail in link time.
When compiling static executable for micromips, CFI symbols are incorrectly labeled as MICROMIPS,
which cause ".eh_frame_hdr refers to overlapping FDEs." error.

This patch does not label CFI symbols as MICROMIPS, and FDEs do not overlap anymore.
This patch also exposes another bug, which is fixed here: D52985

Diff Detail

Repository
rL LLVM

Event Timeline

abeserminji created this revision.Oct 8 2018, 7:58 AM
This revision is now accepted and ready to land.Oct 9 2018, 7:12 AM
This revision was automatically updated to reflect the committed changes.