Skip to content

Commit db30ee5

Browse files
build lsan with -gline-tables-only (#65424) (#65435)
1 parent a4b8af4 commit db30ee5

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
@@ -1205,6 +1205,11 @@ sourcekit-lsp=0
12051205
[preset: buildbot_incremental_linux,lsan,tools=RDA,stdlib=RDA,test=no]
12061206
build-subdir=buildbot_incremental_lsan
12071207

1208+
# Reduce the size of the final toolchain, limit debug info
1209+
extra-cmake-options=
1210+
-DCMAKE_C_FLAGS="-gline-tables-only"
1211+
-DCMAKE_CXX_FLAGS="-gline-tables-only"
1212+
12081213
release-debuginfo
12091214
assertions
12101215
enable-lsan
@@ -1215,6 +1220,11 @@ reconfigure
12151220
[preset: buildbot_incremental_linux,lsan,tools=RDA,stdlib=DA,test=no]
12161221
build-subdir=buildbot_incremental_lsan
12171222

1223+
# Reduce the size of the final toolchain, limit debug info
1224+
extra-cmake-options=
1225+
-DCMAKE_C_FLAGS="-gline-tables-only"
1226+
-DCMAKE_CXX_FLAGS="-gline-tables-only"
1227+
12181228
llvm-cmake-options=-DLLVM_PARALLEL_LINK_JOBS=12
12191229
swift-cmake-options=-DSWIFT_PARALLEL_LINK_JOBS=12
12201230

0 commit comments

Comments
 (0)