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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to