mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
Add support for applying in-memory relocations to the .debug_line section and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -95,6 +95,7 @@ public:
|
||||
|
||||
virtual bool isLittleEndian() 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;
|
||||
@@ -130,6 +131,7 @@ class DWARFContextInMemory : public DWARFContext {
|
||||
virtual void anchor();
|
||||
bool IsLittleEndian;
|
||||
RelocAddrMap InfoRelocMap;
|
||||
RelocAddrMap LineRelocMap;
|
||||
StringRef InfoSection;
|
||||
StringRef AbbrevSection;
|
||||
StringRef ARangeSection;
|
||||
@@ -150,6 +152,7 @@ public:
|
||||
DWARFContextInMemory(object::ObjectFile *);
|
||||
virtual bool isLittleEndian() const { return IsLittleEndian; }
|
||||
virtual const RelocAddrMap &infoRelocMap() const { return InfoRelocMap; }
|
||||
virtual const RelocAddrMap &lineRelocMap() const { return LineRelocMap; }
|
||||
virtual StringRef getInfoSection() { return InfoSection; }
|
||||
virtual StringRef getAbbrevSection() { return AbbrevSection; }
|
||||
virtual StringRef getARangeSection() { return ARangeSection; }
|
||||
|
Reference in New Issue
Block a user