authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-09-07 20:19:55-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-09-07 20:19:55-04:00
log200589868992e4d482c646ad8d60a738fefe6302
tree94a1faf9ae5d6402edf78a6d30d8e345c1d062fb
parent9c169f3cf763c58f91b485f907f80cd8d08c4e12
signaturelock-open Commit is signed but in an unrecognized format.

improve panic message from previous commit


1 files changed, 3 insertions(+), 2 deletions(-)

src/analyze.cpp+3-2
...@@ -1072,9 +1072,10 @@ bool want_first_arg_sret(CodeGen *g, FnTypeId *fn_type_id) {...@@ -1072,9 +1072,10 @@ bool want_first_arg_sret(CodeGen *g, FnTypeId *fn_type_id) {
1072 if (abi_class == X64CABIClass_MEMORY) {1072 if (abi_class == X64CABIClass_MEMORY) {
1073 return true;1073 return true;
1074 }1074 }
1075 zig_panic("TODO implement C ABI for x86_64 return types. '%s'", buf_ptr(&fn_type_id->return_type->name));1075 zig_panic("TODO implement C ABI for x86_64 return types. type '%s'\nSee https://github.com/ziglang/zig/issues/1481",
1076 buf_ptr(&fn_type_id->return_type->name));
1076 }1077 }
1077 zig_panic("TODO implement C ABI for this architecture");1078 zig_panic("TODO implement C ABI for this architecture. See https://github.com/ziglang/zig/issues/1481");
1078}1079}
10791080
1080ZigType *get_fn_type(CodeGen *g, FnTypeId *fn_type_id) {1081ZigType *get_fn_type(CodeGen *g, FnTypeId *fn_type_id) {