[PATCH] D37635: Prevent DCE on __lsan_is_turned_off and re-enable test case

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 12:32:24 PDT 2017


kcc added a comment.

May I ask you to also update the comments around the definition of  __lsan_is_turned_off in lsan_interface.h?

  // To avoid dead stripping you may need to define this function with __attribute__((used))


https://reviews.llvm.org/D37635





More information about the llvm-commits mailing list