Closed addr2line closed 8 months ago
Oh, I think ci has already catch the bug:
D:\a\mir\mir\mir-gen-x86_64.c(906,22): error C2039: 'var': is not a member of 'MIR_op_t' [D:\a\mir\mir\mir.vcxproj]
D:\a\mir\mir\mir.h(251,16): message : see declaration of 'MIR_op_t' [D:\a\mir\mir\mir.vcxproj]
Thank you for reporting this. I've just fixed this.
To be honest I do not test code on Win32 manually. Therefore I should have looked at CI results to avoid this kind of issues.
Now I see that windows port on bbv branch is broken (master branch is ok on windows). Some tests crashed by sigfault. I'll investigate it later.
Thanks for your explanation!
Bug is here: https://github.com/vnmakarov/mir/blob/bbv/mir-gen-x86_64.c#L905-L907
va_op
has typeMIR_op_t
, which definition is:I think the currect code is
va_reg = va_op.u.var;
.