From 27bf2b2fd396dae160b0449224bc227eb3edbc31 Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Thu, 5 Oct 2023 21:48:03 +0200 Subject: [PATCH] ci: update to ndk r26 --- .github/workflows/android.yml | 4 ++-- src/symbolize.cc | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 9b51662..965567d 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -10,11 +10,11 @@ jobs: run: shell: bash env: - NDK_VERSION: 25.0.8775105 + NDK_VERSION: 26.0.10792818 strategy: fail-fast: true matrix: - std: [14, 17, 20, 23] + std: [14, 17, 20] abi: [arm64-v8a, armeabi-v7a, x86_64, x86] build_type: [Debug, Release] diff --git a/src/symbolize.cc b/src/symbolize.cc index f95fccc..8232291 100644 --- a/src/symbolize.cc +++ b/src/symbolize.cc @@ -535,10 +535,8 @@ OpenObjectFileContainingPcAndGetStartAddress(uint64_t pc, // Iterate over maps and look for the map containing the pc. Then // look into the symbol tables inside. char buf[1024]; // Big enough for line of sane /proc/self/maps - unsigned num_maps = 0; LineReader reader(wrapped_maps_fd.get(), buf, sizeof(buf), 0); while (true) { - num_maps++; const char *cursor; const char *eol; if (!reader.ReadLine(&cursor, &eol)) { // EOF or malformed line.