Skip to content
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

Add feature to remap Xcode path in debug info #12175

Conversation

keith
Copy link
Member

@keith keith commented Sep 25, 2020

By default the path to Xcode and the current SDK root are embedded in
binary's debug info. This information is mostly unused, and otherwise
has other workarounds for including for debugging. This feature scrubs
that path to produce more hermetic binaries.

https://forums.swift.org/t/lldb-usage-of-dw-at-llvm-isysroot/40575

By default the path to Xcode and the current SDK root are embedded in
binary's debug info. This information is mostly unused, and otherwise
has other workarounds for including for debugging. This feature scrubs
that path to produce more hermetic binaries.

https://forums.swift.org/t/lldb-usage-of-dw-at-llvm-isysroot/40575
@@ -5357,6 +5357,29 @@ def _impl(ctx):
],
)

remap_xcode_path_feature = feature(
name = "remap_xcode_path",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

happy to use different names here too

@oquenchil oquenchil added the team-Rules-CPP Issues for C++ rules label Oct 5, 2020
@oquenchil oquenchil requested a review from c-mita October 5, 2020 17:16
@bazel-io bazel-io closed this in bc5883a Oct 21, 2020
@keith keith deleted the ks/add-feature-to-remap-xcode-path-in-debug-info branch October 21, 2020 15:59
@keith
Copy link
Member Author

keith commented Oct 21, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants