servo/python/servo
Jonathan Schwender d2afe00f7b
Extend --with-asan to support C/C++ code (#36873)
`--with-asan` now also will instrument C/C++ code. This also increases
the requirements on the user environment, since a clang compiler with
the same major version as the LLVM version rustc is using must be in
PATH.
ASAN without C/C++ code is IMHO not so interesting, so I'm not sure if
it would be worth adding a separate flag.

Testing: Manual testing with `--with-asan`. I believe we don't run ASAN
in CI yet, although perhaps we should.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-05-11 07:27:40 +00:00
..
devtools_tests/sources Devtools: add automated test for Debugger > Sources (#36401) 2025-05-07 10:43:18 +00:00
mutation Remove __future__ imports that are no longer necessary (#30661) 2023-11-02 12:01:10 +00:00
platform Check for existence of 'sudo' on Linux in ./mach bootstrap (#35739) 2025-03-28 14:58:25 +00:00
__init__.py Fix tidy issues with Python files in python/ 2015-06-02 19:51:41 -04:00
bootstrap_commands.py fix clean-cargo-cache command (#33408) 2024-09-11 17:32:01 +00:00
build_commands.py Extend --with-asan to support C/C++ code (#36873) 2025-05-11 07:27:40 +00:00
command_base.py mach: Fix cross-compiling from windows to non windows (#36070) 2025-04-04 08:07:32 +00:00
devenv_commands.py Rename 'cargo-clippy' mach command to just 'clippy' (#34481) 2024-12-05 03:19:15 +00:00
devtools_tests.py Devtools: add more test cases (#36910) 2025-05-09 08:10:00 +00:00
gstreamer.py clippy: Fix a variety of clippy warnings in fonts, layout_2020 and the DOM code (#33894) 2024-10-18 13:57:13 +00:00
package_commands.py Remove resources/prefs.json (#34999) 2025-01-16 07:38:58 +00:00
post_build_commands.py mach: adopt uv and avoid system python (#34632) 2024-12-16 09:20:37 +00:00
testing_commands.py Devtools: add automated test for Debugger > Sources (#36401) 2025-05-07 10:43:18 +00:00
try_parser.py CI: Add number_of_chunks (#36584) 2025-04-18 06:38:28 +00:00
util.py mach: remove python2 compatibility code (#33410) 2024-09-11 18:25:25 +00:00
visual_studio.py Fix visual_studio.py to call vswhere with -utf8 (#32949) 2024-08-06 09:35:05 +00:00