From 417c19923b6df781993b5a085b3931d47949753e Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Wed, 20 Mar 2013 19:26:10 +0000 Subject: [PATCH] [ELF][Reader] Add debug message to print all inputs the linker actually read. llvm-svn: 177564 --- lld/lib/ReaderWriter/ELF/ELFTargetInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/lib/ReaderWriter/ELF/ELFTargetInfo.cpp b/lld/lib/ReaderWriter/ELF/ELFTargetInfo.cpp index 776676e92b4a..3395609979c4 100644 --- a/lld/lib/ReaderWriter/ELF/ELFTargetInfo.cpp +++ b/lld/lib/ReaderWriter/ELF/ELFTargetInfo.cpp @@ -65,6 +65,7 @@ uint16_t ELFTargetInfo::getOutputMachine() const { } ErrorOr 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);