Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libxslt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
libraries
libxslt
Commits
9001c7f5542b
Commit
9001c7f5542b
authored
2 years ago
by
Nick Wellnhofer
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci: Reenable MSan and LeakSanitizer
parent
075286e51f9a
Loading
Loading
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-7
6 additions, 7 deletions
.gitlab-ci.yml
.gitlab-ci/llvm-symbolizer
+9
-0
9 additions, 0 deletions
.gitlab-ci/llvm-symbolizer
with
15 additions
and
7 deletions
.gitlab-ci.yml
+
6
−
7
View file @
9001c7f5
...
@@ -24,7 +24,9 @@
...
@@ -24,7 +24,9 @@
clang:asan
:
clang:asan
:
extends
:
.test
extends
:
.test
tags
:
-
asan
variables
:
variables
:
CONFIG
:
"
--without-python"
CONFIG
:
"
--without-python"
CC
:
clang
CC
:
clang
CFLAGS
:
"
-O2
-g
-fno-omit-frame-pointer
-fsanitize=address,undefined,unsigned-integer-overflow,implicit-conversion
-fno-sanitize-recover=all
-Wno-error=cast-align"
CFLAGS
:
"
-O2
-g
-fno-omit-frame-pointer
-fsanitize=address,undefined,unsigned-integer-overflow,implicit-conversion
-fno-sanitize-recover=all
-Wno-error=cast-align"
...
@@ -27,7 +29,5 @@
...
@@ -27,7 +29,5 @@
variables
:
variables
:
CONFIG
:
"
--without-python"
CONFIG
:
"
--without-python"
CC
:
clang
CC
:
clang
CFLAGS
:
"
-O2
-g
-fno-omit-frame-pointer
-fsanitize=address,undefined,unsigned-integer-overflow,implicit-conversion
-fno-sanitize-recover=all
-Wno-error=cast-align"
CFLAGS
:
"
-O2
-g
-fno-omit-frame-pointer
-fsanitize=address,undefined,unsigned-integer-overflow,implicit-conversion
-fno-sanitize-recover=all
-Wno-error=cast-align"
# LeakSanitizer requires SYS_CAP_PTRACE
ASAN_OPTIONS
:
"
detect_leaks=0"
UBSAN_OPTIONS
:
"
print_stacktrace=1"
UBSAN_OPTIONS
:
"
print_stacktrace=1"
...
@@ -33,2 +33,3 @@
...
@@ -33,2 +33,3 @@
UBSAN_OPTIONS
:
"
print_stacktrace=1"
UBSAN_OPTIONS
:
"
print_stacktrace=1"
ASAN_SYMBOLIZER_PATH
:
"
$CI_PROJECT_DIR/.gitlab-ci/llvm-symbolizer"
...
@@ -34,4 +35,3 @@
...
@@ -34,4 +35,3 @@
# Disabled, MSan seems broken on Ubntu 22.04
clang:msan
:
.clang:msan
:
extends
:
.test
extends
:
.test
...
@@ -37,6 +37,4 @@
...
@@ -37,6 +37,4 @@
extends
:
.test
extends
:
.test
only
:
-
schedules
variables
:
variables
:
CONFIG
:
"
--without-python
--without-zlib
--without-lzma
--without-crypto"
CONFIG
:
"
--without-python
--without-zlib
--without-lzma
--without-crypto"
CC
:
clang
CC
:
clang
...
@@ -40,7 +38,8 @@
...
@@ -40,7 +38,8 @@
variables
:
variables
:
CONFIG
:
"
--without-python
--without-zlib
--without-lzma
--without-crypto"
CONFIG
:
"
--without-python
--without-zlib
--without-lzma
--without-crypto"
CC
:
clang
CC
:
clang
CFLAGS
:
"
-O2
-g
-fno-omit-frame-pointer
-fsanitize=memory
-Wimplicit-int-conversion
-Wno-error=cast-align"
CFLAGS
:
"
-O2
-g
-fno-omit-frame-pointer
-fsanitize=memory
-Wno-error=cast-align"
MSAN_SYMBOLIZER_PATH
:
"
$CI_PROJECT_DIR/.gitlab-ci/llvm-symbolizer"
.mingw
:
.mingw
:
tags
:
tags
:
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci/llvm-symbolizer
0 → 100755
+
9
−
0
View file @
9001c7f5
#!/bin/sh
# Newer versions of llvm-symbolizer require libxml2 themselves. Running
# a test program with LD_LIBRARY_PATH set to .libs makes llvm-symbolizer
# pick up the tested development version of libxml2 which breaks
# completely if the build is instrumented with ASan. This wrapper script
# invokes llvm-symbolizer with an empty LD_LIBRARY_PATH.
LD_LIBRARY_PATH
=
''
llvm-symbolizer
"
$@
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment