mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
LibDebug: Add LineProgram::get_directory_and_file(size_t)
This function returns the directory path & filename for a given file index.
This commit is contained in:
parent
0d89f70b66
commit
98a774a68d
2 changed files with 15 additions and 0 deletions
|
@ -116,6 +116,12 @@ public:
|
|||
|
||||
const Vector<LineInfo>& lines() const { return m_lines; }
|
||||
|
||||
struct DirectoryAndFile {
|
||||
FlyString directory;
|
||||
FlyString filename;
|
||||
};
|
||||
DirectoryAndFile get_directory_and_file(size_t file_index) const;
|
||||
|
||||
private:
|
||||
void parse_unit_header();
|
||||
void parse_source_directories();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue