diff options
| author | Joseph Huber <jhuber6@vols.utk.edu> | 2021-11-15 23:04:55 -0500 |
|---|---|---|
| committer | Joseph Huber <jhuber6@vols.utk.edu> | 2021-11-16 08:17:15 -0500 |
| commit | 374cd0fb6102a8726da0e6036b3c484aca32c61e (patch) | |
| tree | 7262e567494b6e91c50864537631ba698b692291 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
| parent | d2da1a2f400ab54a874c1ba5430adc07a5249563 (diff) | |
| download | llvm-374cd0fb6102a8726da0e6036b3c484aca32c61e.zip llvm-374cd0fb6102a8726da0e6036b3c484aca32c61e.tar.gz llvm-374cd0fb6102a8726da0e6036b3c484aca32c61e.tar.bz2 | |
[OpenMP] Fix initializer not working on AMDGPU
The RAII class used for debugging RTL entry used a shared variable to
keep track of the current depth. This used a global initializer, which
isn't supported on AMDGPU. This patch removes the initializer and
instead sets it to zero when the state is initialized in the runtime.
Reviewed By: jdoerfert, JonChesterfield
Differential Revision: https://reviews.llvm.org/D113963
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions
