Skip to content

Commit 97aee59

Browse files
author
Julian Lettner
committed
[Sanitizer] Fix compile errors in rtl-old/tsan_rtl.cpp
Differential Revision: https://reviews.llvm.org/D134389
1 parent 0e2e1fc commit 97aee59

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler-rt/lib/tsan/rtl-old/tsan_rtl.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "sanitizer_common/sanitizer_atomic.h"
1717
#include "sanitizer_common/sanitizer_common.h"
1818
#include "sanitizer_common/sanitizer_file.h"
19+
#include "sanitizer_common/sanitizer_interface_internal.h"
1920
#include "sanitizer_common/sanitizer_libc.h"
2021
#include "sanitizer_common/sanitizer_placement_new.h"
2122
#include "sanitizer_common/sanitizer_stackdepot.h"
@@ -415,9 +416,6 @@ void Initialize(ThreadState *thr) {
415416
__tsan::InitializePlatformEarly();
416417

417418
#if !SANITIZER_GO
418-
// Re-exec ourselves if we need to set additional env or command line args.
419-
MaybeReexec();
420-
421419
InitializeAllocator();
422420
ReplaceSystemMalloc();
423421
#endif

0 commit comments

Comments
 (0)