ROSE
0.11.145.247
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
c
d
g
h
i
l
m
n
s
t
u
v
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
i
k
l
m
o
p
s
t
v
w
x
Enumerator
a
b
c
d
e
f
h
i
l
m
n
o
p
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Related Symbols
b
i
o
Files
File List
Examples
src
util
ROSE_ABORT.h
1
#ifndef ROSE_ABORT_H
2
#define ROSE_ABORT_H
3
5
// ROSE_ABORT
6
//
7
// Purpose: Terminates the process with failure exit status.
8
//
9
// This macro is intended to be used when you want to forcibly terminate the process in a way that's easy for debugging,
10
// regardless of whether ROSE is configured for debugging or production.
11
//
12
// When ROSE is configured for debugging, it will print the file and line information before terminating with a possible core
13
// dump. When ROSE is configured for production, it will terminate with a possible core dump.
14
//
15
// These semantics were reached by consensus at ROSE meeting 2021-03-23. If you make behavioral changes here, please discuss
16
// them first.
18
19
#ifndef ROSE_ABORT
20
#ifdef NDEBUG
21
#include <stdlib.h>
22
#define ROSE_ABORT() abort()
23
#else
24
#include <assert.h>
25
#define ROSE_ABORT() assert(false)
26
#endif
27
#endif
28
29
#endif
Generated on Mon Mar 31 2025 00:23:43 for ROSE by
1.9.8