Page MenuHomeFreeBSD

Add WITH_BOOTSTRAP_TOOLS_{ASAN,UBSAN}
Needs ReviewPublic

Authored by arichardson on Sat, Apr 18, 5:51 AM.
Tags
None
Referenced Files
F153337044: D56491.diff
Mon, Apr 20, 1:56 PM
Unknown Object (File)
Sun, Apr 19, 1:17 PM
Unknown Object (File)
Sat, Apr 18, 11:59 AM
Unknown Object (File)
Sat, Apr 18, 11:30 AM
Unknown Object (File)
Sat, Apr 18, 11:16 AM
Unknown Object (File)
Sat, Apr 18, 9:34 AM
Subscribers

Details

Reviewers
markj
emaste
jhb
Summary

This allows building the bootstrap tools with sanitizers to catch
undefined behaviour or memory error triggered when building FreeBSD.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 72312
Build 69195: arc lint + arc unit

Event Timeline

I tried applying this patch and building world on FreeBSD running recent main. I can see that MK_ASAN and MK_UBSAN are getting set properly, but if I trace process args during the bootstrap-tools phase, I can't see -fsanitize getting passed anywhere. Am I missing something?