brintos

brintos / llvm-project-archived public Read only

0
0
Text · 342 B · 2d239a6 Raw
10 lines · python
1import os2import sys3 4disable_crash_report = os.getenv("LLVM_DISABLE_CRASH_REPORT")5disable_symbolization = os.getenv("LLVM_DISABLE_SYMBOLIZATION")6 7# Test that this is an explicitly set true value. If we preserve the8# debug environment a pre-set explicit 0 should work.9sys.exit(disable_crash_report != "1" or disable_symbolization != "1")10