[all-commits] [llvm/llvm-project] c6e2de: [LLVM] Use DWARFv4 bitfields when tuning for GDB

David Spickett via All-commits all-commits at lists.llvm.org
Thu Oct 27 01:51:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6e2de60423ae98b1a7a175bab98c3c3c578b284
      https://github.com/llvm/llvm-project/commit/c6e2de60423ae98b1a7a175bab98c3c3c578b284
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/DebugInfo/X86/bitfields-dwarf4.ll
    M llvm/test/DebugInfo/X86/packed_bitfields.ll

  Log Message:
  -----------
  [LLVM] Use DWARFv4 bitfields when tuning for GDB

GDB implemented data_bit_offset in https://sourceware.org/bugzilla/show_bug.cgi?id=12616
which has been present since GDB 8.0.

GCC started using it at GCC 11.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D135583




More information about the All-commits mailing list