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 | d92ff21d6f526cadea7d6db21f493ba5c85e1411 (patch) | |
tree | 1dc80496d041e931a547184acbadefc2fd4ff641 | |
parent | 480469249120b961fd373b6c7f510c4368dabfa2 (diff) | |
download | llvm-d92ff21d6f526cadea7d6db21f493ba5c85e1411.tar.gz llvm-d92ff21d6f526cadea7d6db21f493ba5c85e1411.tar.bz2 llvm-d92ff21d6f526cadea7d6db21f493ba5c85e1411.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198884 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/TableGen/TableGen.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index 6db54a9006..b5c3ca760d 100644 --- a/utils/TableGen/TableGen.cpp +++ b/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" |