Skip to content

Commit c05cd2a

Browse files
committed
Build the lldb asan tests with the system compiler
1 parent 3de98b6 commit c05cd2a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

zorg/jenkins/jobs/jobs/lldb-cmake-sanitized

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,14 @@ pipeline {
103103
# Running too many asanified threads is too stressful for the kernel and we get >90% system time.
104104
export MAX_PARALLEL_TESTS=$(sysctl hw.physicalcpu |awk '{print int(($2+1)/2)}')
105105
106+
# Using the system compiler to compile the LLDB tests. By default macOS does
107+
# not allow loading the ASAN runtime into system binaries.
106108
python3 llvm-zorg/zorg/jenkins/monorepo_build.py lldb-cmake-sanitized build \
107109
--assertions \
108110
--projects="clang;lld;lldb" \
109111
--runtimes="libcxx;libcxxabi;libunwind" \
110-
--cmake-type=Release
112+
--cmake-type=Release \
113+
--lldb-test-compiler=$(xcrun -find clang)
111114
'''
112115
script {
113116
def LLDB = new org.swift.LLDB()

0 commit comments

Comments
 (0)