projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aade120
)
Fix "not all control paths return a value" MSVC warning.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 1 Aug 2018 13:00:11 +0000
(13:00 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 1 Aug 2018 13:00:11 +0000
(13:00 +0000)
llvm-svn: 338529
llvm/lib/MC/MCObjectFileInfo.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/MC/MCObjectFileInfo.cpp
b/llvm/lib/MC/MCObjectFileInfo.cpp
index
d422312
..
b88d2d8
100644
(file)
--- a/
llvm/lib/MC/MCObjectFileInfo.cpp
+++ b/
llvm/lib/MC/MCObjectFileInfo.cpp
@@
-962,6
+962,7
@@
MCSection *MCObjectFileInfo::getDwarfTypesSection(uint64_t Hash) const {
"format: not implemented.");
break;
}
+ llvm_unreachable("Unknown ObjectFormatType");
}
MCSection *