[PATCH] D44516: [ELF] - Treat --just-symbols file as an input.

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 15 21:00:08 PDT 2018


espindola accepted this revision.
espindola added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: ELF/InputFiles.cpp:293
+  ArrayRef<Elf_Shdr> Sections =
+      CHECK(this->getObj().sections(), toString(this));
+
----------------
I think you can pass just "this" to CHECK instead of "toString(this)".

There are a few more cases in this function.


https://reviews.llvm.org/D44516





More information about the llvm-commits mailing list