Revert "Prevent DCE on __lsan_is_turned_off and re-enable test case"

This doesn't fix the failing test. Leave in the comment and the
attribute, since the used attribute is still required.

This partially reverts commit r312824

llvm-svn: 312827
This commit is contained in:
Francis Ricci 2017-09-08 21:09:43 +00:00
parent 3292c33110
commit f36d34a4d4
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
// RUN: %clangxx_lsan %s -o %t // RUN: %clangxx_lsan %s -o %t
// RUN: %env_lsan_opts=$LSAN_BASE %run %t // RUN: %env_lsan_opts=$LSAN_BASE %run %t
// RUN: %env_lsan_opts=$LSAN_BASE not %run %t foo 2>&1 | FileCheck %s // RUN: %env_lsan_opts=$LSAN_BASE not %run %t foo 2>&1 | FileCheck %s
//
// UNSUPPORTED: darwin
#include <sanitizer/lsan_interface.h> #include <sanitizer/lsan_interface.h>