[llvm-dev] [cfe-dev] More verbose -mspeculative-load-hardening

Praveen Velliengiri via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 22 09:51:40 PDT 2020


Hi
I think llvm-dev list (CC'ed) have more visibility in this.

On Wed, 22 Apr 2020 at 22:18, milsegv via cfe-dev <cfe-dev at lists.llvm.org>
wrote:

> Hello everyone,
>
> It may not be the best place to ask this but I found nothing on the
> internet about it.
> I'm working on Spectre V1 detection and stumbled upon the mitigation
> provided by clang, the "-mspeculative-load-hardening" option. I found it
> really interesting, and my question is the following: is there a way to
> tweak the compiler to print a message whenever it applies the mitigation,
> telling the user at which line of its code it applied the patch ?
> I have no idea of the difficulty of such a feature, but I'm ready to learn
> how to do it myself if anybody has time to tell me how to !
>
> Thanks for any help,
> milsegv
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200422/045cd34e/attachment.html>


More information about the llvm-dev mailing list