diff --git a/clang/utils/TableGen/TableGen.cpp b/clang/utils/TableGen/TableGen.cpp index f217a6e1724c..4e7624db1519 100644 --- a/clang/utils/TableGen/TableGen.cpp +++ b/clang/utils/TableGen/TableGen.cpp @@ -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"