MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / throwIfError

Function throwIfError

src/Processors/Formats/Impl/DWARFBlockInputFormat.cpp:321–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321static inline void throwIfError(llvm::Error & e, const char * what)
322{
323 if (!e)
324 return;
325 throw Exception(ErrorCodes::CANNOT_PARSE_DWARF, "Failed to parse {}: {}", what, llvm::toString(std::move(e)));
326}
327
328llvm::DWARFFormValue DWARFBlockInputFormat::parseAttribute(
329 const llvm::DWARFAbbreviationDeclaration::AttributeSpec & attr, uint64_t * offset,

Callers 2

parseEntriesMethod · 0.70
canTryMethod · 0.50

Calls 2

ExceptionClass · 0.50
toStringFunction · 0.50

Tested by

no test coverage detected