[PATCH] D52987: [mips][micromips] Fix overlaping FDEs error

Aleksandar Beserminji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 8 07:58:41 PDT 2018


abeserminji created this revision.
abeserminji added reviewers: petarj, atanasyan.
Herald added subscribers: jrtc27, arichardson, sdardis.

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


Repository:
  rL LLVM

https://reviews.llvm.org/D52987

Files:
  lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
  lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
  test/DebugInfo/Mips/eh_frame.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52987.168650.patch
Type: text/x-patch
Size: 3570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181008/49038b7d/attachment.bin>


More information about the llvm-commits mailing list