[all-commits] [llvm/llvm-project] 2ead82: [clang] [MinGW] Default to DWARF 4

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Feb 10 01:25:16 PST 2022


  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ead82c6f972c8372f761b40fcfd7f533b632db5
      https://github.com/llvm/llvm-project/commit/2ead82c6f972c8372f761b40fcfd7f533b632db5
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/MinGW.h
    M clang/test/CodeGen/dwarf-version.c

  Log Message:
  -----------
  [clang] [MinGW] Default to DWARF 4

Neither LLDB nor GDB seem to work with DWARF 5 debug information on
Windows right now.

This applies the same change as in
9c6272861032f511a23784ce0c5cc8f6ac2f625b (Default to DWARFv4 on Windows)
to the MinGW driver too.

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

(cherry picked from commit 6cf64b2d2858dc93c3ec93438bdaca2807847e9b)




More information about the All-commits mailing list