[lsan][Fuchsia] Define EarlySanitizerInit for standalone lsan (#138946)

I forgot to add this definition in https://github.com/llvm/llvm-project/pull/131886.
This commit is contained in:
PiJoules
2025-05-07 15:42:51 -07:00
committed by GitHub
parent 94d933676c
commit 1d073fd1ca

View File

@@ -21,6 +21,11 @@
using namespace __lsan;
namespace __sanitizer {
// LSan doesn't need to do anything else special in the startup hook.
void EarlySanitizerInit() {}
} // namespace __sanitizer
namespace __lsan {
void LsanOnDeadlySignal(int signo, void *siginfo, void *context) {}