]> granicus.if.org Git - llvm/commit
Merging r344516:
authorTom Stellard <tstellar@redhat.com>
Fri, 16 Nov 2018 04:22:24 +0000 (04:22 +0000)
committerTom Stellard <tstellar@redhat.com>
Fri, 16 Nov 2018 04:22:24 +0000 (04:22 +0000)
commit7515784defa9816244a243edb6cb070386525fa5
tree191f10b6483751660dd1ab8945f76d4134c8776d
parent7d87789bb6f9c5246c8dd8daf93fcaef6471abaf
Merging r344516:

------------------------------------------------------------------------
r344516 | abeserminji | 2018-10-15 07:39:12 -0700 (Mon, 15 Oct 2018) | 12 lines

[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

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@347023 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
test/DebugInfo/Mips/eh_frame.ll [new file with mode: 0644]