aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-03-04 12:07:57 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2022-03-04 13:13:31 -0500
commite2dcc2218c64ae1b6a774f52bd3aec87a6902b58 (patch)
tree3174887bfd469797dce328bf6cbd42c35e03fe42 /lldb/source/Plugins/ScriptInterpreter/Python
parent703240c71fd640af7490069e8149d32d78d14da1 (diff)
downloadllvm-e2dcc2218c64ae1b6a774f52bd3aec87a6902b58.zip
llvm-e2dcc2218c64ae1b6a774f52bd3aec87a6902b58.tar.gz
llvm-e2dcc2218c64ae1b6a774f52bd3aec87a6902b58.tar.bz2
[Libomptarget] Work around bug in initialization of libomptarget
Libomptarget uses some shared variables to track certain internal stated in the runtime. This causes problems when we have code that contains no OpenMP kernels. These variables are normally initialized upon kernel entry, but if there are no kernels we will see no initialization. Currently we load the runtime into each source file when not running in LTO mode, so these variables will be erroneously considered undefined or dead and removed, causing miscompiles. This patch temporarily works around the most obvious case, but others still exhibit this problem. We will need to fix this more soundly later. Fixes #54208. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D121007
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions