]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add debug helpers for auto_bitmap.
authorAldy Hernandez <aldyh@redhat.com>
Wed, 13 Oct 2021 08:04:39 +0000 (10:04 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Thu, 14 Oct 2021 09:04:13 +0000 (11:04 +0200)
commit3d0a7271b383c95d5c8dc9647966517a61e71abb
tree226df0b2ff1edc10688cbeaa028c12c3177f218b
parent6e3bfd60e87303b32bf2284ea4e79078f488bc95
Add debug helpers for auto_bitmap.

Using debug() on an auto_bitmap from gdb doesn't work because the
implicit conversion from auto_bitmap to bitmap_head doesn't work
from within a debugging session.  This patch adds the convenience
functions for auto_bitmap.

gcc/ChangeLog:

* bitmap.c (debug): New overloaded function for auto_bitmaps.
* bitmap.h (debug): Same.
gcc/bitmap.c
gcc/bitmap.h