Skip to content

Commit

Permalink
Use ubsan suppressions file.
Browse files Browse the repository at this point in the history
  • Loading branch information
toregge committed Jan 2, 2025
1 parent 3b793d9 commit 9682fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ def setup_sanitizers
elsif name == 'thread'
ENV['TSAN_OPTIONS'] = "suppressions=#{Environment.instance.vespa_home}/etc/vespa/tsan-suppressions.txt history_size=7 detect_deadlocks=1 second_deadlock_stack=1 log_path=#{dir}/tsan-log"
elsif name == 'undefined'
ENV['UBSAN_OPTIONS'] = "print_stacktrace=1:log_path=#{dir}/ubsan-log"
ENV['UBSAN_OPTIONS'] = "print_stacktrace=1:log_path=#{dir}/ubsan-log:report_error_type=1:suppressions=#{Environment.instance.vespa_home}/etc/vespa/ubsan-suppressions.txt"
end
end
end
Expand Down

0 comments on commit 9682fc5

Please sign in to comment.