Page MenuHomePhabricator

[NewPM] Catch sanitizers passed to -fsanitize that haven't been implemented
Needs ReviewPublic

Authored by philip.pfaffe on Jan 17 2019, 4:38 AM.

Details

Summary

Currently clang's new-pm driver silently breaks sanitizers. Make using a not implemented sanitizer a hard failuer.

On drawback is that when you try to use a group that's not implemented, such as -fsanitize=undefined, it will complain about the first member of the group that's not available, Alignment in this case. Is that worth fixing?

Event Timeline

philip.pfaffe created this revision.Jan 17 2019, 4:38 AM