[PATCH] [RFC] Introduce support for multiple sanitizer blacklists (LLVM side).
peter at pcc.me.uk
Wed Jul 16 14:31:51 PDT 2014
This adds support for multiple -fsanitize-blacklist flags, which cause
clang to load blacklists from each of the specified paths. This could be
useful for sanitizers such as DFSan where we may have multiple ABI lists,
each covering a specific library, which describes the ABI of that library.
This changes the semantics of the -fsanitize-blacklist flag, so I wanted to
make sure that we were comfortable with that. Now, the flag is additive, so a
-fsanitize-blacklist flag on the command line loads the specified blacklist
as well as the one in the resource directory. The -fno-sanitize-blacklist
flag works as before in that it prevents the blacklist in the resource
directory from being loaded, but it can also be used in combination with
-fsanitize-blacklist to load only user-specified blacklists.
Tests to come. I've removed the one test which fails as a result of the
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10827 bytes
Desc: not available
More information about the llvm-commits