search for: _zcmain_main_info

Displaying 2 results from an estimated 2 matches for "_zcmain_main_info".

2010 Jun 08
4
[LLVMdev] Adding support to LLVM for data & code layout (needed by GHC)
...ost on GHC's use of llvm here: http://blog.llvm.org/2010/05/glasgow-haskell-compiler-and-llvm.html, specifically under the title, 'Problems with backend'. Basically we want to be able to produce code using llvm that looks like this: .text .align 4,0x90 .long _ZCMain_main_srt-(_ZCMain_main_info)+0 .long 0 .long 196630 .globl _ZCMain_main_info _ZCMain_main_info: .Lcg6: leal -12(%ebp),%eax cmpl 84(%ebx),%eax [...] So in the above code we can access the code for the function '_ZCMain_main_info' and the metadata for it need by the runtime with just the one label...
2010 Jun 08
0
[LLVMdev] Adding support to LLVM for data & code layout (needed by GHC)
...: http://blog.llvm.org/2010/05/glasgow-haskell-compiler-and-llvm.html, > specifically under the title, 'Problems with backend'. > > Basically we want to be able to produce code using llvm that looks like this: > > .text > .align 4,0x90 > .long _ZCMain_main_srt-(_ZCMain_main_info)+0 > .long 0 > .long 196630 > .globl _ZCMain_main_info > _ZCMain_main_info: > .Lcg6: > leal -12(%ebp),%eax > cmpl 84(%ebx),%eax > [...] > > So in the above code we can access the code for the function > '_ZCMain_main_info' and the metadata...