Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emper
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Schmaus
emper
Commits
c114423c
Commit
c114423c
authored
3 years ago
by
Florian Schmaus
Browse files
Options
Downloads
Patches
Plain Diff
Intermediate Commit (2022-01-15 19:40)
parent
af4ee238
No related branches found
No related tags found
No related merge requests found
Pipeline
#75689
failed
3 years ago
Stage: smoke-test
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
msan
+9
-8
9 additions, 8 deletions
msan
with
9 additions
and
8 deletions
msan
+
9
−
8
View file @
c114423c
...
@@ -29,16 +29,16 @@ printf -v MESON_MSAN_CPP_ARGS "%s," "${MSAN_FLAGS[@]}"
...
@@ -29,16 +29,16 @@ printf -v MESON_MSAN_CPP_ARGS "%s," "${MSAN_FLAGS[@]}"
# Meson's c_stdlib flag may only work for cross builds "--native-file foo.ini"
# Meson's c_stdlib flag may only work for cross builds "--native-file foo.ini"
rm
-rf
build-msan
# -Dcpp_args="${MESON_MSAN_CPP_ARGS}" \
# -Dcpp_args="${MESON_MSAN_CPP_ARGS}" \
meson
\
meson
\
--buildtype
=
debug
\
--buildtype
=
debug
\
--fatal-meson-warnings
\
--fatal-meson-warnings
\
-Db_sanitize
=
memory
\
-Db_sanitize
=
memory
\
-Db_lundef
=
false
\
-Db_lundef
=
false
\
-Dcpp_args
=
'-stdlib=libc++'
\
-Dcpp_args
=
"-stdlib=libc++ -I
${
INSTRUMENTED_LIBCXX_INC_DIR
}
-I
${
INSTRUMENTED_LIBCXX_INC_DIR
}
/c++/v1"
\
-Dcpp_args
=
-I
${
INSTRUMENTED_LIBCXX_INC_DIR
}
\
-Dcpp_link_args
=
"-stdlib=libc++ -lc++abi -L
${
INSTRUMENTED_LIBCXX_LIB_DIR
}
-Wl,--unresolved-symbols=ignore-in-shared-libs"
\
-Dcpp_args
=
-I
${
INSTRUMENTED_LIBCXX_INC_DIR
}
/c++/v1
\
-Dcpp_link_args
=
-L
${
INSTRUMENTED_LIBCXX_LIB_DIR
}
\
build-msan
build-msan
# It appears that meson is filtering -stdlib=libc++ and always selects
# It appears that meson is filtering -stdlib=libc++ and always selects
...
@@ -46,10 +46,11 @@ meson \
...
@@ -46,10 +46,11 @@ meson \
# C++ standard library.
# C++ standard library.
# NOTE: We could potentially place a complete LLVM/Clang toolchain in
# NOTE: We could potentially place a complete LLVM/Clang toolchain in
# the CI container, that has the sanitizers enabled.
# the CI container, that has the sanitizers enabled.
sed
--in-place
\
#
sed --in-place \
s/clang++/clang++
-stdlib
=
libc++/
\
#
s/clang++/clang++ -stdlib=libc++/ \
build-msan/build.ninja
#
build-msan/build.ninja
ninja
ninja
-C
build-msan
export
LD_LIBRARY_PATH
=
"
${
INSTRUMENTED_LIBCXX_LIB_DIR
}
"
export
LD_LIBRARY_PATH
=
"
${
INSTRUMENTED_LIBCXX_LIB_DIR
}
"
ninja
-C
build-msan
test
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