search for: getmaxstubsize

Displaying 6 results from an estimated 6 matches for "getmaxstubsize".

2013 Oct 15
1
[LLVMdev] A weird, reproducable problem with MCJIT
...chafmeister; Kaylor, Andrew; iain at codesourcery.com > Cc: <llvmdev at cs.uiuc.edu> > Subject: Re: [LLVMdev] A weird, reproducable problem with MCJIT > >   > > Correct or no I don't know, but this change will affect all x86-64 > targets including Linux and Windows as getMaxStubSize() is called from > the ELF linker as well as the Mach-O linker. > >   > >   > > 2013/10/15 Christian Schafmeister <chris.schaf at verizon.net> > > > With the help of iain at codesourcery.com and andrew.kaylor at intel.com > we > tracked the...
2013 Oct 15
2
[LLVMdev] A weird, reproducable problem with MCJIT
Correct or no I don't know, but this change will affect all x86-64 targets including Linux and Windows as getMaxStubSize() is called from the ELF linker as well as the Mach-O linker. 2013/10/15 Christian Schafmeister <chris.schaf at verizon.net> > > With the help of iain at codesourcery.com and andrew.kaylor at intel.com we > tracked the problem down to a bad relocation that was clobbering the >...
2013 Oct 15
0
[LLVMdev] A weird, reproducable problem with MCJIT
...ber 14, 2013 9:09 PM To: Christian Schafmeister; Kaylor, Andrew; iain at codesourcery.com Cc: <llvmdev at cs.uiuc.edu> Subject: Re: [LLVMdev] A weird, reproducable problem with MCJIT Correct or no I don't know, but this change will affect all x86-64 targets including Linux and Windows as getMaxStubSize() is called from the ELF linker as well as the Mach-O linker. 2013/10/15 Christian Schafmeister <chris.schaf at verizon.net<mailto:chris.schaf at verizon.net>> With the help of iain at codesourcery.com<mailto:iain at codesourcery.com> and andrew.kaylor at intel.com<mailto:an...
2013 Oct 15
0
[LLVMdev] A weird, reproducable problem with MCJIT
With the help of iain at codesourcery.com and andrew.kaylor at intel.com we tracked the problem down to a bad relocation that was clobbering the first bytes of the eh_frame. I think this problem/solution may be OS X specific. On akaylor's suggestion I made the change below and my reproducable test case now compiles fine with MCJIT. As well, my Common Lisp code base now compiles using MCJIT
2013 Oct 14
2
[LLVMdev] A weird, reproducable problem with MCJIT
Hi, There may be two problems with __register_frame usage. However based on http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-April/061768.html I think the existing code is correct for OS-X but likely buggy for Linux and Windows systems. Your crash is on OS-X, right? Anyhow, the first problem is very easy to fix. On Linux and Windows (at least) __register_frame should be called once and not
2015 Jan 26
2
[LLVMdev] [llvm] r188726 - Adding PIC support for ELF on x86_64 platforms
...tub function a relative call to the GOT entry. + RelocationEntry RE(SectionID, StubOffset + 2, + ELF::R_X86_64_GOTPCREL, -4); + addRelocationForSymbol(RE, Value.SymbolName); + + // Bump our stub offset counter + Section.StubOffset = StubOffset + getMaxStubSize(); + } + + // Make the target call a call into the stub table. + resolveRelocation(Section, Offset, StubAddress, + ELF::R_X86_64_PC32, Addend); + } else { + RelocationEntry RE(SectionID, Offset, ELF::R_X86_64_PC32, Value.Addend, +...