mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
[DWARF parser] Cleanup code in DWARFDebugAranges.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207276 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -10,9 +10,8 @@
|
||||
#ifndef LLVM_DEBUGINFO_DWARFDEBUGARANGES_H
|
||||
#define LLVM_DEBUGINFO_DWARFDEBUGARANGES_H
|
||||
|
||||
#include "DWARFDebugArangeSet.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include <list>
|
||||
#include "llvm/Support/DataExtractor.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
@@ -20,20 +19,15 @@ class DWARFContext;
|
||||
|
||||
class DWARFDebugAranges {
|
||||
public:
|
||||
void clear() {
|
||||
Aranges.clear();
|
||||
ParsedCUOffsets.clear();
|
||||
}
|
||||
|
||||
void generate(DWARFContext *CTX);
|
||||
|
||||
// Use appendRange multiple times and then call sortAndMinimize.
|
||||
void appendRange(uint32_t CUOffset, uint64_t LowPC, uint64_t HighPC);
|
||||
|
||||
uint32_t findAddress(uint64_t Address) const;
|
||||
|
||||
private:
|
||||
void clear();
|
||||
void extract(DataExtractor DebugArangesData);
|
||||
|
||||
// Use appendRange multiple times and then call sortAndMinimize.
|
||||
void appendRange(uint32_t CUOffset, uint64_t LowPC, uint64_t HighPC);
|
||||
void sortAndMinimize();
|
||||
|
||||
struct Range {
|
||||
|
Reference in New Issue
Block a user