Home | History | Annotate | Download | only in DWARF
      1 //===-- DWARFLocationList.h -------------------------------------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 
     10 #ifndef SymbolFileDWARF_DWARFLocationList_h_
     11 #define SymbolFileDWARF_DWARFLocationList_h_
     12 
     13 #include "SymbolFileDWARF.h"
     14 
     15 class DWARFLocationList
     16 {
     17 public:
     18     static dw_offset_t
     19     Dump (lldb_private::Stream &s,
     20           const DWARFCompileUnit* cu,
     21           const lldb_private::DataExtractor& debug_loc_data,
     22           lldb::offset_t offset);
     23 
     24     static bool
     25     Extract (const lldb_private::DataExtractor& debug_loc_data,
     26              lldb::offset_t* offset_ptr,
     27              lldb_private::DataExtractor& location_list_data);
     28 
     29     static size_t
     30     Size (const lldb_private::DataExtractor& debug_loc_data,
     31           lldb::offset_t offset);
     32 
     33 };
     34 #endif  // SymbolFileDWARF_DWARFLocationList_h_
     35