diff options
author | Lang Hames <lhames@gmail.com> | 2023-12-07 11:24:34 -0800 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2023-12-07 14:38:51 -0800 |
commit | 93509b4462a74c3f96eb576f1bbaaa26328e63b2 (patch) | |
tree | a239f74277436434b53a6daf239fbde82ed73b6f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9d3aec5535adfdeb10a400e92cecc1cc0a5e26a6 (diff) | |
download | llvm-93509b4462a74c3f96eb576f1bbaaa26328e63b2.zip llvm-93509b4462a74c3f96eb576f1bbaaa26328e63b2.tar.gz llvm-93509b4462a74c3f96eb576f1bbaaa26328e63b2.tar.bz2 |
[ORC-RT][ORC][MachO] Fix some issues with executor-side symbol tables.
1. Prevent deadlock by unlocking JDStatesMutex when calling back to the
controller to request a push of new symbols. (If JDStatesMutex is locked
then the push operation can't register the new symbols, and so can't
complete).
2. Record MachOPlatform runtime symbols during bootstrap and attach their
registration to the bootstrap-completion graph, similar to the way that
deferred allocation actions are handled. We can't register the symbols
the normal way during bootstrap since the symbol registration function is
itself in the process of being materialized.
3. Add dlsym testcases to exercise these fixes.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions