OSDN Git Service

Add llvm-modextract tool.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 29 Nov 2016 21:54:33 +0000 (21:54 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 29 Nov 2016 21:54:33 +0000 (21:54 +0000)
commitc67ca17e5ea0b0313dca10fb434d39082b6508ce
tree05e99bd7607fa4fe5edcef89be5be4bde7a27e18
parent649bcb99b411344ab6b765c17848f68db96761f4
Add llvm-modextract tool.

This program is for testing features that rely on multi-module bitcode files.
It takes a multi-module bitcode file, extracts one of the modules and writes
it to the output file.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288201 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitcodeReader.h
test/CMakeLists.txt
test/lit.cfg
test/tools/llvm-modextract/single.ll [new file with mode: 0644]
tools/LLVMBuild.txt
tools/llvm-modextract/CMakeLists.txt [new file with mode: 0644]
tools/llvm-modextract/LLVMBuild.txt [new file with mode: 0644]
tools/llvm-modextract/llvm-modextract.cpp [new file with mode: 0644]