CCTLib
Calling-context and data-object attribution library for Intel Pin
exc_deep_unwind.cpp File Reference
#include <cstdint>
#include <cstdio>
+ Include dependency graph for exc_deep_unwind.cpp:

Go to the source code of this file.

Macros

#define D   32
 
#define ITERS   200
 

Functions

 __attribute__ ((noinline)) void deep_try_marker(int i)
 
static void recurse (int depth, int iter)
 
int main (int argc, char **argv)
 

Variables

static volatile uint64_t sink
 
static uint64_t buf [ITERS]
 

Macro Definition Documentation

◆ D

#define D   32

Definition at line 16 of file exc_deep_unwind.cpp.

◆ ITERS

#define ITERS   200

Definition at line 17 of file exc_deep_unwind.cpp.

Function Documentation

◆ __attribute__()

__attribute__ ( (noinline)  )

Definition at line 21 of file exc_deep_unwind.cpp.

References sink.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 42 of file exc_deep_unwind.cpp.

References buf, D, ITERS, recurse(), and sink.

◆ recurse()

static void recurse ( int  depth,
int  iter 
)
static

Definition at line 30 of file exc_deep_unwind.cpp.

References buf.

Referenced by main().

Variable Documentation

◆ buf

uint64_t buf[ITERS]
static

Definition at line 19 of file exc_deep_unwind.cpp.

Referenced by main(), and recurse().

◆ sink

volatile uint64_t sink
static

Definition at line 18 of file exc_deep_unwind.cpp.

Referenced by __attribute__(), and main().