diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2025-03-07 22:02:40 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2025-03-10 11:28:10 -0400 |
commit | 3f239fd3ff0d0b25d5c4eb0bfca04416bf50b0c5 (patch) | |
tree | 65357b8ebcd5c30dda98ab58e47295cdecb9ea12 /gdb | |
parent | 0e7e4162469ff8e0139f599e3f37420d8e160390 (diff) | |
download | binutils-3f239fd3ff0d0b25d5c4eb0bfca04416bf50b0c5.zip binutils-3f239fd3ff0d0b25d5c4eb0bfca04416bf50b0c5.tar.gz binutils-3f239fd3ff0d0b25d5c4eb0bfca04416bf50b0c5.tar.bz2 |
gdb/dwarf: add doc for cutu_reader::is_dummy
Change-Id: Ifb80557187c12822bdea7ad400c32c3dce968a7f
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/dwarf2/read.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/dwarf2/read.h b/gdb/dwarf2/read.h index b6ff433..d6d119e 100644 --- a/gdb/dwarf2/read.h +++ b/gdb/dwarf2/read.h @@ -945,6 +945,11 @@ public: cutu_reader (cutu_reader &&) = default; + /* Return true if either: + + - the unit is empty (just a header without any DIE) + - the unit is a partial unit and this cutu_reader was built with SKIP + PARTIAL true. */ bool is_dummy () const { return m_dummy_p; } dwarf2_cu *cu () const { return m_cu; } |