llvm-lto: Add testing coverage for local contexts
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 17 Dec 2014 02:00:38 +0000 (02:00 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 17 Dec 2014 02:00:38 +0000 (02:00 +0000)
commitc524b882e428cc9ba6f9255e130ce3e58ca6e79f
tree2d86eda70dd96ad81268338a00689c2646d16924
parent7ecec5b0d4c1ef145b2382f9504bab3c6b6907eb
llvm-lto: Add testing coverage for local contexts

Add coverage in `llvm-lto` for the API exposed by libLTO to create
modules in local contexts.

The goal here isn't to test the symbol-related API extensively, just to
confirm that these modules work at all.  (I'll be shifting code around
soon that should be NFC and I realized there was no test coverage.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224408 91177308-0d34-0410-b5e6-96231b3b80d8
test/LTO/Inputs/list-symbols.ll [new file with mode: 0644]
test/LTO/list-symbols.ll [new file with mode: 0644]
tools/llvm-lto/llvm-lto.cpp