Revert "Disable LeakSanitizer in TableGen binaries, see PR18325"

To declare or define reserved identifers is undefined behaviour in standard
C++. This needs to be addressed in compiler-rt before it can be used in LLVM.

See the list discussion for details.

This reverts commit r198858.

llvm-svn: 198885
This commit is contained in:
Alp Toker 2014-01-09 19:43:17 +00:00
parent 2a2a354ee9
commit 96af9886ef
1 changed files with 0 additions and 7 deletions

View File

@ -263,10 +263,3 @@ int main(int argc, char **argv) {
return TableGenMain(argv[0], &ClangTableGenMain);
}
extern "C" {
// Disable LeakSanitizer for this binary as it has too many leaks that are not
// very interesting to fix. __lsan_is_turned_off is explained in
// compiler-rt/include/sanitizer/lsan_interface.h
int __lsan_is_turned_off() { return 1; }
} // extern "C"