[all-commits] [llvm/llvm-project] 576375: [LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL

Tobias Hieta via All-commits all-commits at lists.llvm.org
Mon Aug 8 06:54:07 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 576375a2d670a7b1bd84b53b0187605a5f4ea0c8
  Author: Tobias Hieta <tobias at hieta.se>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M lld/COFF/PDB.cpp
    M lld/test/COFF/pdb-unknown-subsection.s
    A lld/test/COFF/pdb-xfg-section.s
    M llvm/include/llvm/DebugInfo/CodeView/CodeView.h
    M llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp

  Log Message:

These are new debug types that ships with the latest
Windows SDK and would warn and finally fail lld-link.

The symbols seems to be related to Microsoft's XFG
which is their version of CFG. We can't handle any of
this yet, so for now we can just ignore these types
so that lld doesn't fail with a new version of Windows

Fixes: #56285

Reviewed By: rnk

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

More information about the All-commits mailing list