From 8b4904f9d72e25a9f3452149464ffed1204fc2d2 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Tue, 2 Aug 2016 23:23:13 +0000 Subject: [PATCH] [scudo] add NORETURN to the declaration of dieWithMessage; this should fix a warning in lib/scudo/scudo_termination.cpp llvm-svn: 277546 --- compiler-rt/lib/scudo/scudo_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/scudo/scudo_utils.h b/compiler-rt/lib/scudo/scudo_utils.h index 07394ff..c4f0760 100644 --- a/compiler-rt/lib/scudo/scudo_utils.h +++ b/compiler-rt/lib/scudo/scudo_utils.h @@ -28,7 +28,7 @@ inline Dest bit_cast(const Source& source) { return dest; } -void dieWithMessage(const char *Format, ...); +void NORETURN dieWithMessage(const char *Format, ...); enum CPUFeature { SSE4_2 = 0, -- 2.7.4