summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.h
blob: a0163c0c3d370e358ed9045b2558a0740bdaf0d0 (plain)
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::DataExtractor& debug_loc_data,
          dw_offset_t offset);

    static bool
    Extract (const lldb_private::DataExtractor& debug_loc_data,
             dw_offset_t* offset_ptr,
             lldb_private::DataExtractor& location_list_data);

    static size_t
    Size (const lldb_private::DataExtractor& debug_loc_data,
          dw_offset_t offset);

};
#endif  // SymbolFileDWARF_DWARFLocationList_h_
OpenPOWER on IntegriCloud