-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strips binary keep a static symbol table #2081
base: main
Are you sure you want to change the base?
Conversation
strip-debug will make the binary file larger. Have you tested the difference between using strip-debug and not using strip-debug? |
Only |
Can you provide a case to compare the difference in stack information before and after using strip-debug? |
@linrunqi08 Has it been closed? |
Sorry, maybe I clicked the button by mistake. |
Thank you very much for your test results and suggestions. But I think strip should not keep debug information in release mode, but I think there can be more CMAKE_BUILD_TYPE types, such as relwithdebinfo, in which strip can use the strip-debug parameter to keep some symbols. If you agree with my suggestions, you can make some modifications to the PR. |
Sorry, the above test is obtained in |
Strips binary, we still to keep a static symbol table for good stack traces.