search for: rangesect

Displaying 5 results from an estimated 5 matches for "rangesect".

Did you mean: rangeset
2012 Nov 06
2
[LLVMdev] [PATCH] basic reading reloc visitor for x86_64 ELF
...uot; #include "llvm/ADT/StringRef.h" @@ -89,6 +90,8 @@ public: } }; +typedef DenseMap<uint64_t, std::pair<uint8_t, int64_t> > RelocAddrMap; + class DIContext { public: virtual ~DIContext(); @@ -100,7 +103,8 @@ public: StringRef aRangeSection = StringRef(), StringRef lineSection = StringRef(), StringRef stringSection = StringRef(), - StringRef rangeSection = StringRef()); + StringRef rangeSec...
2012 Nov 06
0
[LLVMdev] [PATCH] basic reading reloc visitor for x86_64 ELF
On Mon, Nov 5, 2012 at 5:17 PM, Eric Christopher <echristo at gmail.com> wrote: > For llvm-dwarfdump we need to handle relocations inside the debug info > sections in order to successfully dump the dwarf info including strings. > Nick sent out a partial patch that did this not too long ago and I've taken > it and gone in a bit of a different direction, but kept the same basic
2020 Nov 09
1
Fragmented DWARF
...(*StmtList + 4, PrologueEnd) ... StringRef FrameData = OrigDwarf.getDWARFObj().getFrameSection().Data; FrameData.substr(EntryOffset, InitialLength + 4) ... InputSec = Dwarf.getDWARFObj().getLocSection(); InputSec.Data.substr(Offset, Length); ... DWARFDataExtractor RangesData(Context.getDWARFObj(), *RangeSection,                               isLittleEndian, getAddressByteSize()); uint64_t ActualRangeListOffset = RangeSectionBase + RangeListOffset; RangeList.extract(RangesData, &ActualRangeListOffset); i.e. It is possible to access random piece of DWARFSection. If object::ObjectFile would contai...
2013 Feb 06
0
[LLVMdev] [llvm] r174463 - Initial support for DWARF CFI parsing and dumping in LLVM
...gt; 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 = data; >> else if (name == "debug_str") >> StringSection = data; >> else if (name == "debug_ranges") { >> >> Modified: llvm/tru...
2020 Nov 05
3
Fragmented DWARF
Hi James, On 05.11.2020 17:59, James Henderson wrote: > (Resending with history trimmed to avoid it getting stuck in moderator > queue). > > Hi Alexey, > > Just an update - I identified the cause of the "Generated debug info > is broken" error message when I tried to build things locally: the > `outStreamer` instance is initialised with the host Triple,