[cfe-dev] [asan] Turn “-mllvm -asan-detect-invalid-pointer-pair” into a driver option?

Roman Lebedev via cfe-dev cfe-dev at lists.llvm.org
Fri Jan 11 09:55:44 PST 2019

On Fri, Jan 11, 2019 at 8:01 PM Pierre Gousseau via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Before looking into proposing a patch, I want to ask if there is already a plan for turning -asan-detect-invalid-pointer-pair into a driver option?
> Is it still considered an experimental feature?
> Should we use the same name as gcc 8? ie -fsanitize=pointer-substract and -fsanitize=pointer-compare?

> “-fsanitize=” accepts up to 64 values and has reached its maximum capacity it seems?
Yes, but that should be fixable though, but i admit i have not looked
into that yet, sadly.
(that's https://bugs.llvm.org/show_bug.cgi?id=39425)

> Is there any sanitizer that can be removed or should we look at extending its capacity?
> Many thanks!

> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

More information about the cfe-dev mailing list