This is an archive of the discontinued LLVM Phabricator instance.

[09/10] ELF/AArch64: Add tests for ADR_PREL_LO21
ClosedPublic

Authored by zatrazz on Apr 7 2015, 7:41 AM.

Details

Summary

Hi ruiu, shankarke,

This is re-post of a previous attempt. Add default and overflow checking when processing R_AARCH64_ADR_PREL_LO21 relocations.

Diff Detail

Event Timeline

zatrazz updated this revision to Diff 23337.Apr 7 2015, 7:41 AM
zatrazz retitled this revision from to [09/10] ELF/AArch64: Add tests for ADR_PREL_LO21.
zatrazz updated this object.
zatrazz edited the test plan for this revision. (Show Details)
zatrazz added reviewers: ruiu, shankar.easwaran.
zatrazz added a project: lld.
zatrazz added subscribers: Unknown Object (MLST), lld.
ruiu accepted this revision.Apr 7 2015, 9:33 AM
ruiu edited edge metadata.

LGTM

lib/ReaderWriter/ELF/AArch64/AArch64RelocationHandler.cpp
142

I believe it's correct, no? Please remove this comment.

This revision is now accepted and ready to land.Apr 7 2015, 9:33 AM
zatrazz closed this revision.Apr 21 2015, 11:15 AM