diff options
author | Lang Hames <lhames@gmail.com> | 2024-11-28 15:25:20 +1100 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2024-11-28 15:29:16 +1100 |
commit | f710b042336d93fd1080124d3ec889702b77a730 (patch) | |
tree | 8cb751042228cf4d06da654b4f60896eef90aefc /llvm/lib/Bitcode/Reader | |
parent | 2918a47f421b3d41eb54dbd8751c6e8df2adbe23 (diff) | |
download | llvm-f710b042336d93fd1080124d3ec889702b77a730.zip llvm-f710b042336d93fd1080124d3ec889702b77a730.tar.gz llvm-f710b042336d93fd1080124d3ec889702b77a730.tar.bz2 |
[ORC] Fail early in ExecutionSession::registerJITDispatchHandlers.
Check that we're not reusing any handler tag addresses before installing any
handlers. This ensures that either all of the handlers are installed*, or none
of them are, simplifying error recovery.
* Ignoring handlers whose tags couldn't be resolved at all: these were never
installed.
Diffstat (limited to 'llvm/lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions