Closed langston-barrett closed 1 year ago
Looks great, can we add your example as a test?
Looks great, can we add your example as a test?
Thanks for the prompt review, I've added the infrastructure for C++ tests and a test for this example in particular.
Thanks so much for this! Looks great.
Fixes panic on legitimate LLVM modules. See also the handling of
Call
, which is analogous.To see the panic in action, compile this C++ file with Clang 14 and call
Invoke.get_type()
on instructions in the resultingModule
: