1 //===-- DWARFDebugMacinfoEntry.h --------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef SymbolFileDWARF_DWARFDebugMacinfoEntry_h_
11 #define SymbolFileDWARF_DWARFDebugMacinfoEntry_h_
13 #include "SymbolFileDWARF.h"
15 class DWARFDebugMacinfoEntry {
17 DWARFDebugMacinfoEntry();
19 ~DWARFDebugMacinfoEntry();
21 uint8_t TypeCode() const { return m_type_code; }
23 uint8_t GetLineNumber() const { return m_line; }
25 void Dump(lldb_private::Stream *s) const;
27 const char *GetCString() const;
29 bool Extract(const lldb_private::DWARFDataExtractor &mac_info_data,
30 lldb::offset_t *offset_ptr);
37 dw_uleb128_t file_idx;
42 #endif // SymbolFileDWARF_DWARFDebugMacinfoEntry_h_