Merge pull request #821 from eltociear/patch-1

libbacktrace: update elf.cpp
This commit is contained in:
Bartosz Taudul 2024-06-30 19:23:31 +02:00 committed by GitHub
commit 4a933d0174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7471,7 +7471,7 @@ phdr_callback (struct PhdrIterate *info, void *pdata)
static int elf_iterate_phdr_and_add_new_files(phdr_data *pd)
{
assert(s_phdrData.empty());
// dl_iterate_phdr, will only add entries for elf files loaded in a previouly unseen range
// dl_iterate_phdr, will only add entries for elf files loaded in a previously unseen range
dl_iterate_phdr(phdr_callback_mock, nullptr);
if(s_phdrData.size() == 0)