mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibELF: Change copy_initial_tls_data_into argument type to Bytes
This commit is contained in:
parent
8f0ebce404
commit
aa44fe860d
Notes:
sideshowbarker
2024-07-17 02:37:08 +09:00
Author: https://github.com/spholz Commit: https://github.com/SerenityOS/serenity/commit/aa44fe860d Pull-request: https://github.com/SerenityOS/serenity/pull/24005 Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 2 additions and 2 deletions
|
@ -755,7 +755,7 @@ void DynamicLoader::do_relr_relocations()
|
|||
});
|
||||
}
|
||||
|
||||
void DynamicLoader::copy_initial_tls_data_into(ByteBuffer& buffer) const
|
||||
void DynamicLoader::copy_initial_tls_data_into(Bytes buffer) const
|
||||
{
|
||||
image().for_each_program_header([this, &buffer](ELF::Image::ProgramHeader program_header) {
|
||||
if (program_header.type() != PT_TLS)
|
||||
|
|
|
@ -86,7 +86,7 @@ public:
|
|||
bool is_dynamic() const { return image().is_dynamic(); }
|
||||
|
||||
static Optional<DynamicObject::SymbolLookupResult> lookup_symbol(const ELF::DynamicObject::Symbol&);
|
||||
void copy_initial_tls_data_into(ByteBuffer& buffer) const;
|
||||
void copy_initial_tls_data_into(Bytes buffer) const;
|
||||
|
||||
DynamicObject const& dynamic_object() const;
|
||||
|
||||
|
|
Loading…
Reference in a new issue