forked from OSchip/llvm-project
[codeview] Don't dump type stream bytes unless asked to
llvm-svn: 268271
This commit is contained in:
parent
b56d904433
commit
b2bd28128d
|
@ -1982,7 +1982,8 @@ void COFFDumper::printCodeViewTypeSection(StringRef SectionName,
|
|||
W.printNumber("Section", SectionName, Obj->getSectionID(Section));
|
||||
StringRef Data;
|
||||
error(Section.getContents(Data));
|
||||
W.printBinaryBlock("Data", Data);
|
||||
if (opts::CodeViewSubsectionBytes)
|
||||
W.printBinaryBlock("Data", Data);
|
||||
|
||||
unsigned Magic = *reinterpret_cast<const ulittle32_t *>(Data.data());
|
||||
W.printHex("Magic", Magic);
|
||||
|
|
Loading…
Reference in New Issue