[ELF][Reader] Add debug message to print all inputs the linker actually read.

llvm-svn: 177564
This commit is contained in:
Michael J. Spencer 2013-03-20 19:26:10 +00:00
parent da384eebe5
commit 417c19923b
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ uint16_t ELFTargetInfo::getOutputMachine() const {
}
ErrorOr<Reader &> ELFTargetInfo::getReader(const LinkerInput &input) const {
DEBUG_WITH_TYPE("inputs", llvm::dbgs() << input.getPath() << "\n");
auto buffer = input.getBuffer();
if (!buffer)
return error_code(buffer);