llvm.org GIT mirror llvm / d92ff21
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 Alp Toker 6 years ago
1 changed file(s) with 0 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
179179
180180 return TableGenMain(argv[0], &LLVMTableGenMain);
181181 }
182
183 extern "C" {
184 // Disable LeakSanitizer for this binary as it has too many leaks that are not
185 // very interesting to fix. __lsan_is_turned_off is explained in
186 // compiler-rt/include/sanitizer/lsan_interface.h
187 int __lsan_is_turned_off() { return 1; }
188 } // extern "C"