[llvm-dev] ASan port for Myriad RTEMS

Walter Lee via llvm-dev llvm-dev at lists.llvm.org
Mon May 7 12:35:12 PDT 2018


On Mon, May 7, 2018 at 2:05 PM Kostya Serebryany <kcc at google.com> wrote:

>
>
>> and GetFakeStackFast.
>
>
> Not sure. Why don't just disable stack-use-after-return?
>

Yeah originally I was going to do that, but:

1. We had a stack use-after-return last month that people had to debug by
hand. that would have been caught by ASan with stack-use-after-return.  So
it seems like a worthwhile feature to support.

2. Initially I was concerned about code size and one thing I was planning
to do was to disable stack-use-after-return instrumentation.  But in
practice, we find that this was a non-issue: we are able to run the same
number of tests with and without such instrumentation.

3. It seems like a good idea to keep the same default behavior and feature
parity with x86 ASan when possible.

Thanks,

Walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180507/df58132f/attachment.html>


More information about the llvm-dev mailing list