diff options
author | Hood Chatham <roberthoodchatham@gmail.com> | 2025-07-26 01:52:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-25 16:52:39 -0700 |
commit | 15b03687ff655e2e64afb8554645457d2e4cabd7 (patch) | |
tree | 3153b5191e38e636743482cee6d1fe56f3f34ed3 /llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp | |
parent | 6f0f79842a50bead9f01f3e9881661c5b560bb9e (diff) | |
download | llvm-15b03687ff655e2e64afb8554645457d2e4cabd7.zip llvm-15b03687ff655e2e64afb8554645457d2e4cabd7.tar.gz llvm-15b03687ff655e2e64afb8554645457d2e4cabd7.tar.bz2 |
[WebAssembly,clang] Add __builtin_wasm_test_function_pointer_signature (#150201)
Tests if the runtime type of the function pointer matches the static
type. If this returns false, calling the function pointer will trap.
Uses `@llvm.wasm.ref.test.func` added in #147486.
Also adds a "gc" wasm feature to gate the use of the ref.test
instruction.
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions