[all-commits] [llvm/llvm-project] be5c96: [CodeGen][COFF] Always emit CodeView compiler info...

Jacek Caban via All-commits all-commits at lists.llvm.org
Fri Jun 13 13:48:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be5c96bfac328fed548c532bbe1710fe23460a85
      https://github.com/llvm/llvm-project/commit/be5c96bfac328fed548c532bbe1710fe23460a85
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGen/debug-info-version-coff.c
    M clang/test/CodeGen/debug-info-version.c
    A clang/test/CodeGenCXX/debug-info-coff.cpp
    M clang/test/CodeGenCXX/debug-info-hotpatch-aarch64.cpp
    M clang/test/CodeGenCXX/debug-info-hotpatch-arm.cpp
    M clang/test/Frontend/ast-main.c
    M clang/test/Frontend/ast-main.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
    M llvm/test/CodeGen/Generic/selection-dag-determinism.ll
    M llvm/test/DebugInfo/COFF/dwarf-headers.ll
    A llvm/test/DebugInfo/COFF/emission-kind-no-codeview.ll
    M llvm/test/DebugInfo/COFF/emission-kind-no-debug.ll
    M llvm/test/DebugInfo/COFF/fission-cu.ll
    M llvm/test/DebugInfo/COFF/fission-sections.ll
    A llvm/test/DebugInfo/COFF/uefi-nodebug.ll
    M llvm/test/DebugInfo/Generic/directives-only.ll

  Log Message:
  -----------
  [CodeGen][COFF] Always emit CodeView compiler info on Windows targets (#142970)

MSVC always emits minimal CodeView metadata with compiler information,
even when debug info is otherwise disabled. Other tools may rely on this
metadata being present. For example, linkers use it to determine whether
hotpatching is enabled for the object file.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list