[PATCH] D122869: [lit] Fix setup of sanitizer environment
Yuanfang Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 1 12:47:11 PDT 2022
ychen added inline comments.
================
Comment at: clang/test/Unit/lit.cfg.py:33
-# Propagate path to symbolizer for ASan/MSan.
-for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']:
- if symbolizer in os.environ:
- config.environment[symbolizer] = os.environ[symbolizer]
+# Propagate sanitizer options.
+for var in [
----------------
How about initializing an `LLVMConfig` instance instead of replicating this for each project? Although `LLVMConfig` does some extra handling, I guess it shouldn't hurt anything.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122869/new/
https://reviews.llvm.org/D122869
More information about the llvm-commits
mailing list