mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibELF: Use StringView instead of "const char*" in dynamic linker code
There's no reason to use C strings more than absolutely necessary.
This commit is contained in:
parent
2c3f284b06
commit
0c0127dc3f
6 changed files with 36 additions and 41 deletions
|
@ -60,7 +60,7 @@ public:
|
|||
// Stage 3 of loading: lazy relocations and initializers
|
||||
RefPtr<DynamicObject> load_stage_3(unsigned flags, size_t total_tls_size);
|
||||
// Intended for use by dlsym or other internal methods
|
||||
void* symbol_for_name(const char*);
|
||||
void* symbol_for_name(const StringView&);
|
||||
|
||||
void dump();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue