mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +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
|
@ -34,7 +34,7 @@ namespace ELF {
|
|||
|
||||
class DynamicLinker {
|
||||
public:
|
||||
static DynamicObject::SymbolLookupResult lookup_global_symbol(const char* symbol);
|
||||
static Optional<DynamicObject::SymbolLookupResult> lookup_global_symbol(const char* symbol);
|
||||
[[noreturn]] static void linker_main(String&& main_program_name, int fd, bool is_secure, int argc, char** argv, char** envp);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue