MCPcopy Create free account
hub / github.com/GANGE666/xVMP / errorToErrorCode

Function errorToErrorCode

src/lib/Support/Error.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94std::error_code errorToErrorCode(Error Err) {
95 std::error_code EC;
96 handleAllErrors(std::move(Err), [&](const ErrorInfoBase &EI) {
97 EC = EI.convertToErrorCode();
98 });
99 if (EC == inconvertibleErrorCode())
100 report_fatal_error(EC.message());
101 return EC;
102}
103
104#if LLVM_ENABLE_ABI_BREAKING_CHECKS
105void Error::fatalUncheckedError() const {

Callers 15

dumpMethod · 0.85
dumpSymbolsMethod · 0.85
dumpSymbolMethod · 0.85
dumpRelocationMethod · 0.85
dumpCommonSectionMethod · 0.85
dumpRelSectionMethod · 0.85
dumpRelaSectionMethod · 0.85
dumpContentSectionMethod · 0.85
dumpGroupMethod · 0.85
dumpMipsABIFlagsMethod · 0.85
macho2yamlFunction · 0.85

Calls 6

handleAllErrorsFunction · 0.85
inconvertibleErrorCodeFunction · 0.85
report_fatal_errorFunction · 0.85
moveFunction · 0.50
convertToErrorCodeMethod · 0.45
messageMethod · 0.45

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68