.../bin/_deps/dobby-src/source/UserMode/ExecMemory/clear-cache-tool-all.cc:47:20: error: write to reserved register 'R7' __asm __volatile("svc 0x0" : "=r"(start_reg) : "r"(syscall_nr), "r"(start_reg), "r"(end_reg), "r"(flags)); ^ 1 error generated.
I've managed to compile my project with ndk r19, but not with r22. As this change
https://reviews.llvm.org/D76848 seems to break functionality
Dobby version latest master (Version: Dobby-20210102-cf50347) ANDROID NDK: android-ndk-r22-darwin-x86_64 Compiler: Clang
.../bin/_deps/dobby-src/source/UserMode/ExecMemory/clear-cache-tool-all.cc:47:20: error: write to reserved register 'R7' __asm __volatile("svc 0x0" : "=r"(start_reg) : "r"(syscall_nr), "r"(start_reg), "r"(end_reg), "r"(flags)); ^ 1 error generated.
I've managed to compile my project with ndk r19, but not with r22. As this change https://reviews.llvm.org/D76848 seems to break functionality