Skip to content

Commit

Permalink
Merge pull request #43139 from ClickHouse/backport/22.10/43009
Browse files Browse the repository at this point in the history
Backport #43009 to 22.10: Fix TSan errors (correctly ignore _exit interception)
  • Loading branch information
tavplubix committed Nov 11, 2022
2 parents 99710e8 + 896b2d0 commit 3515e87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/base/safeExit.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#if defined(OS_LINUX)
# include <sys/syscall.h>
#endif
#include <cstdlib>
#include <unistd.h>
#include <base/safeExit.h>
#include <base/defines.h> /// for THREAD_SANITIZER

[[noreturn]] void safeExit(int code)
{
Expand Down

0 comments on commit 3515e87

Please sign in to comment.