[PATCH] D67908: [tblgen] Disable Leak detection for ASan/GCC and LSan/LLVM

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 05:17:13 PDT 2019


krytarowski added a comment.

In D67908#1678816 <https://reviews.llvm.org/D67908#1678816>, @fjricci wrote:

> Interesting - I had tried to add has_feature for lsan to clang in the past and couldn’t get the change accepted. Nice to see it works now :)


We use it now in the NetBSD public headers [1] and keep `__SANITIEZE_LEAK__` as our local GCC extension... hopefully the GCC upstream will merge it as diverging from LLVM and from GCC downstream users.. is a cost.

[1] https://github.com/NetBSD/src/commit/e08b61780bb6fece3ba3f58a3dc6991ee831c41e


Repository:
  rL LLVM

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

https://reviews.llvm.org/D67908





More information about the llvm-commits mailing list