File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
llvm/include/llvm/DebugInfo/DWARF Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,8 @@ template <typename DWARFListType> class DWARFListTableBase {
170
170
Error extract (DWARFDataExtractor Data, uint64_t *OffsetPtr);
171
171
// / Look up a list based on a given offset. Extract it and enter it into the
172
172
// / list map if necessary.
173
- Expected<DWARFListType> findList (DWARFDataExtractor Data, uint64_t Offset);
173
+ Expected<DWARFListType> findList (DWARFDataExtractor Data,
174
+ uint64_t Offset) const ;
174
175
175
176
uint64_t getHeaderOffset () const { return Header.getHeaderOffset (); }
176
177
uint8_t getAddrSize () const { return Header.getAddrSize (); }
@@ -275,7 +276,7 @@ void DWARFListTableBase<DWARFListType>::dump(
275
276
template <typename DWARFListType>
276
277
Expected<DWARFListType>
277
278
DWARFListTableBase<DWARFListType>::findList(DWARFDataExtractor Data,
278
- uint64_t Offset) {
279
+ uint64_t Offset) const {
279
280
// Extract the list from the section and enter it into the list map.
280
281
DWARFListType List;
281
282
if (Header.length ())
You can’t perform that action at this time.
0 commit comments