[PATCH] D60343: [asan_symbolize] Use proper logging infrastructure.

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 17:19:19 PDT 2019


vitalybuka added inline comments.


================
Comment at: lib/asan/scripts/asan_symbolize.py:18
+
+  ASAN_SYMBOLIZER_LOG_LEVEL
+    Sets the log level (debug, info, warning, error, or critical).
----------------
I'd prefer we avoid env variables here
I guess you can use 
```
args, unknown_args = parser.parse_known_args()
```
to parse args before pluggins just to setup logging
and then parse them again with additional flags.


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60343/new/

https://reviews.llvm.org/D60343





More information about the llvm-commits mailing list