aboutsummaryrefslogtreecommitdiff
path: root/source/Plugins/SymbolFile/DWARF/DWARFLocationList.h
blob: 6dcc0d74e441f4eb1410b53defcbf564ef51fbf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//===-- DWARFLocationList.h -------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef SymbolFileDWARF_DWARFLocationList_h_
#define SymbolFileDWARF_DWARFLocationList_h_

#include "SymbolFileDWARF.h"

class DWARFLocationList
{
public:
    static dw_offset_t
    Dump (lldb_private::Stream &s,
          const DWARFCompileUnit* cu,
          const lldb_private::DWARFDataExtractor& debug_loc_data,
          lldb::offset_t offset);

    static bool
    Extract (const lldb_private::DWARFDataExtractor& debug_loc_data,
             lldb::offset_t* offset_ptr,
             lldb_private::DWARFDataExtractor& location_list_data);

    static size_t
    Size (const lldb_private::DWARFDataExtractor& debug_loc_data,
          lldb::offset_t offset);

};
#endif  // SymbolFileDWARF_DWARFLocationList_h_