-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Description of the feature request:
Currently on macOS if you'd like to generate dSYM you have to go through some objc provider for the final link. Technically any cc_binary could have a dsym, and for other rules that don't particularly depend on objc, like swift_binary, it would be ideal if they could also produce a dsym. It appears to me that even if we made the required crosstool changes setting the variables for dsyms is gated behind various objc variables
bazel/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcVariablesExtension.java
Lines 232 to 234 in 1620b6e
| private void addDsymVariables(CcToolchainVariables.Builder builder) { | |
| builder.addStringVariable(DSYM_PATH_VARIABLE_NAME, getShellEscapedExecPathString(dsymSymbol)); | |
| } |
I think in general this is known as part of moving to CcInfo for linking, but I couldn't find a tracking issue
What underlying problem are you trying to solve with this feature?
No response
Which operating system are you running Bazel on?
macOS
What is the output of bazel info release?
release 6.0.0rc3
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response