mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
All signal handlers are required to have C language linkage in C++. This does not fix all signal handlers, but does fix the most recent one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227490 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36f0dbbf3e
commit
1b7b2597d5
@ -196,7 +196,7 @@ static int AvoidMessageBoxHook(int ReportType, char *Message, int *Return) {
|
||||
|
||||
#endif
|
||||
|
||||
static void HandleAbort(int Sig) {
|
||||
extern "C" void HandleAbort(int Sig) {
|
||||
if (Sig == SIGABRT) {
|
||||
LLVM_BUILTIN_TRAP;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user