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

Go to the source code of this file.

Macros

#define ITERS   2000
 

Functions

 __attribute__ ((noinline)) void rethrow_outer_try_marker(int i)
 
static void raise_it (int i)
 
static void inner (int i)
 
int main (int argc, char **argv)
 

Variables

static volatile uint64_t sink
 
static uint64_t buf [ITERS]
 

Macro Definition Documentation

◆ ITERS

#define ITERS   2000

Definition at line 15 of file exc_rethrow.cpp.

Function Documentation

◆ __attribute__()

__attribute__ ( (noinline)  )

Definition at line 19 of file exc_rethrow.cpp.

References sink.

◆ inner()

static void inner ( int  i)
static

Definition at line 37 of file exc_rethrow.cpp.

References buf, and raise_it().

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 50 of file exc_rethrow.cpp.

References buf, inner(), ITERS, and sink.

◆ raise_it()

static void raise_it ( int  i)
static

Definition at line 32 of file exc_rethrow.cpp.

References buf.

Referenced by inner().

Variable Documentation

◆ buf

uint64_t buf[ITERS]
static

Definition at line 17 of file exc_rethrow.cpp.

Referenced by inner(), main(), and raise_it().

◆ sink

volatile uint64_t sink
static

Definition at line 16 of file exc_rethrow.cpp.

Referenced by __attribute__(), and main().