[PATCH] D50007: [LLD] Fix 'ignoring unknown symbol record' message
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 30 13:11:06 PDT 2018
aganea created this revision.
aganea added a reviewer: zturner.
Herald added a subscriber: llvm-commits.
This fixes 'ignoring unknown symbol record with kind 0x' when passing lld-link -verbose with MSVC-compiled .objs.
Repository:
rL LLVM
https://reviews.llvm.org/D50007
Files:
llvm/trunk/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
Index: llvm/trunk/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
===================================================================
--- llvm/trunk/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
+++ llvm/trunk/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
@@ -428,7 +428,7 @@
case SymbolKind::S_DEFRANGE_SUBFIELD:
break;
- // No type refernces.
+ // No type references.
case SymbolKind::S_LABEL32:
case SymbolKind::S_OBJNAME:
case SymbolKind::S_COMPILE:
@@ -439,6 +439,7 @@
case SymbolKind::S_FRAMEPROC:
case SymbolKind::S_THUNK32:
case SymbolKind::S_FRAMECOOKIE:
+ case SymbolKind::S_UNAMESPACE:
break;
// Scope ending symbols.
case SymbolKind::S_END:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50007.158056.patch
Type: text/x-patch
Size: 693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180730/03986288/attachment.bin>
More information about the llvm-commits
mailing list