1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[Hexagon] Mark raise_relocation_error as NORETURN.

Summary:
This silences a couple of implicit fallthrough warnings with GCC 7.1 in
this file.

Reviewers: colinl, kparzysz

Reviewed By: kparzysz

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D35889

llvm-svn: 309129
This commit is contained in:
Florian Hahn 2017-07-26 16:07:51 +00:00
parent 60685ac90e
commit 17f179136d

View File

@ -159,6 +159,7 @@ void HexagonMCCodeEmitter::EncodeSingleInstruction(
}
namespace {
LLVM_ATTRIBUTE_NORETURN
void raise_relocation_error(unsigned bits, unsigned kind) {
std::string Text;
{