Skip to content

Commit 9ae449c

Browse files
authored
Merge pull request #818 from wasmx/ci-sanitizers
ci: Reenable disabled sanitizer options in sanitizers-gcc
2 parents ee99be7 + f757ac0 commit 9ae449c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

circle.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,7 @@ commands:
264264
working_directory: ~/build
265265
command: |
266266
set +e
267-
# TODO: Value 2 causes failures in standard library, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97415.
268-
export ASAN_OPTIONS=detect_invalid_pointer_pairs=1
267+
export ASAN_OPTIONS=detect_invalid_pointer_pairs=2
269268
expected=" PASSED <<parameters.expected_passed>>, FAILED <<parameters.expected_failed>>, SKIPPED <<parameters.expected_skipped>>."
270269
result=$(bin/fizzy-spectests <<#parameters.skip_validation>>--skip-validation<</parameters.skip_validation>> json | tail -1)
271270
echo $result
@@ -450,9 +449,7 @@ jobs:
450449
executor: linux-gcc-latest
451450
environment:
452451
CMAKE_BUILD_PARALLEL_LEVEL: 2
453-
# TODO: Enable detect_stack_use_after_return=1 with GCC11: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97414.
454-
# TODO: Enable detect_invalid_pointer_pairs=2 with GCC11: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97415.
455-
ASAN_OPTIONS: detect_invalid_pointer_pairs=1:check_initialization_order=1
452+
ASAN_OPTIONS: detect_stack_use_after_return=1:detect_invalid_pointer_pairs=2:check_initialization_order=1
456453
UBSAN_OPTIONS: halt_on_error=1
457454
steps:
458455
- checkout

0 commit comments

Comments
 (0)