This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Recognize additional relocation types
ClosedPublic

Authored by phosek on Oct 13 2017, 12:10 PM.

Details

Summary

These are generated by the linker itself and it shouldn't treat
them as unrecognized. This was introduced in r315552 and is triggering
an error when building UBSan shared library for i386.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Oct 13 2017, 12:10 PM
ruiu accepted this revision.Oct 13 2017, 12:11 PM

LGTM

ELF/Arch/X86.cpp
284–302

Sort.

This revision is now accepted and ready to land.Oct 13 2017, 12:11 PM
phosek updated this revision to Diff 118955.Oct 13 2017, 12:24 PM
phosek marked an inline comment as done.
This revision was automatically updated to reflect the committed changes.