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

Go to the source code of this file.

Macros

#define D   8
 
#define ITERS   100
 

Functions

 __attribute__ ((noinline)) void rectry_try_marker(int i)
 
static void rec (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   8

Definition at line 28 of file exc_recurse_trycatch.cpp.

◆ ITERS

#define ITERS   100

Definition at line 29 of file exc_recurse_trycatch.cpp.

Function Documentation

◆ __attribute__()

__attribute__ ( (noinline)  )

Definition at line 33 of file exc_recurse_trycatch.cpp.

References sink.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 71 of file exc_recurse_trycatch.cpp.

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

◆ rec()

static void rec ( int  depth,
int  iter 
)
static

Definition at line 52 of file exc_recurse_trycatch.cpp.

References buf.

Referenced by main().

Variable Documentation

◆ buf

uint64_t buf[ITERS]
static

Definition at line 31 of file exc_recurse_trycatch.cpp.

Referenced by main(), and rec().

◆ sink

volatile uint64_t sink
static

Definition at line 30 of file exc_recurse_trycatch.cpp.

Referenced by __attribute__(), and main().