This is an archive of the discontinued LLVM Phabricator instance.

ELF: Inline function LazyObjFile::getBuffer() into caller. NFCI.
Needs ReviewPublic

Authored by pcc on Aug 8 2018, 1:22 PM.

Details

Summary

It's a little confusing for a function named getSomething() to be
mutating anything. Inlining this function should make it a little
clearer what's going on.

Diff Detail