[PATCH] D99381: [compiler-rt][hwasan] Remove __sanitizer allocation functions from hwasan interface

Leonard Chan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 28 15:42:24 PDT 2021


leonardchan added a comment.

In D99381#2911459 <https://reviews.llvm.org/D99381#2911459>, @vitalybuka wrote:

> In D99381#2911057 <https://reviews.llvm.org/D99381#2911057>, @eugenis wrote:
>
>> They are used here:
>> https://cs.android.com/android/platform/superproject/+/master:bionic/libc/bionic/malloc_common.h;l=54;drc=f3968e89cb72400951f93a2a8237ac1428d2627c
>
> Thanks, it's preprocessor generated, so I can't find it :)
>
> If so I guess LGTM.
> But now they are in the same file, so instead of declarations, maybe just place SANITIZER_INTERFACE_ATTRIBUTE next to to the definition?

Done. I'll take this as a review LGTM and submit tomorrow unless others have comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99381



More information about the cfe-commits mailing list