docs: Suggest options to improve ASAN stack traces
authorMarek Polacek <polacek@redhat.com>
Wed, 7 Dec 2022 20:27:27 +0000 (15:27 -0500)
committerMarek Polacek <polacek@redhat.com>
Thu, 8 Dec 2022 22:49:28 +0000 (17:49 -0500)
commit6a07798c6bc602c355a546057187169f79872696
treeb4a155a0e4f9160976296b8ccad6cca85c842eb4
parent3a9f6d5a8ee490adf9a18f93feaf86542642be7d
docs: Suggest options to improve ASAN stack traces

I got a complaint that while Clang docs suggest options that improve
the quality of the backtraces ASAN prints (cf.
<https://clang.llvm.org/docs/AddressSanitizer.html#usage>), our docs
don't say anything to that effect.  This patch amends that with a new
paragraph.  (It deliberately doesn't mention -fno-omit-frame-pointer.)

gcc/ChangeLog:

* doc/invoke.texi (-fsanitize=address): Suggest options to improve
stack traces.
gcc/doc/invoke.texi