3 Commits

Author SHA1 Message Date
Francis Visoiu Mistrih
4f80e373f5 [Bitcode] Explicitly include Bitstream/BitCodes.h and BitstreamWriter.h
This fixes a modules issue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365580 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-09 23:20:01 +00:00
Francis Visoiu Mistrih
bb7d03ce5b [Bitcode][NFC] Remove unused variable from BitcodeAnalyzer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365340 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-08 16:19:45 +00:00
Francis Visoiu Mistrih
767b1fe69e [llvm-bcanalyzer] Refactor and move to libLLVMBitReader
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.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365286 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-08 02:06:34 +00:00