Out-of-bounds error when printing out a function value
[Thread Prev] | [Thread Next]
- Subject: Out-of-bounds error when printing out a function value
- From: nml <arumakanil@xxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Tue, 5 Dec 2017 14:36:18 +0800
- To: myrddin-dev@xxxxxxxxxxxxxx
The following program: use std const main = { extern const _start : (->void) std.put("_start = {x}\n", _start) } Output: Building 6m -I /lib/myr in.myr ld -o a.out /lib/myr/_myrrt.o in.o -lstd -L/lib/myr -lsys 0x000000000041150d: out of bounds access Internal error: /a.out: exited with signal 31 Looks like a bug. I expected that the value shown by nm is printed. -- mura
Re: Out-of-bounds error when printing out a function value | nml <arumakanil@xxxxxxxxx> |
Re: Out-of-bounds error when printing out a function value | Ori Bernstein <ori@xxxxxxxxxxxxxx> |
Re: Out-of-bounds error when printing out a function value | nml <arumakanil@xxxxxxxxx> |
- Prev by Date: Re: Pointer arithmetic and iterations
- Next by Date: Re: Out-of-bounds error when printing out a function value
- Previous by thread: Re: Pointer arithmetic and iterations
- Next by thread: Re: Out-of-bounds error when printing out a function value
- Index(es):