[PATCH] D64116: [llvm-bcanalyzer] Refactor and move to libLLVMBitReader

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 17:47:30 PDT 2019


thegameg created this revision.
thegameg added reviewers: jfb, dblaikie, pcc, JDevlieghere, steven_wu.
Herald added subscribers: dkrupp, donat.nagy, Szelethus, dexonsmith, a.sidorin, baloghadamsoftware, hiraditya, mgorny.
Herald added a project: LLVM.
thegameg added a parent revision: D63899: [Bitcode] Move Bitstream to a separate library.
thegameg added a child revision: D63466: [Remarks] Add an LLVM-bitstream-based remark serializer.

This allows us to use the analyzer from unit tests.

- Refactor the interface to use proper error handling for most functions after JF's work.
- Move everything into a BitstreamAnalyzer class.
- Move that to Bitcode/BitcodeAnalyzer.h.


https://reviews.llvm.org/D64116

Files:
  llvm/include/llvm/Bitcode/BitcodeAnalyzer.h
  llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  llvm/lib/Bitcode/Reader/CMakeLists.txt
  llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64116.207672.patch
Type: text/x-patch
Size: 80414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190703/1852c9d6/attachment-0001.bin>


More information about the llvm-commits mailing list