HomePhabricator

[ORC] Don't use a platform mutex for LLJIT's GenericLLVMIRPlatformSupport class.

Authored by lhames on Mar 18 2020, 8:08 PM.

Description

[ORC] Don't use a platform mutex for LLJIT's GenericLLVMIRPlatformSupport class.

Along the same lines as eb918d8daf1: This code also had to acquire the session
mutex, and this could cause a deadlock under the wrong circumstances. This
patch updates GenericLLVMIRPlatformSupport to just use the session lock for
everything.

Details

Committed
lhamesMar 19 2020, 11:03 AM
Parents
rGad2da631bf32: [ORC] Fix indentation in debugging output.
Branches
Unknown
Tags
Unknown