|| (bitness == fb_64 && cu->head->offset_size == 4))
wr_error (where)
<< "reference attribute with form \""
- << pri::form (form_name) << "\" in "
+ << elfutils::dwarf::forms::name (form_name) << "\" in "
<< (8 * cu->head->offset_size) << "-bit CU."
<< std::endl;
}
if (relocate == rel_no)
wr_message (where, cat (mc_impact_4, mc_die_other,
mc_reloc, extra_mc))
- << "unexpected relocation of " << pri::form (form_name)
+ << "unexpected relocation of "
+ << elfutils::dwarf::forms::name (form_name)
<< '.' << std::endl;
if (attribute != NULL)
&& value != 0)))
wr_message (where, cat (mc_impact_2, mc_die_other,
mc_reloc, extra_mc))
- << pri::lacks_relocation (pri::form (form_name))
+ << pri::lacks_relocation
+ (elfutils::dwarf::forms::name (form_name))
<< std::endl;
}
#include "dwarf_gnu.hh"
#include "dwarf_mips.hh"
#include "check_debug_info.hh"
-#include "pri.hh"
#include "c++/dwarf"
#include "../libdw/dwarf.h"
std::ostream &
operator << (std::ostream &os, form const &obj)
{
- return os << pri::form (obj.name ());
+ return os << elfutils::dwarf::forms::name (obj.name ());
}
namespace
return os << obj.m_s;
}
-pri::form::form (int attr_form)
- : pribase (dwarf_form_string (attr_form))
-{}
-
pri::locexpr_opcode::locexpr_opcode (int opcode)
: pribase (dwarf_locexpr_opcode_string (opcode))
{}