-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ChangeLog: * .github/workflows/ccpp.yml: Add job for running tests with ASAN. * .github/no-bootstrap-asan.mk: New file. Signed-off-by: Owen Avery <[email protected]>
- Loading branch information
1 parent
c5f9d6d
commit 7e0feec
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This option enables -fsanitize=address for stage1. | ||
|
||
# Suppress LeakSanitizer in bootstrap. | ||
export ASAN_OPTIONS=detect_leaks=0:use_odr_indicator=1 | ||
|
||
STAGE1_CFLAGS += -fsanitize=address | ||
STAGE1_LDFLAGS += -fsanitize=address -static-libasan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters