Skip to content

Commit c0bc470

Browse files
committed
Update README.md note about UBSan for GCC >= 13
The new option name is a lot nicer, so encourage its use! I don't know if the old option will ever be removed.
1 parent 3824d4d commit c0bc470

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ quite support cross-compilation. A decent alternative would be
176176
Neither Address Sanitizer (ASan) nor Thread Sanitizer (TSan) [has been
177177
ported to Mingw-w64][san] ([also][san2]), but Undefined Behavior Sanitizer
178178
(UBSan) works perfectly under GDB. With both `-fsanitize=undefined` and
179-
`-fsanitize-undefined-trap-on-error`, GDB will [break precisely][break] on
180-
undefined behavior, and it does not require linking with libsanitizer.
179+
`-fsanitize-trap`, GDB will [break precisely][break] on undefined
180+
behavior, and it does not require linking with libsanitizer.
181181

182182
The kit includes a unique [`debugbreak` command][debugbreak]. It causes
183183
all debugee processes to break in the debugger, like using Windows' F12

0 commit comments

Comments
 (0)