ci: update to ndk r26

This commit is contained in:
Sergiu Deitsch 2023-10-05 21:48:03 +02:00
parent fab3b5eac4
commit 27bf2b2fd3
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View File

@ -10,11 +10,11 @@ jobs:
run: run:
shell: bash shell: bash
env: env:
NDK_VERSION: 25.0.8775105 NDK_VERSION: 26.0.10792818
strategy: strategy:
fail-fast: true fail-fast: true
matrix: matrix:
std: [14, 17, 20, 23] std: [14, 17, 20]
abi: [arm64-v8a, armeabi-v7a, x86_64, x86] abi: [arm64-v8a, armeabi-v7a, x86_64, x86]
build_type: [Debug, Release] build_type: [Debug, Release]

View File

@ -535,10 +535,8 @@ OpenObjectFileContainingPcAndGetStartAddress(uint64_t pc,
// Iterate over maps and look for the map containing the pc. Then // Iterate over maps and look for the map containing the pc. Then
// look into the symbol tables inside. // look into the symbol tables inside.
char buf[1024]; // Big enough for line of sane /proc/self/maps 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); LineReader reader(wrapped_maps_fd.get(), buf, sizeof(buf), 0);
while (true) { while (true) {
num_maps++;
const char *cursor; const char *cursor;
const char *eol; const char *eol;
if (!reader.ReadLine(&cursor, &eol)) { // EOF or malformed line. if (!reader.ReadLine(&cursor, &eol)) { // EOF or malformed line.