[PATCH] D35936: [ELF] - Move getSymbols() methods to InputFile.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 02:31:20 PDT 2017


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

LGTM



================
Comment at: ELF/InputFiles.h:87
+  // Returns object file symbols. It is a runtime error to call this function
+  // on files not of ArchiveKind/BitcodeKind/ObjectKind types.
+  ArrayRef<SymbolBody *> getSymbols() {
----------------
on files not of ... types -> on files of other types.

as what "other types" means is obvious.


https://reviews.llvm.org/D35936





More information about the llvm-commits mailing list