aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-02-08 15:16:18 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-02-08 15:16:18 -0300
commitfac821246c582299fc3f7dbd0b84aad43f27e355 (patch)
tree3c37c93c516864997f396cffe18f990f17378c47
parent742f04f89da03665ee68ce56ba42979e200cbb80 (diff)
downloadpahole-fac821246c582299fc3f7dbd0b84aad43f27e355.tar.gz
core: type->declaration is just one bit, make it a bitfield member
It isn't that much used and we need to make space for some new fields. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--dwarves.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwarves.h b/dwarves.h
index ce6561b9..2d68510c 100644
--- a/dwarves.h
+++ b/dwarves.h
@@ -1039,7 +1039,7 @@ struct type {
uint16_t max_tag_name_len;
uint16_t natural_alignment;
bool packed_attributes_inferred;
- uint8_t declaration; /* only one bit used */
+ uint8_t declaration:1;
uint8_t definition_emitted:1;
uint8_t fwd_decl_emitted:1;
uint8_t resized:1;