LibDebug: Oops, file:line info should have '/' between directory & file
This commit is contained in:
parent
485d28298a
commit
42bc518d70
Notes:
sideshowbarker
2024-07-19 01:23:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/42bc518d709
1 changed files with 2 additions and 1 deletions
|
@ -101,8 +101,9 @@ void LineProgram::append_to_line_info()
|
|||
|
||||
String directory = m_source_directories[m_source_files[m_file_index].directory_index];
|
||||
|
||||
StringBuilder full_path(directory.length() + m_source_files[m_file_index].name.length());
|
||||
StringBuilder full_path(directory.length() + m_source_files[m_file_index].name.length() + 1);
|
||||
full_path.append(directory);
|
||||
full_path.append('/');
|
||||
full_path.append(m_source_files[m_file_index].name);
|
||||
|
||||
m_lines.append({ m_address, full_path.to_string(), m_line });
|
||||
|
|
Loading…
Add table
Reference in a new issue