HPCToolkit
main.cpp File Reference
#include <iostream>
#include <fstream>
#include <typeinfo>
#include <new>
#include <map>
#include <list>
#include <string>
#include "Args.hpp"
#include <lib/binutils/LM.hpp>
#include <lib/binutils/Seg.hpp>
#include <lib/binutils/Proc.hpp>
#include <lib/binutils/Insn.hpp>
#include <lib/binutils/BinUtils.hpp>
#include <lib/support/diagnostics.h>
#include <lib/support/SrcFile.hpp>
Include dependency graph for main.cpp:

Go to the source code of this file.

Typedefs

typedef std::list< VMAVMAList
 
typedef std::list< VMA >::iterator VMAListIt
 
typedef std::list< VMA >::const_iterator VMAListItC
 
typedef std::map< SrcFile::ln, VMAList * > LineToVMAListMap
 
typedef std::map< SrcFile::ln, VMAList * >::iterator LineToVMAListMapIt
 
typedef std::map< SrcFile::ln, VMAList * >::value_type LineToVMAListMapItVal
 

Functions

static int realmain (int argc, char *const *argv)
 
static void clearLineToVMAListMap (LineToVMAListMap *map)
 
static void dumpSymbolicInfoOld (std::ostream &os, BinUtil::LM *lm)
 
int main (int argc, char *const *argv)
 
static int realmain (int argc, char *const argv[])
 
static void dumpHeaderInfo (std::ostream &os, BinUtil::LM *lm, const char *pre="")
 
static void dumpSymbolicInfoForFunc (std::ostream &os, const char *pre, const char *func, LineToVMAListMap *map, const char *file)
 

Typedef Documentation

◆ LineToVMAListMap

typedef std::map<SrcFile::ln, VMAList*> LineToVMAListMap

Definition at line 103 of file main.cpp.

◆ LineToVMAListMapIt

typedef std::map<SrcFile::ln, VMAList*>::iterator LineToVMAListMapIt

Definition at line 104 of file main.cpp.

◆ LineToVMAListMapItVal

typedef std::map<SrcFile::ln, VMAList*>::value_type LineToVMAListMapItVal

Definition at line 105 of file main.cpp.

◆ VMAList

typedef std::list<VMA> VMAList

Definition at line 98 of file main.cpp.

◆ VMAListIt

typedef std::list<VMA>::iterator VMAListIt

Definition at line 99 of file main.cpp.

◆ VMAListItC

typedef std::list<VMA>::const_iterator VMAListItC

Definition at line 100 of file main.cpp.

Function Documentation

◆ clearLineToVMAListMap()

static void clearLineToVMAListMap ( LineToVMAListMap map)
static

Definition at line 331 of file main.cpp.

Here is the caller graph for this function:

◆ dumpHeaderInfo()

static void dumpHeaderInfo ( std::ostream &  os,
BinUtil::LM lm,
const char *  pre = "" 
)
static

Definition at line 203 of file main.cpp.

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

◆ dumpSymbolicInfoForFunc()

static void dumpSymbolicInfoForFunc ( std::ostream &  os,
const char *  pre,
const char *  func,
LineToVMAListMap map,
const char *  file 
)
static

Definition at line 303 of file main.cpp.

Here is the caller graph for this function:

◆ dumpSymbolicInfoOld()

static void dumpSymbolicInfoOld ( std::ostream &  os,
BinUtil::LM lm 
)
static

Definition at line 229 of file main.cpp.

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

◆ main()

int main ( int  argc,
char *const *  argv 
)

Definition at line 118 of file main.cpp.

Here is the call graph for this function:

◆ realmain() [1/2]

static int realmain ( int  argc,
char *const *  argv 
)
static
Here is the caller graph for this function:

◆ realmain() [2/2]

static int realmain ( int  argc,
char *const  argv[] 
)
static

Definition at line 147 of file main.cpp.

Here is the call graph for this function: