Open lisaonduty opened 6 years ago
Hi Greetings to all, I am working on GHS toolchain. Ccarm compiler generates “per object debug info file” by providing the flag -G and the extension of the file is .dbo. Debug info file for the archive is .dba. GCC toolchain generates per object debug info file with the extension of .dwo and .dwp (for archive) by providing the flag -gsplit-dwarf. Moreover, I am trying to produce .map file also. How to get these outputs (.dbo,.dba and .map)? Please guide me, is there any way to achieve this without using custom rules?
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.
This is still relevant!
This should be implemented
Ah, look at that! Thank you! https://github.com/bazelbuild/bazel/issues/20966
Description of the problem / feature request:
We request support of map file as implicit output target for the cc_binary rule. According to documentation only name.stripped and name.dwp are supported output targets. But it also seems to accept name.pdb files. We use the sandbox-build and want to continue with that.
Feature requests: what underlying problem are you trying to solve with this feature?
We need map-files in our builds so as a work-around we call it name.pdb instead of name.map in this way it can be used by Bazel rules.
What operating system are you running Bazel on?
Linux
What's the output of
bazel info release
?0.18.0
Have you found anything relevant by searching the web?
https://groups.google.com/forum/#!topic/bazel-discuss/A00d7Ui1f8s