Fix unused function from r367031
authorJF Bastien <jfbastien@apple.com>
Thu, 25 Jul 2019 16:50:10 +0000 (16:50 +0000)
committerJF Bastien <jfbastien@apple.com>
Thu, 25 Jul 2019 16:50:10 +0000 (16:50 +0000)
llvm-svn: 367035

llvm/lib/Support/PrettyStackTrace.cpp

index 996bedb..25cf736 100644 (file)
@@ -121,7 +121,7 @@ extern "C" const char *__crashreporter_info__
 asm(".desc ___crashreporter_info__, 0x10");
 #endif
 
-static void setCrashLogMessage(const char *msg) {
+static void setCrashLogMessage(const char *msg) LLVM_ATTRIBUTE_UNUSED {
 #ifdef HAVE_CRASHREPORTERCLIENT_H
   (void)CRSetCrashLogMessage(msg);
 #elif HAVE_CRASHREPORTER_INFO