comparison lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp @ 134:3a76565eade5 LLVM5.0.1

update 5.0.1
author mir3636
date Sat, 17 Feb 2018 09:57:20 +0900
parents 803732b1fca8
children c2174574ed3a
comparison
equal deleted inserted replaced
133:c60214abe0e8 134:3a76565eade5
11 #include "llvm/DebugInfo/DWARF/DWARFContext.h" 11 #include "llvm/DebugInfo/DWARF/DWARFContext.h"
12 #include "llvm/Support/Format.h" 12 #include "llvm/Support/Format.h"
13 #include "llvm/Support/raw_ostream.h" 13 #include "llvm/Support/raw_ostream.h"
14 #include <cinttypes> 14 #include <cinttypes>
15 #include <cstdint> 15 #include <cstdint>
16 #include <utility>
17 16
18 using namespace llvm; 17 using namespace llvm;
19
20 raw_ostream &llvm::operator<<(raw_ostream &OS, const DWARFAddressRange &R) {
21 return OS << format("[0x%16.16" PRIx64 ", 0x%16.16" PRIx64 ")", R.LowPC,
22 R.HighPC);
23 }
24 18
25 void DWARFDebugRangeList::clear() { 19 void DWARFDebugRangeList::clear() {
26 Offset = -1U; 20 Offset = -1U;
27 AddressSize = 0; 21 AddressSize = 0;
28 Entries.clear(); 22 Entries.clear();