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

Tobias Hieta via All-commits all-commits at lists.llvm.org
Fri Jul 8 08:46:54 PDT 2022


  Branch: refs/heads/lld_xfg
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dafed566b369f5d641fe1f04c5325ec42af64e3
      https://github.com/llvm/llvm-project/commit/8dafed566b369f5d641fe1f04c5325ec42af64e3
  Author: Tobias Hieta <tobias at hieta.se>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M lld/COFF/PDB.cpp
    M llvm/include/llvm/DebugInfo/CodeView/CodeView.h
    M llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp

  Log Message:
  -----------
  [LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL

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
SDK.

Fixes: #56285




More information about the All-commits mailing list