Skip to content

Add --with-asan option - #31429

Merged
sagudev merged 1 commit into
servo:mainfrom
sagudev:asan
Jun 16, 2024
Merged

sagudev merged 1 commit into
servo:mainfrom
sagudev:asan

Conversation

@sagudev

@sagudev sagudev commented Feb 26, 2024 •

Copy link
Copy Markdown
Member

Based on #27474, but if finding binary fails in /target/{profile}
it fallback to /target/{target}/{profile}/servo or you can provide --with-asan to commands for direct binary finding.


  • There are tests for these changes OR
  • These changes do not require tests because ___

@sagudev
sagudev force-pushed the asan branch 2 times, most recently from 9d4ca94 to 89ba447 Compare February 26, 2024 19:03
@sagudev
sagudev marked this pull request as ready for review February 26, 2024 19:03
@sagudev
sagudev requested a review from mrobinson February 26, 2024 19:03
Comment thread python/servo/build_commands.py Resolved
Comment thread python/servo/build_commands.py Resolved
Comment thread python/servo/build_commands.py Resolved
Comment thread python/servo/command_base.py Resolved
Comment thread python/servo/platform/base.py Resolved
@sagudev

sagudev commented Feb 28, 2024 •

Copy link
Copy Markdown
Member Author

Now that #31441 landed I plan to add mach bootstrap-nightly-rust for ASan needs.

@sagudev
sagudev force-pushed the asan branch 2 times, most recently from 16f9384 to 28304e2 Compare February 28, 2024 16:41
@sagudev sagudev changed the title Add AddressSanitizers option and unify nightly rust versions Add AddressSanitizers option and corresponding nightly rust version Feb 28, 2024
@sagudev
sagudev force-pushed the asan branch 3 times, most recently from 637be6a to 313f8b9 Compare February 29, 2024 10:16
@sagudev

sagudev commented Mar 1, 2024

Copy link
Copy Markdown
Member Author

@mrobinson could we push this forward?

@jdm jdm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good to me!

@mrobinson mrobinson mentioned this pull request Mar 8, 2024
4 tasks done
@sagudev
sagudev marked this pull request as draft March 10, 2024 17:43
@sagudev

sagudev commented Mar 10, 2024 •

Copy link
Copy Markdown
Member Author

Copy trick does not work on mac (due to otool and gstreamer), so I guess we need to do this in right, but more complicated way or introduce even more hacks.

@sagudev
sagudev marked this pull request as ready for review March 12, 2024 08:18
Comment thread python/servo/platform/base.py Resolved
@sagudev sagudev changed the title Add AddressSanitizers option and corresponding nightly rust version Add --with-asan option May 3, 2024
@sagudev sagudev mentioned this pull request May 3, 2024
@sagudev
sagudev added this pull request to the merge queue Jun 16, 2024
Merged via the queue into servo:main with commit 8b35c40 Jun 16, 2024
@sagudev
sagudev deleted the asan branch June 16, 2024 10:19
delan added a commit to servo/book that referenced this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants