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

Go to the source code of this file.

Classes

struct  Pod
 
struct  Virt
 

Macros

#define ITERS   400
 

Functions

 __attribute__ ((noinline)) void catchall_try_marker(int i)
 
static void thrower (int kind, 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   400

Definition at line 10 of file exc_catchall.cpp.

Function Documentation

◆ __attribute__()

__attribute__ ( (noinline)  )

Definition at line 14 of file exc_catchall.cpp.

References sink.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 37 of file exc_catchall.cpp.

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

◆ thrower()

static void thrower ( int  kind,
int  i 
)
static

Definition at line 27 of file exc_catchall.cpp.

References buf, and Virt::x.

Referenced by main().

Variable Documentation

◆ buf

◆ sink

volatile uint64_t sink
static

Definition at line 11 of file exc_catchall.cpp.

Referenced by __attribute__(), and main().