[PATCH] D79043: [Driver] Skip validation of system sanitizer blacklists files if -fno-sanitizer-blacklist was specified

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 12 13:16:07 PST 2021


vitalybuka added a comment.

In D79043#2560867 <https://reviews.llvm.org/D79043#2560867>, @aganea wrote:

> In D79043#2560710 <https://reviews.llvm.org/D79043#2560710>, @vitalybuka wrote:
>
>> This patch is relatively recent. I'd like to revert this  for D96203 <https://reviews.llvm.org/D96203>
>> Can we user just pointo to /dev/null if file is not needed?
>
> You mean just use `-fno-sanitize-file=/dev/null` as you're proposing in https://reviews.llvm.org/D96203#2560711 ? As long as there's a way to prevent searching for default blocklists on disk, to cover the case in https://reviews.llvm.org/D79043#2011084 fine with me, you can revert.

Yes, with some new test for such behavior.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79043/new/

https://reviews.llvm.org/D79043



More information about the cfe-commits mailing list