authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-08-25 14:13:14-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-08-25 14:13:14-07:00
log96368b9f39468d727a85f9ce2729d65dd2fe3169
tree39ac9d65769b656c785967fe695aa0908e8f90fa
parenta8f0f37adb3bae8ad3d1f344fdaf1f1051551d21

update libunwind to llvm 11rc2


1 files changed, 4 insertions(+), 3 deletions(-)

lib/libunwind/src/AddressSpace.hpp+4-3
......@@ -473,8 +473,8 @@ static bool checkAddrInSegment(const Elf_Phdr *phdr, size_t image_base,
473473 return false;
474474}
475475
476int findUnwindSectionsByPhdr(struct dl_phdr_info *pinfo, size_t pinfo_size,
477 void *data) {
476static int findUnwindSectionsByPhdr(struct dl_phdr_info *pinfo,
477 size_t pinfo_size, void *data) {
478478 auto cbdata = static_cast<dl_iterate_cb_data *>(data);
479479 if (pinfo->dlpi_phnum == 0 || cbdata->targetAddr < pinfo->dlpi_addr)
480480 return 0;
......@@ -523,7 +523,8 @@ int findUnwindSectionsByPhdr(struct dl_phdr_info *pinfo, size_t pinfo_size,
523523// Given all the #ifdef's above, the code here is for
524524// defined(LIBUNWIND_ARM_EHABI)
525525
526int findUnwindSectionsByPhdr(struct dl_phdr_info *pinfo, size_t, void *data) {
526static int findUnwindSectionsByPhdr(struct dl_phdr_info *pinfo, size_t,
527 void *data) {
527528 auto *cbdata = static_cast<dl_iterate_cb_data *>(data);
528529 bool found_obj = false;
529530 bool found_hdr = false;