mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibDebug: Propagate errors throughout DWARF parsing
Splitting this into a separate commit was an afterthought, so this does not yet feature any fallible operations.
This commit is contained in:
parent
e235c42e4d
commit
e62269650a
17 changed files with 243 additions and 204 deletions
|
@ -133,19 +133,19 @@ public:
|
|||
bool looks_like_embedded_resource() const;
|
||||
|
||||
private:
|
||||
void parse_unit_header();
|
||||
void parse_source_directories();
|
||||
void parse_source_files();
|
||||
void run_program();
|
||||
ErrorOr<void> parse_unit_header();
|
||||
ErrorOr<void> parse_source_directories();
|
||||
ErrorOr<void> parse_source_files();
|
||||
ErrorOr<void> run_program();
|
||||
|
||||
void append_to_line_info();
|
||||
void reset_registers();
|
||||
|
||||
void handle_extended_opcode();
|
||||
void handle_standard_opcode(u8 opcode);
|
||||
ErrorOr<void> handle_extended_opcode();
|
||||
ErrorOr<void> handle_standard_opcode(u8 opcode);
|
||||
void handle_special_opcode(u8 opcode);
|
||||
|
||||
void parse_path_entries(Function<void(PathEntry& entry)> callback, PathListType list_type);
|
||||
ErrorOr<void> parse_path_entries(Function<void(PathEntry& entry)> callback, PathListType list_type);
|
||||
|
||||
enum StandardOpcodes {
|
||||
Copy = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue