COFF: Print directive section contents if /verbose.
llvm-svn: 241384
This commit is contained in:
parent
78937c2ae5
commit
a3d463df6f
|
@ -101,8 +101,12 @@ std::error_code SymbolTable::readObjects() {
|
||||||
if (auto EC = addSymbol(Sym))
|
if (auto EC = addSymbol(Sym))
|
||||||
return EC;
|
return EC;
|
||||||
StringRef S = File->getDirectives();
|
StringRef S = File->getDirectives();
|
||||||
if (!S.empty())
|
if (!S.empty()) {
|
||||||
Directives.push_back(S);
|
Directives.push_back(S);
|
||||||
|
if (Config->Verbose)
|
||||||
|
llvm::outs() << "Directives: " << File->getShortName()
|
||||||
|
<< ": " << S << "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ObjectQueue.clear();
|
ObjectQueue.clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue