forked from OSchip/llvm-project
[ELF][Reader] Add debug message to print all inputs the linker actually read.
llvm-svn: 177564
This commit is contained in:
parent
da384eebe5
commit
417c19923b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue