fn exportHandlerWithAbort( handler: anytype, abort_handler: anytype, comptime sym_name: []const u8, ) void
fn exportHandlerWithAbort( handler: anytype, abort_handler: anytype, comptime sym_name: []const u8, ) void { @export(handler, .{ .name = "__ubsan_handle_" ++ sym_name, .linkage = .weak, .visibility = .hidden, }); @export(abort_handler, .{ .name = "__ubsan_handle_" ++ sym_name ++ "_abort", .linkage = .weak, .visibility = .hidden, }); }