diff --git a/src/debuginfo.cpp b/src/debuginfo.cpp index 42d67bd6f89c7..53105feb81bfe 100644 --- a/src/debuginfo.cpp +++ b/src/debuginfo.cpp @@ -227,7 +227,7 @@ class JITObjectRegistry continue; } } - uint64_t loadaddr = L.getSectionLoadAddress(section); + uint64_t loadaddr = getLoadAddress(section.getName().get()); size_t seclen = section.getSize(); if (istext) { arm_text_addr = loadaddr;