1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/unittests/Bitcode/CMakeLists.txt
Duncan P. N. Exon Smith 2f470a350f Rewrite BitReaderTest, NFC
Rewrite the single unit test in `BitReaderTest` so that it's easier to
add more tests.

  - Parse from an assembly string rather than using API.
  - Use more helper functions.
  - Use a separate context for the module on the other side.

Aside from relying on the assembly parser, there's no functionality
change intended.

llvm-svn: 214556
2014-08-01 21:01:04 +00:00

11 lines
125 B
CMake

set(LLVM_LINK_COMPONENTS
IRReader
BitWriter
Core
Support
)
add_llvm_unittest(BitcodeTests
BitReaderTest.cpp
)