diff options
Diffstat (limited to 'source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h')
-rw-r--r-- | source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h b/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h index 7da0e76a22be..9f2219b01812 100644 --- a/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h +++ b/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h @@ -20,7 +20,6 @@ #include "DWARFDefines.h" class SymbolFileDWARF; -class DWARFDebugInfoEntry; //---------------------------------------------------------------------- // DWARFDebugLine @@ -34,14 +33,14 @@ public: struct FileNameEntry { FileNameEntry() : - name(), + name(nullptr), dir_idx(0), mod_time(0), length(0) { } - std::string name; + const char* name; dw_sleb128_t dir_idx; dw_sleb128_t mod_time; dw_sleb128_t length; @@ -81,7 +80,7 @@ public: uint8_t line_range; // This parameter affects the meaning of the special opcodes. See below. uint8_t opcode_base; // The number assigned to the first special opcode. std::vector<uint8_t> standard_opcode_lengths; - std::vector<std::string> include_directories; + std::vector<const char *> include_directories; std::vector<FileNameEntry> file_names; int32_t MaxLineIncrementForSpecialOpcode() const { return line_base + (int8_t)line_range - 1; } @@ -96,7 +95,7 @@ public: include_directories.clear(); file_names.clear(); } - bool GetFile(uint32_t file_idx, std::string& file, std::string& dir) const; + bool GetFile(uint32_t file_idx, const char *comp_dir, lldb_private::FileSpec &file) const; }; |