Add tests for new binaries DSL

This commit is contained in:
Ilya Matveev
2018-12-16 19:11:02 +07:00
parent 833e9a90a2
commit 7b1552f3d6
18 changed files with 465 additions and 10 deletions
@@ -199,11 +199,13 @@ class Framework(
/**
* Enable or disable embedding bitcode for the framework.
* The parameter [mode] is one of the following string constants:
*
* @param mode - one of the following string constants:
* disable - Don't embed LLVM IR bitcode.
* bitcode - Embed LLVM IR bitcode as data. Has the same effect as the -Xembed-bitcode command line option.
* marker - Embed placeholder LLVM IR data as a marker. Has the same effect as the -Xembed-bitcode-marker command line option.
* bitcode - Embed LLVM IR bitcode as data.
* Has the same effect as the -Xembed-bitcode command line option.
* marker - Embed placeholder LLVM IR data as a marker.
* Has the same effect as the -Xembed-bitcode-marker command line option.
*/
fun embedBitcode(mode: String) = embedBitcode(BitcodeEmbeddingMode.valueOf(mode.toUpperCase()))