In Evergreen, we define the ASAN_SYMBOLIZER_PATH with different values which might be wrong:
ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-10/bin/llvm-symbolizer ASAN_SYMBOLIZER_PATH=/opt/mongodbtoolchain/v4/bin/llvm-symbolizer
For UBSAN, we define external_symbolizer_path as shown below:
UBSAN_OPTIONS="detect_leaks=1:disable_coredump=0:external_symbolizer_path=/usr/lib/llvm-10/bin/llvm-symbolizer:abort_on_error=1:print_stacktrace=1"
I believe we should use /opt/mongodbtoolchain/v4/bin/llvm-symbolizer for all symbolizer paths.