Skip to content

Commit 0103756

Browse files
MBkktKVS85
andauthored
Enable llvm symbolyzer (#476)
We reduced size of output, so I think we can revert addr2line work-around and have line number in tsan stacktrace Co-authored-by: Vadim <[email protected]>
1 parent 0549d61 commit 0103756

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: scripts/lib/tests.fish

+2-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if not test -z $SAN; and test $SAN = "On"
3535
set -xg LSAN_OPTIONS "$common_options:log_path=$INNERWORKDIR/aulsan.log"
3636

3737
# undefined behavior sanitizer
38-
set -xg UBSAN_OPTIONS "$common_options:print_stacktrace=1:log_path=$INNERWORKDIR/aulsan.log"
38+
set -xg UBSAN_OPTIONS "$common_options:log_path=$INNERWORKDIR/aulsan.log:print_stacktrace=1"
3939

4040
# suppressions
4141
if test -f $INNERWORKDIR/ArangoDB/asan_arangodb_suppressions.txt
@@ -55,8 +55,7 @@ if not test -z $SAN; and test $SAN = "On"
5555
echo "UBSAN: $UBSAN_OPTIONS"
5656
case "TSan"
5757
# thread sanitizer
58-
set addr2line_path (which addr2line)
59-
set -xg TSAN_OPTIONS "$common_options:allow_addr2line=true:external_symbolizer_path=$addr2line_path:log_path=$INNERWORKDIR/tsan.log:detect_deadlocks=true:second_deadlock_stack=1"
58+
set -xg TSAN_OPTIONS "$common_options:log_path=$INNERWORKDIR/tsan.log:detect_deadlocks=true:second_deadlock_stack=1"
6059

6160
# suppressions
6261
if test -f $INNERWORKDIR/ArangoDB/tsan_arangodb_suppressions.txt

0 commit comments

Comments
 (0)