tags:

views:

7

answers:

0

I have a product for which I invoke "strip" upon the executable at the very last step of build. The executable is linked statically with several static libraries (not third-party, all written by our team).

When the product is crashed, the function names from some static libraries still appear in the crash logs, while the names from some other static libraries disappear and leave only hexaddress. I checked the build file of each static libraries but haven't seen difference seemingly the cause.

In addition, when I load the executable into gdb and use "info line" to get the information from an address in the crash log, gdb get information neither for the address with a function name nor without a name (looks reasonable considering the symbols are stripped, but confusing considering the function names are still shown in the log).