This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Cleanup Target::getTlsGotRel using logic
AbandonedPublic

Authored by grimar on Feb 4 2016, 3:43 AM.

Details

Reviewers
ruiu
rafael
Summary

Previously getTlsGotRel(unsigned Type = -1) had a bit confusing
behavior. It returned different result depending on argument, assuming
that if there is no argument then it was a dynamic relocation branch case.
This patch simplifies the logic a bit.

Diff Detail

Event Timeline

grimar updated this revision to Diff 46889.Feb 4 2016, 3:43 AM
grimar retitled this revision from to [ELF] - Cleanup Target::getTlsGotRel using logic.
grimar updated this object.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.
grimar abandoned this revision.Feb 11 2016, 3:29 AM

http://reviews.llvm.org/D16880 was commited which consumed this one.