From 76ae27efb3cdc772c8322d58a70ff58d23b708f7 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 24 Jul 2024 11:06:00 +1000 Subject: [PATCH] llvmpipe/cs/orcjit: add stub function name for coro This fixes some debug JIT session error: Unexpected definitions in module : [ cs_co_variant ] Failed to materialize symbols: { (cs0_variant0_3, { cs_variant }) } Fixes: bb0efdd4d896 ("llvmpipe: add shader cache support for ORCJIT implementation") Reviewed-by: Icenowy Zheng Part-of: --- src/gallium/drivers/llvmpipe/lp_state_cs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/llvmpipe/lp_state_cs.c b/src/gallium/drivers/llvmpipe/lp_state_cs.c index fb04d498d46..581b7638fa7 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_cs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_cs.c @@ -411,6 +411,7 @@ generate_compute(struct llvmpipe_context *lp, if (variant->gallivm->cache->data_size) { gallivm_stub_func(gallivm, function); + gallivm_stub_func(gallivm, coro); return; }