Skip to content

Commit 4a367a0

Browse files
committed
[utils][presets] Build libc++ for LLDB on linux
We pass `-stdlib=libc++` in the test-suite to Clang for many of our tests because we want to explicilty test against libc++ type layouts. However, if we don't do this against a newly built libc++ we risk testing against old/unexpected layouts or if libc++ isn't available on the system, falling back to the system libstdc++. This patch adds libcxx as an explicit target in the preset so the tests build against a fresh libc++ (as we do for our other LLDB presets too).
1 parent 9a8f8d0 commit 4a367a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/build-presets.ini

+2
Original file line numberDiff line numberDiff line change
@@ -3066,6 +3066,8 @@ mixin-preset=
30663066
sourcekit_stress_test_mixin
30673067

30683068
[preset: linux_lldb]
3069+
# Build libcxx for tests
3070+
libcxx
30693071
lldb
30703072
foundation
30713073
libdispatch

0 commit comments

Comments
 (0)