Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

/users/u3/mtikir/PMaCInstrumentor_v1601/include/LineInfoFinder.h File Reference

#include <Base.h>
#include <LineInfoTable.h>
#include <SymbolTable.h>

Go to the source code of this file.

Classes

class  FileFinder
class  FunctionFinder
struct  idx_addr
struct  idx_symndx
class  IncludeFileFinder
class  LineInfoFinder
class  SourceFileFinder

Defines

#define C_FCN_BEGIN_NAME   ".bf"
#define C_FCN_END_NAME   ".ef"
#define CPP_FILE_FORWARD_OFFSET_TO_NAME   1
#define CPP_GENERIC_FILE_SYM_NAME   ".file"
#define MAX_LINE_TEST   100
#define MAX_LINE_VALUE   0x7fffffff
#define FILE_TYPE_SOURCE   0
#define FILE_TYPE_INCLUDE   1
#define GET_IS_INCL_FILE_BIT(i)   ((isIncludeFile[i / (sizeof(uint16_t))] >> (i % sizeof(uint16_t))) & 0x0001)
#define SET_IS_INCL_FILE_BIT(i)   (isIncludeFile[i / (sizeof(uint16_t))] = isIncludeFile[i / (sizeof(uint16_t))] | (1 << (i % sizeof(uint16_t))))
#define GET_IS_INCL_ADDR_BIT(i)   ((isAddressFromIncludeFile[i / (sizeof(uint16_t))] >> (i % sizeof(uint16_t))) & 0x0001)
#define SET_IS_INCL_ADDR_BIT(i)   (isAddressFromIncludeFile[i / (sizeof(uint16_t))] = isAddressFromIncludeFile[i / (sizeof(uint16_t))] | (1 << (i % sizeof(uint16_t))))

Functions

int32_t compare_idx_addr (const void *a, const void *b)


Define Documentation

#define C_FCN_BEGIN_NAME   ".bf"
 

Definition at line 8 of file LineInfoFinder.h.

Referenced by FunctionFinder::FunctionFinder().

#define C_FCN_END_NAME   ".ef"
 

Definition at line 9 of file LineInfoFinder.h.

Referenced by FunctionFinder::FunctionFinder().

#define CPP_FILE_FORWARD_OFFSET_TO_NAME   1
 

Definition at line 10 of file LineInfoFinder.h.

Referenced by SourceFileFinder::SourceFileFinder().

#define CPP_GENERIC_FILE_SYM_NAME   ".file"
 

Definition at line 11 of file LineInfoFinder.h.

Referenced by SourceFileFinder::SourceFileFinder().

#define FILE_TYPE_INCLUDE   1
 

Definition at line 15 of file LineInfoFinder.h.

Referenced by IncludeFileFinder::IncludeFileFinder().

#define FILE_TYPE_SOURCE   0
 

Definition at line 14 of file LineInfoFinder.h.

Referenced by SourceFileFinder::SourceFileFinder().

#define GET_IS_INCL_ADDR_BIT  )     ((isAddressFromIncludeFile[i / (sizeof(uint16_t))] >> (i % sizeof(uint16_t))) & 0x0001)
 

Definition at line 19 of file LineInfoFinder.h.

Referenced by LineInfoFinder::getLineNumberInFile(), and LineInfoFinder::testLineInfoFinder().

#define GET_IS_INCL_FILE_BIT  )     ((isIncludeFile[i / (sizeof(uint16_t))] >> (i % sizeof(uint16_t))) & 0x0001)
 

Definition at line 17 of file LineInfoFinder.h.

Referenced by LineInfoFinder::getFileName().

#define MAX_LINE_TEST   100
 

Definition at line 12 of file LineInfoFinder.h.

Referenced by LineInfoFinder::testLineInfoFinder().

#define MAX_LINE_VALUE   0x7fffffff
 

Definition at line 13 of file LineInfoFinder.h.

#define SET_IS_INCL_ADDR_BIT  )     (isAddressFromIncludeFile[i / (sizeof(uint16_t))] = isAddressFromIncludeFile[i / (sizeof(uint16_t))] | (1 << (i % sizeof(uint16_t))))
 

Definition at line 20 of file LineInfoFinder.h.

Referenced by LineInfoFinder::LineInfoFinder().

#define SET_IS_INCL_FILE_BIT  )     (isIncludeFile[i / (sizeof(uint16_t))] = isIncludeFile[i / (sizeof(uint16_t))] | (1 << (i % sizeof(uint16_t))))
 

Definition at line 18 of file LineInfoFinder.h.

Referenced by LineInfoFinder::LineInfoFinder().


Function Documentation

int32_t compare_idx_addr const void *  a,
const void *  b
 

Definition at line 1031 of file LineInfoFinder.C.

Referenced by LineInfoFinder::LineInfoFinder().


Generated on Mon Jan 28 11:08:34 2008 for PMaCInstrumentor by doxygen 1.3.5