mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +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
Notes:
sideshowbarker
2024-07-18 22:05:07 +09:00
Author: https://github.com/awesomekling
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