reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
66 if (d.size() < 4) 67 failOn(d.data(), "CIE/FDE too small"); 72 uint64_t v = read32(d.data()); 74 failOn(d.data(), "CIE/FDE too large"); 76 if (size > d.size()) 77 failOn(d.data(), "CIE/FDE ends past the end of the section"); 83 if (d.empty()) 84 failOn(d.data(), "unexpected end of CIE"); 85 uint8_t b = d.front(); 86 d = d.slice(1); 86 d = d.slice(1); 91 if (d.size() < count) 92 failOn(d.data(), "CIE is too small"); 93 d = d.slice(count); 93 d = d.slice(count); 98 const uint8_t *end = llvm::find(d, '\0'); 99 if (end == d.end()) 100 failOn(d.data(), "corrupted CIE (failed to read string)"); 101 StringRef s = toStringRef(d.slice(0, end - d.begin())); 101 StringRef s = toStringRef(d.slice(0, end - d.begin())); 102 d = d.slice(s.size() + 1); 102 d = d.slice(s.size() + 1); 111 const uint8_t *errPos = d.data(); 112 while (!d.empty()) { 113 uint8_t val = d.front(); 114 d = d.slice(1); 114 d = d.slice(1); 142 failOn(d.data() - 1, "DW_EH_PE_aligned encoding is not supported"); 145 failOn(d.data() - 1, "unknown FDE encoding"); 146 if (size >= d.size()) 147 failOn(d.data() - 1, "corrupted CIE"); 148 d = d.slice(size); 148 d = d.slice(size); 159 failOn(d.data() - 1,