mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
Make GCC happy about attribute location
It doesn't like function attributes on definitions, only declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367036 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -121,7 +121,8 @@ extern "C" const char *__crashreporter_info__
|
||||
asm(".desc ___crashreporter_info__, 0x10");
|
||||
#endif
|
||||
|
||||
static void setCrashLogMessage(const char *msg) LLVM_ATTRIBUTE_UNUSED {
|
||||
static void setCrashLogMessage(const char *msg) LLVM_ATTRIBUTE_UNUSED;
|
||||
static void setCrashLogMessage(const char *msg) {
|
||||
#ifdef HAVE_CRASHREPORTERCLIENT_H
|
||||
(void)CRSetCrashLogMessage(msg);
|
||||
#elif HAVE_CRASHREPORTER_INFO
|
||||
|
||||
Reference in New Issue
Block a user