[llvm-readobj] Simplify usage of -codeview flag

llvm-svn: 255790
This commit is contained in:
Reid Kleckner
2015-12-16 18:18:39 +00:00
parent 2c5712051b
commit d37fe9acb5
3 changed files with 16 additions and 7 deletions

View File

@@ -354,6 +354,8 @@ static void dumpObject(const ObjectFile *Obj) {
Dumper->printCOFFDirectives();
if (opts::COFFBaseRelocs)
Dumper->printCOFFBaseReloc();
if (opts::CodeView)
Dumper->printCodeViewDebugInfo();
}
if (Obj->isMachO()) {
if (opts::MachODataInCode)