Skip to content

Commit f781959

Browse files
build lsan with -gline-tables-only (#65424)
1 parent dd0531e commit f781959

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
@@ -1211,6 +1211,11 @@ sourcekit-lsp=0
12111211
[preset: buildbot_incremental_linux,lsan,tools=RDA,stdlib=RDA,test=no]
12121212
build-subdir=buildbot_incremental_lsan
12131213

1214+
# Reduce the size of the final toolchain, limit debug info
1215+
extra-cmake-options=
1216+
-DCMAKE_C_FLAGS="-gline-tables-only"
1217+
-DCMAKE_CXX_FLAGS="-gline-tables-only"
1218+
12141219
release-debuginfo
12151220
assertions
12161221
enable-lsan
@@ -1221,6 +1226,11 @@ reconfigure
12211226
[preset: buildbot_incremental_linux,lsan,tools=RDA,stdlib=DA,test=no]
12221227
build-subdir=buildbot_incremental_lsan
12231228

1229+
# Reduce the size of the final toolchain, limit debug info
1230+
extra-cmake-options=
1231+
-DCMAKE_C_FLAGS="-gline-tables-only"
1232+
-DCMAKE_CXX_FLAGS="-gline-tables-only"
1233+
12241234
llvm-cmake-options=-DLLVM_PARALLEL_LINK_JOBS=12
12251235
swift-cmake-options=-DSWIFT_PARALLEL_LINK_JOBS=12
12261236

0 commit comments

Comments
 (0)