From d54338db3e9503327658f91a35cc503c376a428d Mon Sep 17 00:00:00 2001 From: Christian Blichmann Date: Thu, 6 Jan 2022 08:25:18 -0800 Subject: [PATCH] Upgrade to libunwind 1.6.2 PiperOrigin-RevId: 420066991 Change-Id: I71295329bc3648827f085c771a1164d1aaf02cab --- cmake/libunwind.cmake | 5 ++--- sandboxed_api/bazel/external/libunwind.BUILD | 1 - sandboxed_api/bazel/sapi_deps.bzl | 6 +++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/cmake/libunwind.cmake b/cmake/libunwind.cmake index bd05672..47182b5 100644 --- a/cmake/libunwind.cmake +++ b/cmake/libunwind.cmake @@ -15,10 +15,10 @@ set(workdir "${CMAKE_BINARY_DIR}/_deps/libunwind-populate") set(SAPI_LIBUNWIND_URL - https://github.com/libunwind/libunwind/releases/download/v1.2.1/libunwind-1.2.1.tar.gz + https://github.com/libunwind/libunwind/releases/download/v1.6.2/libunwind-1.6.2.tar.gz CACHE STRING "") set(SAPI_LIBUNWIND_URL_HASH - SHA256=3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb + SHA256=4a6aec666991fb45d0889c44aede8ad6eb108071c3554fcdff671f9c94794976 CACHE STRING "") set(SAPI_LIBUNWIND_SOURCE_DIR "${CMAKE_BINARY_DIR}/_deps/libunwind-src" CACHE STRING "") @@ -169,7 +169,6 @@ add_library(unwind_ptrace_wrapped STATIC ${SAPI_LIBUNWIND_SOURCE_DIR}/src/dwarf/Gfind_unwind_table.c ${SAPI_LIBUNWIND_SOURCE_DIR}/src/dwarf/Gparser.c ${SAPI_LIBUNWIND_SOURCE_DIR}/src/dwarf/Gpe.c - ${SAPI_LIBUNWIND_SOURCE_DIR}/src/dwarf/Gstep.c ${SAPI_LIBUNWIND_SOURCE_DIR}/src/dwarf/global.c ${SAPI_LIBUNWIND_SOURCE_DIR}/src/mi/Gdestroy_addr_space.c ${SAPI_LIBUNWIND_SOURCE_DIR}/src/mi/Gdyn-extract.c diff --git a/sandboxed_api/bazel/external/libunwind.BUILD b/sandboxed_api/bazel/external/libunwind.BUILD index 9add958..42f8cb4 100644 --- a/sandboxed_api/bazel/external/libunwind.BUILD +++ b/sandboxed_api/bazel/external/libunwind.BUILD @@ -74,7 +74,6 @@ filegroup( "src/dwarf/Gfind_unwind_table.c", "src/dwarf/Gparser.c", "src/dwarf/Gpe.c", - "src/dwarf/Gstep.c", "src/dwarf/global.c", "src/mi/Gdestroy_addr_space.c", "src/mi/Gdyn-extract.c", diff --git a/sandboxed_api/bazel/sapi_deps.bzl b/sandboxed_api/bazel/sapi_deps.bzl index 80a2387..d81bcc1 100644 --- a/sandboxed_api/bazel/sapi_deps.bzl +++ b/sandboxed_api/bazel/sapi_deps.bzl @@ -115,7 +115,7 @@ def sapi_deps(): "--disable-shared", "--enable-ptrace", ], - sha256 = "3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb", # 2017-06-15 - strip_prefix = "libunwind-1.2.1", - urls = ["https://github.com/libunwind/libunwind/releases/download/v1.2.1/libunwind-1.2.1.tar.gz"], + sha256 = "4a6aec666991fb45d0889c44aede8ad6eb108071c3554fcdff671f9c94794976", # 2021-12-01 + strip_prefix = "libunwind-1.6.2", + urls = ["https://github.com/libunwind/libunwind/releases/download/v1.6.2/libunwind-1.6.2.tar.gz"], )