This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Don't error on relocations to STT_SECTION symbols if the sections were discarded
AbandonedPublic

Authored by MaskRay on Jun 25 2019, 8:20 AM.

Details

Summary

This essentially reverts r362743, which restored r361830.

Reland D61583 [ELF] Error on relocations to STT_SECTION symbols if the sections were discarded

The reverts of this revision are tangled so it is a bit tricky to revert it.
This change keeps the goodness of D61583 while fixing the line table issue as reported in
https://bugs.chromium.org/p/chromium/issues/detail?id=978067

Event Timeline

MaskRay created this revision.Jun 25 2019, 8:20 AM
hans added a comment.Jun 25 2019, 9:26 AM

The reverts of this revision are tangled so it is a bit tricky to revert it.

I reverted already in r362743.

MaskRay abandoned this revision.Jun 26 2019, 1:43 AM