mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
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
This commit is contained in:
parent
4804692491
commit
d92ff21d6f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user