[PATCH] D80805: [KernelAddressSanitizer] Make globals constructors compatible with kernel

Alexander Potapenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 06:03:48 PDT 2020


glider added a comment.

In D80805#2063679 <https://reviews.llvm.org/D80805#2063679>, @melver wrote:

> In D80805#2063225 <https://reviews.llvm.org/D80805#2063225>, @glider wrote:
>
> > Could you please add an IR test for this?
>
>
> Was planning to -- sorry, I should have mentioned: before I go add tests, does this look sane to you?


I thought we didn't have support for `__attribute__((constructor))` in the kernel? Does GCC emit constructors for globals with KASAN?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80805/new/

https://reviews.llvm.org/D80805





More information about the llvm-commits mailing list