#include "llvm/DebugInfo/GSYM/ExtractRanges.h"
#include "llvm/DebugInfo/GSYM/FileWriter.h"
#include "llvm/Support/DataExtractor.h"
#include <algorithm>
#include <inttypes.h>
namespace llvm {
namespace gsym {
void encodeRange(const AddressRange &Range, FileWriter &O, uint64_t BaseAddr) { … }
AddressRange decodeRange(DataExtractor &Data, uint64_t BaseAddr,
uint64_t &Offset) { … }
void encodeRanges(const AddressRanges &Ranges, FileWriter &O,
uint64_t BaseAddr) { … }
void decodeRanges(AddressRanges &Ranges, DataExtractor &Data, uint64_t BaseAddr,
uint64_t &Offset) { … }
void skipRange(DataExtractor &Data, uint64_t &Offset) { … }
uint64_t skipRanges(DataExtractor &Data, uint64_t &Offset) { … }
}
raw_ostream &operator<<(raw_ostream &OS, const AddressRange &R) { … }
raw_ostream &operator<<(raw_ostream &OS, const AddressRanges &AR) { … }
}