-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
CppArchive path-mapping generated files issue #25360
Comments
@fmeum do you have more specifics around this one? |
I have been thinking about how to fix this. I have disabled path mapping for this reason. I was hoping to experiment with subrules to write a custom binary rewriter that modifies the dwarf data. I don't even know whether subrules could support such a thing. |
I don't think i fully understand the issue. also does this matter at all if you're using |
Is this relevant for CppArchive? I would have expected this to be more of an issue with CppCompile in the case of generated source files. We could maintain a symlink tree under An alternative could be a rewriter that runs in a follow-up action. That logic has precedent in |
I think I misunderstood your original message about that. It does seem like no CppArchive is required to have this issue. A single cc_binary with a generated source file is enough to cause it |
moving the debugging of generated files issue here #25382 |
Description of the bug:
Currently if you enable path-mapping for CppArchive, the archive points to generated files at a path that isn't valid outside of the path mapped action. Ideally there would be a way to make this work for common C++ debugging workflows
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
No response
What is the output of
bazel info release
?No response
If
bazel info release
returnsdevelopment 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 HEAD
?If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
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
The text was updated successfully, but these errors were encountered: