[PATCH] D107536: [BitcodeAnalyzer] allow a motivated user to dump BLOCKINFO
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 29 12:01:49 PDT 2021
tejohnson added a comment.
Please add a test. Maybe in llvm/test/tools/llvm-bcanalyzer/ ?
================
Comment at: llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp:747
if (BlockID == bitc::BLOCKINFO_BLOCK_ID) {
- if (O)
+ if (O && !O->DumpBlockinfo)
O->OS << Indent << "<BLOCKINFO_BLOCK/>\n";
----------------
Why this change?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107536/new/
https://reviews.llvm.org/D107536
More information about the llvm-commits
mailing list