search for: sectionid

Displaying 20 results from an estimated 22 matches for "sectionid".

2015 Jan 26
2
[LLVMdev] [llvm] r188726 - Adding PIC support for ELF on x86_64 platforms
...ontinue; section_iterator tsi(Obj.end_sections()); @@ -757,17 +783,19 @@ void RuntimeDyldELF::resolveSystemZReloc void RuntimeDyldELF::resolveRelocation(const RelocationEntry &RE, uint64_t Value) { const SectionEntry &Section = Sections[RE.SectionID]; - return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); + return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, + RE.SymOffset); } void RuntimeDyldELF::resolveRelocation(const SectionEntry &Section,...
2013 Oct 01
2
[LLVMdev] JITMemoryManager
...etNumStubSlabs() { return mgr()->GetNumStubSlabs(); } /* * From RTDyldMemoryManager */ virtual uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) { return mgr()->allocateCodeSection(Size, Alignment, SectionID); } #if HAVE_LLVM >= 0x0303 virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID,...
2013 Oct 02
0
[LLVMdev] JITMemoryManager
...n mgr()->GetNumStubSlabs(); > } > > /* > * From RTDyldMemoryManager > */ > virtual uint8_t *allocateCodeSection(uintptr_t Size, > unsigned Alignment, > unsigned SectionID) { > return mgr()->allocateCodeSection(Size, Alignment, SectionID); > } > #if HAVE_LLVM >= 0x0303 > virtual uint8_t *allocateDataSection(uintptr_t Size, > unsigned Alignment, >...
2013 Oct 02
3
[LLVMdev] JITMemoryManager
...>> } >> >> /* >> * From RTDyldMemoryManager >> */ >> virtual uint8_t *allocateCodeSection(uintptr_t Size, >> unsigned Alignment, >> unsigned SectionID) { >> return mgr()->allocateCodeSection(Size, Alignment, SectionID); >> } >> #if HAVE_LLVM >= 0x0303 >> virtual uint8_t *allocateDataSection(uintptr_t Size, >> unsigned Alignment, >>...
2006 Jan 24
2
[LLVMdev] Dwarf Support - Early Bird Edition
Chris asked me to write up "LLVM Developer's Guide to Dwarf Support" for LLVM maintainers. We are still in early stages, but we thought we'd get it out there for the "need to bleeders." At some point this information will be formalized and added to the LLVM documentation. The enclosed document gives specific instructions for adding source line number support
2006 Jan 28
0
[LLVMdev] Placing globals in specific sections
Hi! The LLVM Bytecode File Format specifies an optional SectionID attribute for globals. I didn't find a matching attribute in the LLVM source code. Code such as: int a __attribute__ ((section ("A_SECTION"))); compiles with llvm-gcc, but apparently the section information is stripped (the object file doesn't contain "A_SECTION")....
2013 Oct 22
2
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
...it did not trigger more crashes.I debugged through the allocation code including the Win32 code and it seems to work well. I have also tried disabling the MemGroup.FreeMem cache which did not matter. An added assert for no Stubs to the end of RuntimeDyldImpl::loadObject processRelocationRef(SectionID, *i, *obj, LocalSections, LocalSymbols, Stubs); assert(!Stubs.size()); indeed caught nothing = no stubs created. Disabling (de)registerEH did not help. Looking at relocations and sections printouts, the exception is: Unhandled exception at 0x0A3600D1 : 0xC0000005: Access violation writi...
2013 Oct 22
0
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
...it did not trigger more crashes.I debugged through the allocation code including the Win32 code and it seems to work well. I have also tried disabling the MemGroup.FreeMem cache which did not matter. An added assert for no Stubs to the end of RuntimeDyldImpl::loadObject processRelocationRef(SectionID, *i, *obj, LocalSections, LocalSymbols, Stubs); assert(!Stubs.size()); indeed caught nothing = no stubs created. Disabling (de)registerEH did not help. Looking at relocations and sections printouts, the exception is: Unhandled exception at 0x0A3600D1 : 0xC0000005: Access vi...
2013 Oct 22
2
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
...he > allocation code including the Win32 code and it seems to work well. I have > also tried disabling the MemGroup.FreeMem cache which did not matter.**** > > ** ** > > An added assert for no Stubs to the end of RuntimeDyldImpl::loadObject**** > > processRelocationRef(SectionID, *i, *obj, LocalSections, > LocalSymbols,**** > > Stubs);**** > > assert(!Stubs.size());**** > > indeed caught nothing = no stubs created.**** > > ** ** > > Disabling (de)registerEH did not help.**** > > ** ** > > Looking at relocat...
2013 Oct 23
3
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
...Win32 code and it seems to work well. I have >> also tried disabling the MemGroup.FreeMem cache which did not matter.**** >> >> ** ** >> >> An added assert for no Stubs to the end of RuntimeDyldImpl::loadObject*** >> * >> >> processRelocationRef(SectionID, *i, *obj, LocalSections, >> LocalSymbols,**** >> >> Stubs);**** >> >> assert(!Stubs.size());**** >> >> indeed caught nothing = no stubs created.**** >> >> ** ** >> >> Disabling (de)registerEH did not help.****...
2013 Oct 23
0
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
...Win32 code and it seems to work well. I have >> also tried disabling the MemGroup.FreeMem cache which did not matter.**** >> >> ** ** >> >> An added assert for no Stubs to the end of RuntimeDyldImpl::loadObject*** >> * >> >> processRelocationRef(SectionID, *i, *obj, LocalSections, >> LocalSymbols,**** >> >> Stubs);**** >> >> assert(!Stubs.size());**** >> >> indeed caught nothing = no stubs created.**** >> >> ** ** >> >> Disabling (de)registerEH did not help.****...
2019 Jan 07
2
Kaleidoscope tutorial: extern functions failing
...ng. As to why that flag is set, I'm at a loss. I have run through GDB with both the sin and putchard examples, to try and see where they are diverging. I'm not totally sure, but I think the divergence might be happening on line 347 of RuntimeDyld.cpp: if (auto IOrErr = processRelocationRef(SectionID, I, Obj, LocalSections, Stubs)) That is, in the sin example, this expression is false; in the putchard example, it is true. However there may be something earlier on that I missed – there were a few thousand lines of GDB logging to diff through. It appears not to be an issue with the function its...
2013 Oct 23
2
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
...gt;>> also tried disabling the MemGroup.FreeMem cache which did not matter.*** >>> * >>> >>> ** ** >>> >>> An added assert for no Stubs to the end of RuntimeDyldImpl::loadObject** >>> ** >>> >>> processRelocationRef(SectionID, *i, *obj, LocalSections, >>> LocalSymbols,**** >>> >>> Stubs);**** >>> >>> assert(!Stubs.size());**** >>> >>> indeed caught nothing = no stubs created.**** >>> >>> ** ** >>> >>>...
2013 Oct 23
0
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
...gt;>> also tried disabling the MemGroup.FreeMem cache which did not matter.*** >>> * >>> >>> ** ** >>> >>> An added assert for no Stubs to the end of RuntimeDyldImpl::loadObject** >>> ** >>> >>> processRelocationRef(SectionID, *i, *obj, LocalSections, >>> LocalSymbols,**** >>> >>> Stubs);**** >>> >>> assert(!Stubs.size());**** >>> >>> indeed caught nothing = no stubs created.**** >>> >>> ** ** >>> >>>...
2013 Oct 23
0
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
...the MemGroup.FreeMem cache which did not matter.** >>>> ** >>>> >>>> ** ** >>>> >>>> An added assert for no Stubs to the end of RuntimeDyldImpl::loadObject* >>>> *** >>>> >>>> processRelocationRef(SectionID, *i, *obj, LocalSections, >>>> LocalSymbols,**** >>>> >>>> Stubs);**** >>>> >>>> assert(!Stubs.size());**** >>>> >>>> indeed caught nothing = no stubs created.**** >>>> >>>...
2006 Oct 26
3
dialplan issue - 1& 0 should be evaluated false
...terisk? Regards, Paul _________________________________________________________________ See Jet live in LA. Download music for a chance to win! http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=721&referral=hotmailtagline&URL=http://music.ninemsn.com.au/section.aspx?sectionid=2465&sectionname=artistfeature&subsectionid=5692&subsectionname=jet
2013 Oct 22
0
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
I would guess that it's crashing somewhere in the generated code. On Windows we don't have a way to get call stacks to the generated code (though if you want to try it on Linux, that should work). You can probably look at the address where the crash is occurring and verify that it is in the generated code. There are a couple of things I would look for. First, I'd take a look at the
2013 Oct 22
2
[LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
OS is Windows 7 64 bit OS, compiler is 32 bit Visual C++ 2012 with 32 bit. The target which is i686-pc-mingw32-elf so I can use the ELF dynamic loader. Code model, relocation model and and memory manager are whatever default for this - did not modify. The Module comes from clang. The source is 1000 or more lines repeating C++ code in one big function: A+1; A*B.t(); where A and B are
2005 Dec 23
1
Wine and Java timezone problem.
Hi! I am using wine to compile code for Texas Instruments dsp's. One step in the process is generating code from a graphic configuration file (tcf). When I try to do that, it fails with some Java related messages. The -b in my command tells tconf.exe to run in batch mode, so it doesn't try to open a GUI or something like that. I ran the same command in a dos-shell and it worked
2006 Jan 17
2
Wine and java problem revisited
...7) >> >> >> >> A few questions: >> 1) Which version of Wine are you using? >> 2) What's the name of the TI development software you're using? >> Is it Code Composer Studio, >> >> http://focus.ti.com/dsp/docs/dspsupportnp.tsp?sectionId=3&tabId=451&familyId=44 >> >> ? If so, we have a page about it at >> http://appdb.winehq.org/appview.php?appId=2034 >> 3) What version of that software are you using? >> 4) Have you been using it successfully with wine for long, or is this >&g...