[PATCH] D15363: [UBSan] Implement runtime suppressions (PR25066).
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 11 11:01:08 PST 2016
rnk added a subscriber: rnk.
rnk added a comment.
In http://reviews.llvm.org/D15363#321941, @samsonov wrote:
> Interesting. Do we run test/asan/TestCases/suppressions-interceptor.cc on
> Windows? Seems so: I don't see an XFAIL there, and it also uses
> suppressions, but with single quote, followed by double quote:
> Why does it work there?
We need two levels of quoting: one for the shell and one that makes it all the way through to ASan. The single quotes get taken out by ShLexer or bash depending on which is in use, and the inner double quotes escape the colons inside the Windows paths.
This seemed like the most logically consistent thing to me, even if it's ugly. Any better ideas for smuggling colons through ASan options?
More information about the cfe-commits