diff options
author | Tobias Hieta <tobias@hieta.se> | 2022-08-08 15:53:15 +0200 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-08-08 13:23:11 -0700 |
commit | 1f9561096d893fe68c818e555e0590405e375978 (patch) | |
tree | 47169e3eea69154d2088c0c8c9801854304373a2 /llvm/include | |
parent | 9c68b43915fc1c9c0a07e935163ae8d638d7241b (diff) | |
download | llvm-1f9561096d893fe68c818e555e0590405e375978.zip llvm-1f9561096d893fe68c818e555e0590405e375978.tar.gz llvm-1f9561096d893fe68c818e555e0590405e375978.tar.bz2 |
[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
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D129378
(cherry picked from commit 576375a2d670a7b1bd84b53b0187605a5f4ea0c8)
Diffstat (limited to 'llvm/include')
-rw-r--r-- | llvm/include/llvm/DebugInfo/CodeView/CodeView.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/DebugInfo/CodeView/CodeView.h b/llvm/include/llvm/DebugInfo/CodeView/CodeView.h index d4cb6ae..b7a3e15 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/CodeView.h +++ b/llvm/include/llvm/DebugInfo/CodeView/CodeView.h @@ -330,6 +330,9 @@ enum class DebugSubsectionKind : uint32_t { MergedAssemblyInput = 0xfc, CoffSymbolRVA = 0xfd, + + XfgHashType = 0xff, + XfgHashVirtual = 0x100, }; /// Equivalent to CV_ptrtype_e. |