| 319 | } |
| 320 | |
| 321 | static 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 | |
| 328 | llvm::DWARFFormValue DWARFBlockInputFormat::parseAttribute( |
| 329 | const llvm::DWARFAbbreviationDeclaration::AttributeSpec & attr, uint64_t * offset, |
no test coverage detected