[PATCH] D135583: [LLVM] Use DWARFv4 bitfields when tuning for GDB

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 03:31:33 PDT 2022


DavidSpickett added a comment.

GDB 8 was the first version to support DW_AT_data_bit_offset.

Given that we expect GCC 7, which would probably come with a GDB 7, likely best action is to just update the comment and I'll come back to this if/when the minimum moves up.
(https://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library)

> Got a sense of what GCC does in what versions? Might be a good argument for when/if/how we should use this newer feature... if they're already using it at least.

I will check this out. (it might be that the support in GDB 8 has some holes that GCC accounted for for a while after that)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135583/new/

https://reviews.llvm.org/D135583



More information about the llvm-commits mailing list