search for: relocaddrmap

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

2012 Nov 06
2
[LLVMdev] [PATCH] basic reading reloc visitor for x86_64 ELF
...NFO_DICONTEXT_H +#include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallString.h" #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 = St...
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
2013 Feb 06
0
[LLVMdev] [llvm] r174463 - Initial support for DWARF CFI parsing and dumping in LLVM
...TableForCompileUnit(DWARFCompileUnit *cu); >> @@ -96,11 +101,13 @@ public: >> DILineInfoSpecifier Specifier = DILineInfoSpecifier()); >> >> virtual bool isLittleEndian() const = 0; >> + virtual uint8_t getAddressSize() const = 0; >> virtual const RelocAddrMap &infoRelocMap() const = 0; >> virtual const RelocAddrMap &lineRelocMap() const = 0; >> virtual StringRef getInfoSection() = 0; >> virtual StringRef getAbbrevSection() = 0; >> virtual StringRef getARangeSection() = 0; >> + virtual StringRef getD...
2017 Jun 30
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /home/yawmoo/Desktop/clfs/sources/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:27:7: note: > candidate constructor (the implicit move constructor) not viable: no known > conversion from 'const RelocAddrMap *' (aka 'const DenseMap<unsigned long, > llvm::RelocAddrEntry> *') to 'llvm::DWARFDebugLine' for 1st argument > class DWARFDebugLine { > ^ > /home/yawmoo/Desktop/clfs/sources/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:27:7: note: >...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
The bottom of the bug has the revision numbers (e.g. D34035). That one corresponds to e.g. https://reviews.llvm.org/D34035 There's also https://reviews.llvm.org/D34634 which contains all of Peter's patches, but it's not going to rebase cleanly once the individual patches start going in. On 6/28/17, 10:56 AM, "Alessandro Pistocchi" <apukfreelance at gmail.com> wrote: