[llvm-dev] ASan port for Myriad RTEMS

Walter Lee via llvm-dev llvm-dev at lists.llvm.org
Mon May 7 13:09:44 PDT 2018


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

> I probably misunderstood.  You are not disabling UAR completely, just
disabling the fast-path getter?

I may not be putting the guard in the right place, but the problem is when
!asan_inited, AsanThreads has not been set up => GetCurrentThread won't
work.  So in that scenario, I want GetFakeStack and GetFakeStackFast to
just return nullptr, and OnMalloc to return 0.

> Hmm.
> Maybe let's leave this one out for now and once everything else is
resolved will look at it again?

Sounds good.


More information about the llvm-dev mailing list