[cfe-dev] Detecting -fsanitize=unreachable using __has_feature

Alexey Samsonov vonosmas at gmail.com
Mon Jan 5 14:29:12 PST 2015


Hi,

On Mon, Jan 5, 2015 at 10:05 AM, Devchandra L Meetei <dlmeetei at gmail.com>
wrote:

> Hi All
> Not sure if this is the right forum as the question is more or less user
> related.
>
> Have tried searching a bit on google. But could not found any relevant
> info.
>
> Could somebody hint me on how to detect if -fsanitize-unreachable is
> supported by clang in cpp code
>

I don't think we have __has_feature for any of UBSan checks. What is your
use case?


>
>
> --
> Warm Regards
> --Dev
>
> "I'm one of those people that think Thomas Edison and the light bulb
> changed the world more than Karl Marx ever did,” Steve Jobs
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>


-- 
Alexey Samsonov
vonosmas at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150105/7a7fcb90/attachment.html>


More information about the cfe-dev mailing list