OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a01593
)
[codeview] Recognize two records with no type index fields
author
Reid Kleckner
<rnk@google.com>
Mon, 23 Oct 2017 22:44:24 +0000
(22:44 +0000)
committer
Reid Kleckner
<rnk@google.com>
Mon, 23 Oct 2017 22:44:24 +0000
(22:44 +0000)
Thunk records do not have types and frame cookies do not have types.
These were found while linking libconcrt.lib from MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316385
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
patch
|
blob
|
history
diff --git
a/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
b/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
index
650f194
..
c802b6b
100644
(file)
--- a/
lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
+++ b/
lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
@@
-434,6
+434,8
@@
static bool discoverTypeIndices(ArrayRef<uint8_t> Content, SymbolKind Kind,
case SymbolKind::S_ENVBLOCK:
case SymbolKind::S_BLOCK32:
case SymbolKind::S_FRAMEPROC:
+ case SymbolKind::S_THUNK32:
+ case SymbolKind::S_FRAMECOOKIE:
break;
// Scope ending symbols.
case SymbolKind::S_END: