[compiler-rt] r277546 - [scudo] add NORETURN to the declaration of dieWithMessage; this should fix a warning in lib/scudo/scudo_termination.cpp
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 2 16:23:13 PDT 2016
Author: kcc
Date: Tue Aug 2 18:23:13 2016
New Revision: 277546
URL: http://llvm.org/viewvc/llvm-project?rev=277546&view=rev
Log:
[scudo] add NORETURN to the declaration of dieWithMessage; this should fix a warning in lib/scudo/scudo_termination.cpp
Modified:
compiler-rt/trunk/lib/scudo/scudo_utils.h
Modified: compiler-rt/trunk/lib/scudo/scudo_utils.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/scudo/scudo_utils.h?rev=277546&r1=277545&r2=277546&view=diff
==============================================================================
--- compiler-rt/trunk/lib/scudo/scudo_utils.h (original)
+++ compiler-rt/trunk/lib/scudo/scudo_utils.h Tue Aug 2 18:23:13 2016
@@ -28,7 +28,7 @@ inline Dest bit_cast(const Source& sourc
return dest;
}
-void dieWithMessage(const char *Format, ...);
+void NORETURN dieWithMessage(const char *Format, ...);
enum CPUFeature {
SSE4_2 = 0,
More information about the llvm-commits
mailing list