[all-commits] [llvm/llvm-project] e7fc25: [BitcodeAnalyzer] allow a motivated user to dump B...

William Woodruff via All-commits all-commits at lists.llvm.org
Sat Oct 9 21:51:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7fc254875ca9e82b899d5354fae9b5b779ff485
      https://github.com/llvm/llvm-project/commit/e7fc254875ca9e82b899d5354fae9b5b779ff485
  Author: william woodruff <william at yossarian.net>
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  Changed paths:
    M llvm/include/llvm/Bitcode/BitcodeAnalyzer.h
    M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
    A llvm/test/Other/bcanalyzer-dump-blockinfo-option.txt
    M llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

  Log Message:
  -----------
  [BitcodeAnalyzer] allow a motivated user to dump BLOCKINFO

This adds the `--dump-blockinfo` flag to `llvm-bcanalyzer`, allowing a sufficiently motivated user to dump (parts of) the `BLOCKINFO_BLOCK` block. The default behavior is unchanged, and `--dump-blockinfo` only takes effect in the same context as other flags that control dump behavior (i.e., requires that `--dump` is also passed).

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D107536




More information about the All-commits mailing list