search for: mspeculative

Displaying 2 results from an estimated 2 matches for "mspeculative".

Did you mean: speculative
2020 Apr 22
3
[cfe-dev] More verbose -mspeculative-load-hardening
..., 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 diffi...
2020 Apr 23
3
[cfe-dev] More verbose -mspeculative-load-hardening
...and-debug-option You'll > have to add it where you want to see what SLH is doing in the > X86SpeculativeLoadHardening.cpp file and rebuild from source to get the new > error messages. > > Another useful thing for you might be to pass either of these to clang > when you enable -mspeculative-load-hardening > > - -mllvm -print-after-all > - -mllvm -print-after="x86-slh" > > This will let you look at the code before and after the SLH > transformations. > > *If you want to implement this new feature that you want to build on:* > > One thing ab...