File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ jobs:
310310 uses : actions-rust-lang/setup-rust-toolchain@v1
311311 with :
312312 toolchain : ${{ env.SANITIZER_TOOLCHAIN }}
313- components : rust-src
313+ components : rust-src, llvm-tools-preview
314314
315315 - name : Install protoc
316316 run : |
@@ -340,6 +340,11 @@ jobs:
340340 elif command -v llvm-symbolizer >/dev/null 2>&1; then
341341 export ASAN_SYMBOLIZER_PATH="$(command -v llvm-symbolizer)"
342342 fi
343+ if [[ -n "${ASAN_SYMBOLIZER_PATH:-}" ]]; then
344+ export LSAN_OPTIONS="${LSAN_OPTIONS}:external_symbolizer_path=${ASAN_SYMBOLIZER_PATH}:symbolize=1:malloc_context_size=50"
345+ echo "Using sanitizer symbolizer: $ASAN_SYMBOLIZER_PATH"
346+ "$ASAN_SYMBOLIZER_PATH" --version || true
347+ fi
343348 if [[ "${{ matrix.sanitizer }}" == "leak" || "${{ matrix.sanitizer }}" == "thread" ]]; then
344349 # RocksDB/libstdc++ trigger sanitizer reports and timing instability
345350 # in storage integration test binaries. The net crate's end-to-end
You can’t perform that action at this time.
0 commit comments