HomePhabricator

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

Authored by grimar on Wed, Sep 9, 7:03 AM.

Description

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

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.

Differential revision: https://reviews.llvm.org/D87385