Skip to content

Conversation

@sfackler
Copy link
Contributor

gcc and clang do not strip by default, so it seems like zig cc and zig c++ should match that behavior. For reference, current behavior been around ever since zig cc and zig c++ were first added: ead50ea.

If there's concern about making this change directly, we could add a flag to explicitly disable stripping, since currently it looks like the only way to do that is to enable some level of debuginfo in this invocation of the compiler.

Closes #11194.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zig cc strips debuginfo from object files

2 participants