#include "bolt/Utils/Utils.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/raw_ostream.h"
namespace llvm {
namespace bolt {
void report_error(StringRef Message, std::error_code EC) { … }
void report_error(StringRef Message, Error E) { … }
void check_error(std::error_code EC, StringRef Message) { … }
void check_error(Error E, Twine Message) { … }
std::string getEscapedName(const StringRef &Name) { … }
std::string getUnescapedName(const StringRef &Name) { … }
std::optional<StringRef> getCommonName(const StringRef Name, bool KeepSuffix,
ArrayRef<StringRef> Suffixes) { … }
std::optional<StringRef> getLTOCommonName(const StringRef Name) { … }
std::optional<uint8_t> readDWARFExpressionTargetReg(StringRef ExprBytes) { … }
}
bool operator==(const llvm::MCCFIInstruction &L,
const llvm::MCCFIInstruction &R) { … }
}