public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] Undefined Behavior Sanitizer, this time with docs
@ 2018-10-02  4:44 Tom Tromey
  2018-10-02  4:44 ` [PATCH v2 08/10] Avoid undefined behavior in ada_operator_length Tom Tromey
                   ` (11 more replies)
  0 siblings, 12 replies; 29+ messages in thread
From: Tom Tromey @ 2018-10-02  4:44 UTC (permalink / raw)
  To: gdb-patches

This is a new version of the series to add -fsanitize=undefined to the
build.

It's only added to gdb, though it occurred to me later that it would
probably be better to add it to all the libraries as well.

This version addresses the review comments, and in particular adds
documentation in patch #10 about performance.  It also fixes a bug
observed on the S390 builds in patch #2.

Regression tested by the buildbot.

Tom


^ permalink raw reply	[flat|nested] 29+ messages in thread
* [PATCH v2 00/10] Enable undefined behavior sanitizer
@ 2018-08-30  2:44 Tom Tromey
  2018-08-30  2:44 ` [PATCH v2 03/10] Use unsigned as base type for some enums Tom Tromey
  0 siblings, 1 reply; 29+ messages in thread
From: Tom Tromey @ 2018-08-30  2:44 UTC (permalink / raw)
  To: gdb-patches

This is v2 of the series to enable the undefined behavior sanitizer
for gdb.  This is done by default in development mode, but can be
disabled.

I believe this version addresses all the review comments.

Tested (*) by the buildbot.

(*) However, as I mentioned in another thread, the s390 builders do
not like this series.  I get many, many failures.  Looking at the
gdb.log, though, the failures seem to be coming from libstdc++ debug
mode -- which this series does not enable.

    Here's a link to one such build in case you are curious:

    Full Build URL:
	    <http://gdb-build.sergiodj.net/builders/RHEL-s390x-m64/builds/8180>

    Testsuite log (gdb.sum and gdb.log) URL(s):
	    <http://gdb-build.sergiodj.net/results/RHEL-s390x-m64/try/5f/5fe3f3e4633df1ea76ff24a2732d7c73dc983b90/0/>

Until this is understood I am reluctant to push this series.

Tom

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

end of thread, other threads:[~2018-10-12 21:07 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-02  4:44 [PATCH v2 00/10] Undefined Behavior Sanitizer, this time with docs Tom Tromey
2018-10-02  4:44 ` [PATCH v2 08/10] Avoid undefined behavior in ada_operator_length Tom Tromey
2018-10-02  4:44 ` [PATCH v2 04/10] Avoid undefined behavior in extract_integer Tom Tromey
2018-10-02  4:44 ` [PATCH v2 09/10] Avoid undefined behavior in expression dumping Tom Tromey
2018-10-03 17:48   ` Pedro Alves
2018-10-02  4:44 ` [PATCH v2 10/10] Add --enable-ubsan Tom Tromey
2018-10-02 13:53   ` Eli Zaretskii
2018-10-02 21:26     ` Tom Tromey
2018-10-02 21:28       ` Tom Tromey
2018-10-03 17:31         ` Eli Zaretskii
2018-10-03 17:54   ` Pedro Alves
2018-10-03 21:09     ` Tom Tromey
2018-10-02  4:44 ` [PATCH v2 06/10] Avoid undefined behavior in parse_number Tom Tromey
2018-10-02  4:44 ` [PATCH v2 07/10] Avoid undefined behavior in read_signed_leb128 Tom Tromey
2018-10-02  4:44 ` [PATCH v2 02/10] Change dwarf2_frame_state_reg_info::reg to be std::vector Tom Tromey
2018-10-03 17:28   ` Pedro Alves
2018-10-03 21:05     ` Tom Tromey
2018-10-02  4:44 ` [PATCH v2 01/10] Do not pass NULL to memcpy Tom Tromey
2018-10-02  4:44 ` [PATCH v2 03/10] Use unsigned as base type for some enums Tom Tromey
2018-10-03 17:33   ` Pedro Alves
2018-10-03 21:07     ` Tom Tromey
2018-10-02  4:44 ` [PATCH v2 05/10] Avoid undefined behavior in read_subrange_type Tom Tromey
2018-10-03 17:57 ` [PATCH v2 00/10] Undefined Behavior Sanitizer, this time with docs Pedro Alves
2018-10-03 21:09   ` Tom Tromey
2018-10-08 19:14 ` John Baldwin
2018-10-08 20:22   ` Joel Brobecker
2018-10-09 10:44     ` Pedro Alves
2018-10-12 21:07       ` Joel Brobecker
  -- strict thread matches above, loose matches on Subject: below --
2018-08-30  2:44 [PATCH v2 00/10] Enable undefined behavior sanitizer Tom Tromey
2018-08-30  2:44 ` [PATCH v2 03/10] Use unsigned as base type for some enums Tom Tromey

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).