aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFabian Tschopp <fabian.tschopp@modular.com>2025-01-29 00:56:00 +0100
committerGitHub <noreply@github.com>2025-01-28 18:56:00 -0500
commit28507ac62928d79f647804de4df60409b3ebb364 (patch)
tree7749154b7635ed1273c42526da6152c75991d6da /clang/lib/Frontend/CompilerInvocation.cpp
parentb8cdc5ea2741c7e4062bb211bac7033189b4d802 (diff)
downloadllvm-28507ac62928d79f647804de4df60409b3ebb364.zip
llvm-28507ac62928d79f647804de4df60409b3ebb364.tar.gz
llvm-28507ac62928d79f647804de4df60409b3ebb364.tar.bz2
[MLIR] Fix thread safety of the deleter in PyDenseResourceElementsAttribute (#124832)
In general, `PyDenseResourceElementsAttribute` can get deleted at any time and any thread, where unlike the `getFromBuffer` call, the Python interpreter may not be initialized and the GIL may not be held. This PR fixes segfaults caused by `PyBuffer_Release` when the GIL is not being held by the thread calling the deleter.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions