mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-12 20:48:17 +00:00
Make GCC happy about attribute location
It doesn't like function attributes on definitions, only declarations. llvm-svn: 367036
This commit is contained in:
parent
d64f9a6cb3
commit
c6f2828c49
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user