Since LLVM 12 (https://github.com/rust-lang/rust/pull/84230) `ExceptionStackFrame` has to be taken by value. See https://github.com/rust-lang/rust/issues/40180#issuecomment-814270159. Current output of `ud2`: ``` [0][ERROR] Invalid Opcode (#UD) Exception: ExceptionStackFrame { instruction_pointer: 0xc35b30c483480b0f, code_segment: 0xee9d058af2894850, cpu_flags: 0x3d8d48f76348ffff, stack_pointer: 0x7e8ffffffcc, stack_segment: 0xccccccccccc35900, } ``` Expected: ``` [0][ERROR] Invalid Opcode (#UD) Exception: ExceptionStackFrame { instruction_pointer: 0x501738, code_segment: 0x8, cpu_flags: 0x11206, stack_pointer: 0x373be30, stack_segment: 0x10, } ```