search for: end_sections

Displaying 7 results from an estimated 7 matches for "end_sections".

2012 Jun 12
4
[LLVMdev] Questions about llvm/Object/COFF.h
So, I'm trying to use this file to look inside COFF files. Got the header. OK. Now I want to look at the sections. Look, there's a section iterator. I can use that! So, I write: for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); ++iter ) and it doesn't compile. There's no ++ for section iterators. Apparently, you're supposed to write. for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); iter.increment(ec)) Srsly? [ And - how do I go from a section_iterator to a co...
2012 Jun 12
0
[LLVMdev] Questions about llvm/Object/COFF.h
...trying to use this file to look inside COFF files. > Got the header. OK. > > Now I want to look at the sections. > Look, there's a section iterator. I can use that! > > So, I write: > for (llvm::object::section_iterator iter = Obj.begin_sections (); > iter != Obj.end_sections(); ++iter ) > > and it doesn't compile. There's no ++ for section iterators. > Apparently, you're supposed to write. > for (llvm::object::section_iterator iter = Obj.begin_sections (); > iter != Obj.end_sections(); iter.increment(ec)) > Srsly? > [ And - how d...
2012 Jun 12
0
[LLVMdev] Questions about llvm/Object/COFF.h
...#39;m trying to use this file to look inside COFF files. > Got the header. OK. > > Now I want to look at the sections. > Look, there's a section iterator. I can use that! > > So, I write: >        for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); ++iter ) > > and it doesn't compile. There's no ++ for section iterators. > Apparently, you're supposed to write. >        for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); iter.increment(ec)) > Srsly? > [ And - how do I g...
2012 Jun 13
1
[LLVMdev] Questions about llvm/Object/COFF.h
...side COFF files. > > Got the header. OK. > > > > Now I want to look at the sections. > > Look, there's a section iterator. I can use that! > > > > So, I write: > > for (llvm::object::section_iterator iter = Obj.begin_sections (); > iter != Obj.end_sections(); ++iter ) > > > > and it doesn't compile. There's no ++ for section iterators. > > Apparently, you're supposed to write. > > for (llvm::object::section_iterator iter = Obj.begin_sections (); > iter != Obj.end_sections(); iter.increment(ec)) > >...
2007 Oct 17
3
Adding a "boot from local hard disk" option to syslinux menu, booted from USB
Hi all, I use XP on my laptop PC, with 30 GB HD (single partition), and a 3.5" hard drive (not a stick), accessed through a USB encasing, partitioned as five logical drives. I have successfully set up syslinux to boot several Ubuntu versions from the primary USB hard drive partition, and no problems there. The problem is, I would like to have an entry in the menu, like "Boot from
2015 Jan 26
2
[LLVMdev] [llvm] r188726 - Adding PIC support for ELF on x86_64 platforms
...e Symbol value and the target symbol offset // to check if this .opd entry refers to the symbol the relocation // points to. - if (Rel.Addend != (intptr_t)TargetSymbolOffset) + if (Rel.Addend != (int64_t)TargetSymbolOffset) continue; 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.Of...
2013 Feb 06
0
[LLVMdev] [llvm] r174463 - Initial support for DWARF CFI parsing and dumping in LLVM
...: >> - IsLittleEndian(Obj->isLittleEndian()) { >> + IsLittleEndian(Obj->isLittleEndian()), >> + AddressSize(Obj->getBytesInAddress()) { >> error_code ec; >> for (object::section_iterator i = Obj->begin_sections(), >> e = Obj->end_sections(); >> @@ -459,6 +485,8 @@ DWARFContextInMemory::DWARFContextInMemo >> LineSection = data; >> else if (name == "debug_aranges") >> ARangeSection = data; >> + else if (name == "debug_frame") >> + DebugFrameSection =...