Displaying 2 results from an estimated 2 matches for "rtsmain".
2015 Sep 07
2
POssible bug in the Arm code generator
...edule.c:2429
> #4 0x03fbc7e4 in rts_evalLazyIO (cap=0xbeffeb74, p=0x402d470 <ZCMain_main_closure>, ret=0x0) at
> rts/RtsAPI.c:500
> #5 0x03fce2be in hs_main (argc=3, argv=0xbeffed64, main_closure=0x402d470 <ZCMain_main_closure>,
> rts_config=...) at rts/RtsMain.c:64
> #6 0x00141508 in main ()
> (gdb) disassemble
> Dump of assembler code for function stg_ap_v_fast:
> 0x03ff9db4 <+0>: push {r7, lr}
> 0x03ff9db6 <+2>: sub sp, #32
> 0x03ff9db8 <+4>: add r7, sp, #0
>...
2015 Sep 06
2
POssible bug in the Arm code generator
Hi all,
I do a little work on the Glasgow Haskell Compiler (GHC) which uses
LLVM for the backend when compiling for Arm and some other targets.
The reason I am posting to this list is that a GHC compiled program
(using the LLVM backend) is getting an illegal instruction exception
on the this instruction:
ldr r0, [r0]
According to the Arm archtecture manual: