public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Qingnan Duan <Qingnan.Duan@microsoft.com>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: GCC address sanitizer - supported architecture
Date: Thu, 24 Dec 2020 03:23:43 +0000	[thread overview]
Message-ID: <TYZP153MB0448789F2DB7DD10FAF71CE781DD9@TYZP153MB0448.APCP153.PROD.OUTLOOK.COM> (raw)

Hi everyone,
I was looking at this page Instrumentation Options (Using the GNU Compiler Collection (GCC))<https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html> and it says "-fsanitize=address" is only supported on AArch64. However, I was able to compile my code on x86-64 CPU with -fsanitize=address flag.

Is the document out-of-date? Or, does it mean the result of ASan is not guaranteed on any platform other than AArch64?
Thanks in advance for your help!

Best regards,
Qingnan Duan

             reply	other threads:[~2020-12-24  3:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-24  3:23 Qingnan Duan [this message]
2020-12-24  8:48 ` Kewen.Lin
2020-12-24 10:10   ` Jonathan Wakely
2020-12-24 12:06     ` Kewen.Lin
2020-12-24 12:28       ` Jonathan Wakely
2020-12-25  7:37         ` [EXTERNAL] " Qingnan Duan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TYZP153MB0448789F2DB7DD10FAF71CE781DD9@TYZP153MB0448.APCP153.PROD.OUTLOOK.COM \
    --to=qingnan.duan@microsoft.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).