]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libsanitizer/lsan/lsan_common_linux.cpp
Libsanitizer: merge from master.
[thirdparty/gcc.git] / libsanitizer / lsan / lsan_common_linux.cpp
index ea1a4a2f569d0648a06b3b25d6e73a865dbab14d..c97ef31593dfa8eaf287ae215849e8cad5f7302c 100644 (file)
@@ -134,7 +134,8 @@ static int LockStuffAndStopTheWorldCallback(struct dl_phdr_info *info,
 // while holding the libdl lock in the parent thread, we can safely reenter it
 // in the tracer. The solution is to run stoptheworld from a dl_iterate_phdr()
 // callback in the parent thread.
-void LockStuffAndStopTheWorld(StopTheWorldCallback callback, void *argument) {
+void LockStuffAndStopTheWorld(StopTheWorldCallback callback,
+                              CheckForLeaksParam *argument) {
   DoStopTheWorldParam param = {callback, argument};
   dl_iterate_phdr(LockStuffAndStopTheWorldCallback, &param);
 }