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:
2fae05b
)
Drop error when trying to fallback from PDB to DWARF.
author
Zachary Turner
<zturner@google.com>
Fri, 6 May 2016 22:29:34 +0000
(22:29 +0000)
committer
Zachary Turner
<zturner@google.com>
Fri, 6 May 2016 22:29:34 +0000
(22:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268813
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/DebugInfo/Symbolize/Symbolize.cpp
patch
|
blob
|
history
diff --git
a/lib/DebugInfo/Symbolize/Symbolize.cpp
b/lib/DebugInfo/Symbolize/Symbolize.cpp
index
7e5ad32
..
dbb17a8
100644
(file)
--- a/
lib/DebugInfo/Symbolize/Symbolize.cpp
+++ b/
lib/DebugInfo/Symbolize/Symbolize.cpp
@@
-375,6
+375,10
@@
LLVMSymbolizer::getOrCreateModuleInfo(const std::string &ModuleName) {
PDB_ReaderType::DIA, Objects.first->getFileName(), Session);
if (!Error) {
Context.reset(new PDBContext(*CoffObject, std::move(Session)));
+ } else {
+ // Drop error
+ handleAllErrors(std::move(Error),
+ [](const ErrorInfoBase &) { return Error::success(); });
}
}
if (!Context)