HomePhabricator

scan-build-py: fix multiprocessing error

Authored by lawrence_danna on Sep 5 2020, 11:09 AM.

Description

scan-build-py: fix multiprocessing error

Recent versions of python3's multiprocessing module will blow up with
a Runtime error from this code, saying:

An attempt has been made to start a new process before the
current process has finished its bootstrapping phase

This is becuae the wrappers in bin/ are not using the __name__ == "__main__" idiom correctly.

Reviewed By: ldionne

Differential Revision: https://reviews.llvm.org/D87051

Details

Committed
lawrence_dannaSep 5 2020, 11:10 AM
Reviewer
ldionne
Differential Revision
D87051: scan-build-py: fix multiprocessing error
Parents
rGbef38e86b4e7: [ELF] Handle SHT_RISCV_ATTRIBUTES similarly to SHT_ARM_ATTRIBUTES
Branches
Unknown
Tags
Unknown