commit | a7afacae7060abfa9a91a7607afab4f5898eee45 | [log] [tgz] |
---|---|---|
author | George Rimar <grimar@accesssoftek.com> | Fri Dec 25 11:15:26 2015 +0000 |
committer | George Rimar <grimar@accesssoftek.com> | Fri Dec 25 11:15:26 2015 +0000 |
tree | 342e3a5ad1412a45adefc1d261a7467b9aa3ffb4 | |
parent | 6ab275c0c803b1d825dccd0b418f918e97cc01bc [diff] [blame] |
Fixed MSVS warning "not all control paths return a value". NFC. llvm-svn: 256415
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 01c8110..ee04b68 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp
@@ -634,6 +634,7 @@ case InputSectionBase<ELFT>::MipsReginfo: return new (MReginfoSecAlloc.Allocate()) MipsReginfoOutputSection<ELFT>(); } + llvm_unreachable("Unknown output section type"); } // Create output section objects and add them to OutputSections.