I\'m compiling my C++ code using clang++ that comes with ndk21. I\'ve set both compiler flags -fno-unwind-tables and -fno-asynchronous-unwind-tables but the number of entries i
Typically the reason is that you're depending on some other libraries that do have unwind tables. The C++ stdlib is definitely built with them, so if you're using libc++_static.a they'll be added to your library. Since that code is already compiled, your compiler flags won't have any effect on it :)
I should also note that there are other reasons that you might want unwind tables even if you're not using exceptions. Crash handlers that you use might depend on them, for example.