summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFAcceleratorTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFAcceleratorTable.h')
-rw-r--r--llvm/lib/DebugInfo/DWARFAcceleratorTable.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARFAcceleratorTable.h b/llvm/lib/DebugInfo/DWARFAcceleratorTable.h
index ca83ec1b449..7dc9591b3d2 100644
--- a/llvm/lib/DebugInfo/DWARFAcceleratorTable.h
+++ b/llvm/lib/DebugInfo/DWARFAcceleratorTable.h
@@ -29,8 +29,9 @@ class DWARFAcceleratorTable {
struct HeaderData {
typedef uint16_t AtomType;
+ typedef uint16_t Form;
uint32_t DIEOffsetBase;
- SmallVector<std::pair<AtomType, DWARFFormValue>, 1> Atoms;
+ SmallVector<std::pair<AtomType, Form>, 3> Atoms;
};
struct Header Hdr;
@@ -44,7 +45,7 @@ public:
: AccelSection(AccelSection), StringSection(StringSection), Relocs(Relocs) {}
bool extract();
- void dump(raw_ostream &OS);
+ void dump(raw_ostream &OS) const;
};
}
OpenPOWER on IntegriCloud