HomePhabricator

[flang] Fix race condition in runtime

Authored by klausler on May 5 2021, 11:26 AM.

Description

[flang] Fix race condition in runtime

The code that initializes the default units 5 & 6 had
a race condition that would allow threads access to the
unit map before it had been populated.

Also add some missing calls to va_end() that will never
be called (they're in program abort situations) but might
elicit warnings if absent.

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

Details

Committed
klauslerMay 6 2021, 11:09 AM
Differential Revision
D101928: [flang] Fix race condition in runtime
Parents
rG22aece57beb6: Allow llvm-dis to disassemble multiple files
Branches
Unknown
Tags
Unknown