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

Go to the source code of this file.

Classes

struct  Guard
 

Macros

#define ITERS   500
 

Functions

 __attribute__ ((noinline)) void dtorcleanup_try_marker(int i)
 
static void thrower (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   500

Definition at line 12 of file exc_dtor_cleanup.cpp.

Function Documentation

◆ __attribute__()

__attribute__ ( (noinline)  )

Definition at line 16 of file exc_dtor_cleanup.cpp.

References sink.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 40 of file exc_dtor_cleanup.cpp.

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

◆ thrower()

static void thrower ( int  i)
static

Definition at line 32 of file exc_dtor_cleanup.cpp.

References buf.

Referenced by main().

Variable Documentation

◆ buf

uint64_t buf[ITERS]
static

Definition at line 14 of file exc_dtor_cleanup.cpp.

Referenced by main(), and thrower().

◆ sink

volatile uint64_t sink
static

Definition at line 13 of file exc_dtor_cleanup.cpp.

Referenced by __attribute__(), and main().