llvm-project/llvm/lib/Bitcode/Writer
Teresa Johnson 63ee0e73e4 [ThinLTO] Parse module summary index from assembly
Summary:
Adds assembly parsing support for the module summary index (follow on
to r333335 which added the assembly writing support).

I added support to llvm-as to invoke the index parsing, so that it can
create either a bitcode file with a Module and a per-module index, or
a combined index without a Module.

I will send follow on patches soon to do the following:
- add support to tools such as llvm-lto2 to parse the per-module indexes
from assembly instead of bitcode when testing the thin link.
- verification support.

Depends on D47844 and D47842.

Reviewers: pcc, dexonsmith, mehdi_amini

Subscribers: inglorion, eraman, steven_wu, llvm-commits

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

llvm-svn: 335602
2018-06-26 13:56:49 +00:00
..
BitWriter.cpp Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
BitcodeWriter.cpp [ThinLTO] Parse module summary index from assembly 2018-06-26 13:56:49 +00:00
BitcodeWriterPass.cpp [Debugify] Don't apply DI before the bitcode writer pass 2018-06-04 00:11:49 +00:00
CMakeLists.txt
LLVMBuild.txt Add missing library dependency. 2017-06-28 00:05:27 +00:00
ValueEnumerator.cpp [STLExtras] Add distance() for ranges, pred_size(), and succ_size() 2018-05-10 23:01:54 +00:00
ValueEnumerator.h Modularize: Include some required headers 2017-11-03 20:24:19 +00:00