19 OS <<
format(
"0x%8.8x: ",
I->Offset);
20 const unsigned Indent = 12;
22 if (I2 !=
I->Entries.begin())
24 OS <<
"Beginning address offset: " <<
format(
"0x%016" PRIx64, I2->Begin)
26 OS.
indent(Indent) <<
" Ending address offset: "
27 <<
format(
"0x%016" PRIx64, I2->End) <<
'\n';
28 OS.
indent(Indent) <<
" Location description: ";
30 OS <<
format(
"%2.2x ", *I3);
41 LocationList &Loc = Locations.
back();
50 if (AI != RelocMap.
end())
51 E.Begin += AI->second.second;
53 AI = RelocMap.
find(Offset);
56 if (AI != RelocMap.
end())
57 E.End += AI->second.second;
62 if (E.Begin == 0 && E.End == 0)
65 unsigned Bytes = data.
getU16(&Offset);
69 E.Loc.reserve(str.
size());
70 std::copy(str.
begin(), str.
end(), std::back_inserter(E.Loc));
size_t size() const
size - Get the string size.
raw_ostream & indent(unsigned NumSpaces)
indent - Insert 'NumSpaces' spaces.
StringRef substr(size_t Start, size_t N=npos) const
void parse(DataExtractor data, unsigned AddressSize)
format_object1< T > format(const char *Fmt, const T &Val)
* if(!EatIfPresent(lltok::kw_thread_local)) return false
void dump(raw_ostream &OS) const
Print the location lists found within the debug_loc section.
iterator find(const KeyT &Val)