1 /* |
1 /* |
2 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
156 const char* filename, int lineno, size_t size) ATTRIBUTE_PRINTF(3, 0); |
156 const char* filename, int lineno, size_t size) ATTRIBUTE_PRINTF(3, 0); |
157 |
157 |
158 static void report_and_die(Thread* thread, unsigned int sig, address pc, |
158 static void report_and_die(Thread* thread, unsigned int sig, address pc, |
159 void* siginfo, void* context); |
159 void* siginfo, void* context); |
160 |
160 |
161 static void report_and_die(Thread* thread,const char* filename, int lineno, const char* message, |
161 static void report_and_die(Thread* thread, void* context, const char* filename, int lineno, const char* message, |
162 const char* detail_fmt, va_list detail_args) ATTRIBUTE_PRINTF(5, 0); |
162 const char* detail_fmt, va_list detail_args) ATTRIBUTE_PRINTF(6, 0); |
163 |
163 |
164 static void report_and_die(Thread* thread, const char* filename, int lineno, size_t size, |
164 static void report_and_die(Thread* thread, const char* filename, int lineno, size_t size, |
165 VMErrorType vm_err_type, const char* detail_fmt, |
165 VMErrorType vm_err_type, const char* detail_fmt, |
166 va_list detail_args) ATTRIBUTE_PRINTF(6, 0); |
166 va_list detail_args) ATTRIBUTE_PRINTF(6, 0); |
167 |
167 |