diff options
author | George Rimar <grimar@accesssoftek.com> | 2015-12-25 11:15:26 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2015-12-25 11:15:26 +0000 |
commit | a7afacae7060abfa9a91a7607afab4f5898eee45 (patch) | |
tree | 342e3a5ad1412a45adefc1d261a7467b9aa3ffb4 | |
parent | 6ab275c0c803b1d825dccd0b418f918e97cc01bc (diff) | |
download | bcm5719-llvm-a7afacae7060abfa9a91a7607afab4f5898eee45.tar.gz bcm5719-llvm-a7afacae7060abfa9a91a7607afab4f5898eee45.zip |
Fixed MSVS warning "not all control paths return a value". NFC.
llvm-svn: 256415
-rw-r--r-- | lld/ELF/Writer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 01c81106137..ee04b68e087 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -634,6 +634,7 @@ Writer<ELFT>::createOutputSection(InputSectionBase<ELFT> *C, StringRef Name, 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. |