mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Move DIContext.h to common DebugInfo location.
This will enable us to create a PDBContext so as to expose some amount of debug info functionality through a common interace. Differential Revision: http://reviews.llvm.org/D9205 Reviewed by: Alexey Samsonov git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -12,7 +12,7 @@ | ||||
|  | ||||
| #include "llvm/ADT/MapVector.h" | ||||
| #include "llvm/ADT/SmallVector.h" | ||||
| #include "llvm/DebugInfo/DWARF/DIContext.h" | ||||
| #include "llvm/DebugInfo/DIContext.h" | ||||
| #include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h" | ||||
| #include "llvm/DebugInfo/DWARF/DWARFDebugAranges.h" | ||||
| #include "llvm/DebugInfo/DWARF/DWARFDebugFrame.h" | ||||
| @@ -25,6 +25,13 @@ | ||||
|  | ||||
| namespace llvm { | ||||
|  | ||||
| // In place of applying the relocations to the data we've read from disk we use | ||||
| // a separate mapping table to the side and checking that at locations in the | ||||
| // dwarf where we expect relocated values. This adds a bit of complexity to the | ||||
| // dwarf parsing/extraction at the benefit of not allocating memory for the | ||||
| // entire size of the debug info sections. | ||||
| typedef DenseMap<uint64_t, std::pair<uint8_t, int64_t> > RelocAddrMap; | ||||
|  | ||||
| /// DWARFContext | ||||
| /// This data structure is the top level entity that deals with dwarf debug | ||||
| /// information parsing. The actual data is supplied through pure virtual | ||||
|   | ||||
		Reference in New Issue
	
	Block a user