Skip to content

Commit c7490af

Browse files
build lsan with -gline-tables-only (#65424) (#66129)
1 parent b5ec827 commit c7490af

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

utils/build-presets.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,11 @@ sourcekit-lsp=0
11871187
[preset: buildbot_incremental_linux,lsan,tools=RDA,stdlib=RDA,test=no]
11881188
build-subdir=buildbot_incremental_lsan
11891189

1190+
# Reduce the size of the final toolchain, limit debug info
1191+
extra-cmake-options=
1192+
-DCMAKE_C_FLAGS="-gline-tables-only"
1193+
-DCMAKE_CXX_FLAGS="-gline-tables-only"
1194+
11901195
release-debuginfo
11911196
assertions
11921197
enable-lsan
@@ -1197,6 +1202,11 @@ reconfigure
11971202
[preset: buildbot_incremental_linux,lsan,tools=RDA,stdlib=DA,test=no]
11981203
build-subdir=buildbot_incremental_lsan
11991204

1205+
# Reduce the size of the final toolchain, limit debug info
1206+
extra-cmake-options=
1207+
-DCMAKE_C_FLAGS="-gline-tables-only"
1208+
-DCMAKE_CXX_FLAGS="-gline-tables-only"
1209+
12001210
llvm-cmake-options=-DLLVM_PARALLEL_LINK_JOBS=12
12011211
swift-cmake-options=-DSWIFT_PARALLEL_LINK_JOBS=12
12021212

0 commit comments

Comments
 (0)