HPCToolkit
Struct-Inline.cpp File Reference
#include <setjmp.h>
#include <signal.h>
#include <string.h>
#include <list>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include <lib/binutils/BinUtils.hpp>
#include <lib/support/diagnostics.h>
#include <lib/support/FileNameMap.hpp>
#include <lib/support/FileUtil.hpp>
#include <lib/support/RealPathMgr.hpp>
#include <lib/support/StringTable.hpp>
#include "ElfHelper.hpp"
#include "Struct-Inline.hpp"
#include <Module.h>
#include <Symtab.h>
#include <Function.h>
Include dependency graph for Struct-Inline.cpp:

Go to the source code of this file.

Namespaces

 Inline
 

Macros

#define DEBUG_INLINE_NAMES   0
 

Functions

static const string UNKNOWN_PROC ("unknown-proc")
 
static void restore_sighandler (void)
 
static void banal_sighandler (int sig)
 
static void init_sighandler (void)
 
Symtab * Inline::openSymtab (ElfFile *elfFile)
 
bool Inline::closeSymtab ()
 
static bool Inline::analyzeDemangle (VMA vma)
 
bool Inline::analyzeAddr (InlineSeqn &nodelist, VMA addr, RealPathMgr *realPath)
 
void Inline::addStmtToTree (TreeNode *root, HPC::StringTable &strTab, RealPathMgr *realPath, VMA vma, int len, string &filenm, SrcFile::ln line)
 
void Inline::mergeInlineStmts (TreeNode *dest, TreeNode *src)
 
void Inline::mergeInlineEdge (TreeNode *dest, FLPIndex flp, TreeNode *src)
 
void Inline::mergeInlineTree (TreeNode *dest, TreeNode *src)
 
void Inline::mergeInlineLoop (TreeNode *dest, FLPSeqn &path, LoopInfo *info)
 

Variables

static Symtab * the_symtab = NULL
 
static struct sigaction old_act_abrt
 
static struct sigaction old_act_segv
 
static sigjmp_buf jbuf
 
static int jbuf_active = 0
 
static int num_queries = 0
 
static int num_errors = 0
 
static string Inline::cplus_exts []
 

Macro Definition Documentation

◆ DEBUG_INLINE_NAMES

#define DEBUG_INLINE_NAMES   0

Definition at line 120 of file Struct-Inline.cpp.

Function Documentation

◆ banal_sighandler()

static void banal_sighandler ( int  sig)
static

Definition at line 127 of file Struct-Inline.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_sighandler()

static void init_sighandler ( void  )
static

Definition at line 139 of file Struct-Inline.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ restore_sighandler()

static void restore_sighandler ( void  )
static

Definition at line 154 of file Struct-Inline.cpp.

Here is the caller graph for this function:

◆ UNKNOWN_PROC()

static const string UNKNOWN_PROC ( "unknown-proc"  )
static
Here is the caller graph for this function:

Variable Documentation

◆ jbuf

sigjmp_buf jbuf
static

Definition at line 114 of file Struct-Inline.cpp.

◆ jbuf_active

int jbuf_active = 0
static

Definition at line 115 of file Struct-Inline.cpp.

◆ num_errors

int num_errors = 0
static

Definition at line 118 of file Struct-Inline.cpp.

◆ num_queries

int num_queries = 0
static

Definition at line 117 of file Struct-Inline.cpp.

◆ old_act_abrt

struct sigaction old_act_abrt
static

Definition at line 112 of file Struct-Inline.cpp.

◆ old_act_segv

struct sigaction old_act_segv
static

Definition at line 113 of file Struct-Inline.cpp.

◆ the_symtab

Symtab* the_symtab = NULL
static

Definition at line 110 of file Struct-Inline.cpp.