Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
149955ee
Commit
149955ee
authored
Aug 28, 2022
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUILD: support leak sanitizer builds
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
fee17fa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
configure.ac
configure.ac
+13
-1
No files found.
configure.ac
View file @
149955ee
...
...
@@ -123,6 +123,17 @@ AC_ARG_ENABLE([tsan], [AS_HELP_STRING([--enable-tsan], [build using thread sanit
])
dnl -------------------------------------------------------------------------
dnl -------------------- leak sanitizer -------------------------------------
AC_ARG_ENABLE([lsan], [AS_HELP_STRING([--enable-lsan], [build using leak sanitizer])],
[
CXXFLAGS="$CXXFLAGS -fsanitize=leak -fno-omit-frame-pointer -fstack-protector-all -fno-inline"
LDFLAGS="$LDFLAGS -llsan"
],
[
enable_lsan=no
])
dnl -------------------------------------------------------------------------
dnl -------------------- glibcxx assertions ----------------------------------
AC_ARG_ENABLE(debug-cxx,AS_HELP_STRING([--enable-debug-cxx], [setup compiler flags to do C++ STL debug checks]),
[
...
...
@@ -156,6 +167,7 @@ echo "$PACKAGE_NAME $PACKAGE_VERSION"
echo "---------------------------------------------------------------------------"
echo " Use address sanitizer. . . . . . . .: $enable_asan (for debugging)"
echo " Use undefined behaviour sanitizer. .: $enable_ubsan (for debugging)"
echo " Use thread sanitizer.. . . . . . . .: $enable_tsan (for debugging)"
echo " Use thread sanitizer . . . . . . . .: $enable_tsan (for debugging)"
echo " Use leak sanitizer . . . . . . . . .: $enable_lsan (for debugging)"
echo " Use stdc++ debug mode. . . . . . . .: $enable_debug_cxx (for debugging)"
echo " Use ffmpeg libs. . . . . . . . . . .: $with_ffmpeg (required for HLS)"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment