Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::DwarfLineMapper::SrcInfo Struct Reference


Source location info.

We use a struct rather than an SgAsmDwarfLine pointer because we might have many SgAsmDwarfLine objects that all have the same file and line number (because they need different SgNode::p_parent values). This makes it easier to use the file and line numbers as std::map keys and RangeMap values.

Definition at line 25 of file DwarfLineMapper.h.

#include <DwarfLineMapper.h>

Public Member Functions

 SrcInfo (int file_id, size_t line_num)
bool operator== (const SrcInfo &other) const
bool operator< (const SrcInfo &other) const
void print (std::ostream &o) const

Public Attributes

int file_id
size_t line_num

The documentation for this struct was generated from the following file: