Add support for LLVM_USE_SANITIZER = SafeStack

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 16:46:43 PDT 2015


+folks who may be able to answer...
Next time, please use http://llvm.org/docs/Phabricator.html, at least for
for changes around -fsanitize=*

On Mon, Oct 5, 2015 at 2:20 AM, Valérian Rousset via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Hello all,
>
> Here is a trivial patch to allow LLVM to be build with SafeStack, via
> LLVM_USE_SANITIZER=SafeStack.
>
> It does compile without issue, but some tests fail, mainly due to
> profiling with
> instrumentation.
> It fails with `undefined reference to `__safestack_unsafe_stack_ptr'`
> because it
> has to link with the SafeStack runtime but it wasn't build. What is the
> best way
> to do this? Mark the tests as unsupported or did I missed something?
>
> Have a nice day.
> --
> tharvik
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151005/8d7d270d/attachment.html>


More information about the llvm-commits mailing list