This is an archive of the discontinued LLVM Phabricator instance.

[lib/Object] - Refine interface of ELFFile<ELFT>. NFCI.
ClosedPublic

Authored by grimar on Sep 9 2020, 8:20 AM.

Details

Summary

ELFFile<ELFT> has many methods that take pointers,
though they assume that arguments are never null and
hence could take references instead.

This patch performs such clean-up.

Diff Detail