Skip to content

Commit 3d93790

Browse files
committed
[lsan][Fuchsia] Define EarlySanitizerInit for standalone lsan
I forgot to add this definition in llvm#131886.
1 parent 1ff2953 commit 3d93790

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler-rt/lib/lsan/lsan_fuchsia.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121

2222
using namespace __lsan;
2323

24+
namespace __sanitizer {
25+
// LSan doesn't need to do anything else special in the startup hook.
26+
void EarlySanitizerInit() {}
27+
} // namespace __sanitizer
28+
2429
namespace __lsan {
2530

2631
void LsanOnDeadlySignal(int signo, void *siginfo, void *context) {}

0 commit comments

Comments
 (0)