This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Add support for default UBSan blacklists
Needs ReviewPublic

Authored by vsk on Apr 13 2017, 1:59 PM.

Details

Reviewers
krasin
filcab
Summary

Clang should look for a default UBSan blacklist in its resource dir.

Depends on D32043.

Diff Detail

Event Timeline

vsk created this revision.Apr 13 2017, 1:59 PM
filcab edited edge metadata.Jul 19 2017, 10:12 PM

Should we simply not have ubsan_blacklist.txt if it's empty?

Otherwise LGTM

vsk added a comment.Jul 20 2017, 10:10 AM

I'd like to address the current problems with sanitizer blacklists before moving on to this patch:
https://reviews.llvm.org/D32842

The summary is that the entries in a blacklist file apply to all sanitizers, resulting in potential false negatives when multiple default blacklists are loaded.