public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/89323] Asan memory leak detection on x86 platform
       [not found] <bug-89323-4@http.gcc.gnu.org/bugzilla/>
@ 2024-03-15  0:25 ` pinskia at gcc dot gnu.org
  2024-03-15  0:37 ` [Bug sanitizer/89323] Asan memory leak detection on 32bit x86 linux platform pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-15  0:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89323

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |i?86
             Status|WAITING                     |NEW

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
  x86_64-*-linux* | i?86-*-linux*)
        if test x$ac_cv_sizeof_void_p = x8; then
                TSAN_SUPPORTED=yes
                LSAN_SUPPORTED=yes
                TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_amd64.lo
                HWASAN_SUPPORTED=yes
        fi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug sanitizer/89323] Asan memory leak detection on 32bit x86 linux platform
       [not found] <bug-89323-4@http.gcc.gnu.org/bugzilla/>
  2024-03-15  0:25 ` [Bug sanitizer/89323] Asan memory leak detection on x86 platform pinskia at gcc dot gnu.org
@ 2024-03-15  0:37 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-15  0:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89323

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This might work but I can't test it with x32:
```
diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
index 77a0e68222b..eb99edefbd3 100644
--- a/libsanitizer/configure.tgt
+++ b/libsanitizer/configure.tgt
@@ -25,9 +25,9 @@ case "${target}" in
   x86_64-*-freebsd* | i?86-*-freebsd*)
        ;;
   x86_64-*-linux* | i?86-*-linux*)
+       LSAN_SUPPORTED=yes
        if test x$ac_cv_sizeof_void_p = x8; then
                TSAN_SUPPORTED=yes
-               LSAN_SUPPORTED=yes
                TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_amd64.lo
                HWASAN_SUPPORTED=yes
        fi

```

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-15  0:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-89323-4@http.gcc.gnu.org/bugzilla/>
2024-03-15  0:25 ` [Bug sanitizer/89323] Asan memory leak detection on x86 platform pinskia at gcc dot gnu.org
2024-03-15  0:37 ` [Bug sanitizer/89323] Asan memory leak detection on 32bit x86 linux platform pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).