HomePhabricator

[mips][micromips] Fix overlaping FDEs error

Authored by abeserminji on Oct 15 2018, 5:59 AM.

Description

[mips][micromips] Fix overlaping FDEs error

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: https://reviews.llvm.org/D52985

Differential Revision: https://reviews.llvm.org/D52987

llvm-svn: 344511

Details

Committed
abeserminjiOct 15 2018, 5:59 AM
Differential Revision
D52987: [mips][micromips] Fix overlaping FDEs error
Parents
rG82ba7121e8f2: [clangd] Remove an unused include header, NFC.
Branches
Unknown
Tags
Unknown