From 200589868992e4d482c646ad8d60a738fefe6302 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 7 Sep 2018 20:19:55 -0400 Subject: [PATCH] improve panic message from previous commit --- src/analyze.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/analyze.cpp b/src/analyze.cpp index 1c49f696bf..a20c2091c9 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -1072,9 +1072,10 @@ bool want_first_arg_sret(CodeGen *g, FnTypeId *fn_type_id) { if (abi_class == X64CABIClass_MEMORY) { return true; } - zig_panic("TODO implement C ABI for x86_64 return types. '%s'", buf_ptr(&fn_type_id->return_type->name)); + zig_panic("TODO implement C ABI for x86_64 return types. type '%s'\nSee https://github.com/ziglang/zig/issues/1481", + buf_ptr(&fn_type_id->return_type->name)); } - zig_panic("TODO implement C ABI for this architecture"); + zig_panic("TODO implement C ABI for this architecture. See https://github.com/ziglang/zig/issues/1481"); } ZigType *get_fn_type(CodeGen *g, FnTypeId *fn_type_id) {