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 address sanitizer for android #94601

Merged
merged 1 commit into from
Mar 6, 2022
Merged

Conversation

csmoe
Copy link
Member

@csmoe csmoe commented Mar 4, 2022

We have been being using asan to debug the rust/cpp/c mixed android application in production for months: recompile the rust library with a patched rustc, everything just works fine. The patch is really small thanks to @nagisa 's refactoring in #81866

r? @nagisa

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Mar 4, 2022
@rust-highfive
Copy link
Collaborator

⚠️ Warning ⚠️

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 4, 2022
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@nagisa
Copy link
Member

nagisa commented Mar 5, 2022

Could you add a description to the PR which would explain why it is fine to enable these now (i.e. you tested it/support has been implemented in… etc?) and maybe even a link to https://source.android.com/devices/tech/debug/asan.

Implementation wise this LGTM (r=me)

@nagisa nagisa added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 5, 2022
@csmoe
Copy link
Member Author

csmoe commented Mar 5, 2022

r? @nagisa edited.

@nagisa
Copy link
Member

nagisa commented Mar 5, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Mar 5, 2022

📌 Commit 6d41565 has been approved by nagisa

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 5, 2022
@bors
Copy link
Contributor

bors commented Mar 5, 2022

⌛ Testing commit 6d41565 with merge 0cbef1c...

@bors
Copy link
Contributor

bors commented Mar 6, 2022

☀️ Test successful - checks-actions
Approved by: nagisa
Pushing 0cbef1c to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Mar 6, 2022
@bors bors merged commit 0cbef1c into rust-lang:master Mar 6, 2022
@rustbot rustbot added this to the 1.61.0 milestone Mar 6, 2022
@csmoe csmoe changed the title add address sanitizer fo android add address sanitizer for android Mar 6, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (0cbef1c): comparison url.

Summary: This benchmark run did not return any relevant results.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants