diff options
author | Kuba Mracek <mracek@apple.com> | 2017-04-28 04:55:35 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2017-04-28 04:55:35 +0000 |
commit | d53a2b5d96571c4120c1bd69ab5d406926acd5f1 (patch) | |
tree | 04268f6a6cf64015b3e665f995053d8dce184346 /test/asan/lit.cfg | |
parent | 33780624aebb9e414150ca504b734742552e6f7a (diff) |
[asan] Add a compilation wrapper that codesigns shared libraries to support iOS simulator testing
Tests that run on the iOS simulator require the dlopen'd dylibs are codesigned. This patch adds the "iossim_compile.py" wrapper that codesigns any produces dylib.
Differential Revision: https://reviews.llvm.org/D32561
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@301617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/lit.cfg')
-rw-r--r-- | test/asan/lit.cfg | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/asan/lit.cfg b/test/asan/lit.cfg index 7d684a1ae..b433a91e8 100644 --- a/test/asan/lit.cfg +++ b/test/asan/lit.cfg @@ -108,14 +108,12 @@ if platform.system() == 'Windows': asan_lit_source_dir = get_required_attr(config, "asan_lit_source_dir") if config.android == "1": config.available_features.add('android') - clang_wrapper = os.path.join(asan_lit_source_dir, - "android_commands", "android_compile.py") + " " + compile_wrapper = os.path.join(asan_lit_source_dir, "android_commands", "android_compile.py") + " " else: config.available_features.add('not-android') - clang_wrapper = "" def build_invocation(compile_flags): - return " " + " ".join([clang_wrapper, config.clang] + compile_flags) + " " + return " " + " ".join([config.compile_wrapper, config.clang] + compile_flags) + " " # Clang driver link 'x86' (i686) architecture to 'i386'. target_arch = config.target_arch |