mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
LibELF: Use Optional<SymbolLookupResult> as a return type
Instead of storing a "found" state inside the result object.
This commit is contained in:
parent
a5de46684b
commit
41d8734288
6 changed files with 42 additions and 47 deletions
|
@ -131,7 +131,7 @@ private:
|
|||
RelocationResult do_relocation(size_t total_tls_size, DynamicObject::Relocation relocation);
|
||||
size_t calculate_tls_size() const;
|
||||
|
||||
DynamicObject::SymbolLookupResult lookup_symbol(const ELF::DynamicObject::Symbol& symbol) const;
|
||||
Optional<DynamicObject::SymbolLookupResult> lookup_symbol(const ELF::DynamicObject::Symbol&) const;
|
||||
|
||||
String m_filename;
|
||||
String m_program_interpreter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue