2

I'm building an NDK shared library with a static library (.a) as one of the inputs. The static library has debug info in GDB format. Does the debug info end up in the final .SO? How can I check?

Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281

1 Answers1

6

Yes it does. The final step of NDK build is copying the .so file from obj directory to lib, stripping the symbols on the way. You can see how much smaller the file gets in lib/armeabi.

Alex Cohn
  • 56,089
  • 9
  • 113
  • 307