diff options
| author | Alp Toker <alp@nuanti.com> | 2014-01-09 19:40:55 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-01-09 19:40:55 +0000 |
| commit | 2a2a354ee94b1daf20ebca8ec47f54c3d55cc02e (patch) | |
| tree | 03ad95d3bfead75bb263d65c9f050f8d142d308a | |
| parent | 15b27b97b7d79624603278d1705e9eafcc2d86b5 (diff) | |
| download | bcm5719-llvm-2a2a354ee94b1daf20ebca8ec47f54c3d55cc02e.tar.gz bcm5719-llvm-2a2a354ee94b1daf20ebca8ec47f54c3d55cc02e.zip | |
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: 198884
| -rw-r--r-- | llvm/utils/TableGen/TableGen.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/utils/TableGen/TableGen.cpp b/llvm/utils/TableGen/TableGen.cpp index 6db54a9006d..b5c3ca760db 100644 --- a/llvm/utils/TableGen/TableGen.cpp +++ b/llvm/utils/TableGen/TableGen.cpp @@ -180,10 +180,3 @@ int main(int argc, char **argv) { return TableGenMain(argv[0], &LLVMTableGenMain); } - -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" |

