1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

LibELF: Remove unused m_program_interpreter member from DynamicLoader

While profiling I realized that this member is unused, so the
StringBuilder and String allocation are completely un-necessary.
This commit is contained in:
Brian Gianforcaro 2022-03-31 00:29:56 -07:00 committed by Andreas Kling
parent 39f924a731
commit 7d667b9f69
3 changed files with 2 additions and 5 deletions

View file

@ -135,7 +135,6 @@ private:
ssize_t negative_offset_from_tls_block_end(ssize_t tls_offset, size_t value_of_symbol) const;
String m_filename;
String m_program_interpreter;
size_t m_file_size { 0 };
int m_image_fd { -1 };
void* m_file_data { nullptr };