This is an archive of the discontinued LLVM Phabricator instance.

[LLD] [COFF] Error out if 20 bit thumb branches are out of range
ClosedPublic

Authored by mstorsjo on Dec 13 2017, 2:25 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Dec 13 2017, 2:25 AM
compnerd accepted this revision.Dec 13 2017, 9:44 AM
This revision is now accepted and ready to land.Dec 13 2017, 9:44 AM
ruiu accepted this revision.Dec 13 2017, 12:42 PM

We should use error() instead of fatal() in this case because the error is not caused by corrupted input files. That said, this patch is LGTM because we use fatal() for other relocations in this file.

This revision was automatically updated to reflect the committed changes.