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:
9c2e16e
)
Fix -Wreturn-type warning with HAVE_DIA_SDK is false.
author
Zachary Turner
<zturner@google.com>
Thu, 21 Apr 2016 22:16:19 +0000
(22:16 +0000)
committer
Zachary Turner
<zturner@google.com>
Thu, 21 Apr 2016 22:16:19 +0000
(22:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267068
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/DebugInfo/PDB/PDB.cpp
patch
|
blob
|
history
diff --git
a/lib/DebugInfo/PDB/PDB.cpp
b/lib/DebugInfo/PDB/PDB.cpp
index
723d1d2
..
4bc0141
100644
(file)
--- a/
lib/DebugInfo/PDB/PDB.cpp
+++ b/
lib/DebugInfo/PDB/PDB.cpp
@@
-30,6
+30,7
@@
PDB_ErrorCode llvm::loadDataForPDB(PDB_ReaderType Type, StringRef Path,
#if HAVE_DIA_SDK
return DIASession::createFromPdb(Path, Session);
#endif
+ return PDB_ErrorCode::NoDiaSupport;
}
PDB_ErrorCode llvm::loadDataForEXE(PDB_ReaderType Type, StringRef Path,
@@
-41,4
+42,5
@@
PDB_ErrorCode llvm::loadDataForEXE(PDB_ReaderType Type, StringRef Path,
#if HAVE_DIA_SDK
return DIASession::createFromExe(Path, Session);
#endif
+ return PDB_ErrorCode::NoDiaSupport;
}