Skip to content
Snippets Groups Projects
Commit f6d67a88 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'sanitizer_ci_targets' into 'master'

Add sanitizer CI targets

See merge request i4/manycore/emper!35
parents 6a50f4c9 e6455bb5
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,33 @@ variables:
variables:
EMPER_USERSPACE_RCU: 'true'
.default-library-static:
variables:
EMPER_DEFAULT_LIBRARY: 'static'
.clang-sanitizer:
extends:
- .clang
- .default-library-static
.clang-sanitizer-undefined:
extends:
- .clang-sanitizer
variables:
EMPER_B_SANITIZE: 'undefined'
#.clang-sanitizer-memory:
# extends:
# - .clang-sanitizer
# variables:
# EMPER_B_SANITIZE: 'memory'
#.sanitizer-address:
# extends:
# - .default-library-static
# variables:
# EMPER_B_SANITIZE: 'address'
.release-build:
variables:
BUILDTYPE: release
......@@ -114,3 +141,19 @@ test-with-userspace-rcu:
extends:
- .test
- .emper-userspace-rcu
test-clang-sanitizer-undefined:
extends:
- .test
- .clang-sanitizer-undefined
#test-clang-sanitizer-memory:
# extends:
# - .test
# - .clang-sanitizer-memory
#test-clang-sanitizer-address:
# extends:
# - .test
# - .clang
# - .sanitizer-address
......@@ -15,7 +15,7 @@ void worker_log(const std::string& prefix, const std::string& message) {
const workerid_t workerId = Runtime::getWorkerId();
std::unique_lock<std::mutex> lock(worker_log_mutex);
std::cerr << (unsigned int)workerId;
std::cerr << workerId;
if (!prefix.empty()) {
std::cerr << " " << prefix << " ";
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment