search for: makeargstr

Displaying 4 results from an estimated 4 matches for "makeargstr".

Did you mean: makeargs
2013 Jan 21
1
[LLVMdev] Testing canaries
Dear LLVMers, I am trying to measure the performance overhead (if any) of the canaries that clang inserts in the code. I would like to do this automatically, using the LLVM test infra-structure. However, I am not sure if that is possible. Could someone tell me which flags in the TEST.nightly.Makefile script, (or any other script) I must change to have this done? Usually I insert canaries with
2015 Jul 22
2
[LLVMdev] (no subject)
Hello, I have tried a lot fix this error but am not able to can you please find me a solution am trying to compile the SAFECode in Cygwin Environment to work for windows. used make -j4 command to make the files in cygwin i have got this error make[5]: Leaving directory '/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/include' /usr/bin/cp: cannot stat
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
..."clang/Driver/Compilation.h" #include "clang/Driver/Driver.h" diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index d11fa4e..7f24995 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -2172,6 +2172,29 @@ static void addProfileRT( CmdArgs.push_back(Args.MakeArgString(LibProfile)); } +static void addSafeStackRT( + const ToolChain &TC, const ArgList &Args, ArgStringList &CmdArgs) { + if (!Args.hasFlag(options::OPT_fsafe_stack, + options::OPT_fno_safe_stack, false)) + return; + + const char *LibBaseName = "libclang...
2013 Jan 28
0
[LLVMdev] Testing canaries
...ront-end. If you > grep > for stack-protector in the clang source, you will discover that the action > is > happening in clang/lib/Driver/Tools.cpp, here: > > if (StackProtectorLevel) { > CmdArgs.push_back("-stack-protector"); > CmdArgs.push_back(Args.MakeArgString(Twine(StackProtectorLevel))); > } > > The argument -stack-protector is for the code generators, and you should > find > that llc has the same argument. However if you look for it it doesn't > seem to > exist: > > $ llc -help | grep stack-protector > -stac...