Home
last modified time | relevance | path

Searched refs:HeaderOrErr (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/unittests/XRay/
DFDRProducerConsumerTest.cpp135 auto HeaderOrErr = readBinaryFormatHeader(DE, OffsetPtr); in TYPED_TEST_P() local
136 if (!HeaderOrErr) in TYPED_TEST_P()
137 FAIL() << HeaderOrErr.takeError(); in TYPED_TEST_P()
139 FileBasedRecordProducer P(HeaderOrErr.get(), DE, OffsetPtr); in TYPED_TEST_P()
176 auto HeaderOrErr = readBinaryFormatHeader(DE, OffsetPtr); in TYPED_TEST_P() local
177 if (!HeaderOrErr) in TYPED_TEST_P()
178 FAIL() << HeaderOrErr.takeError(); in TYPED_TEST_P()
180 FileBasedRecordProducer P(HeaderOrErr.get(), DE, OffsetPtr); in TYPED_TEST_P()
/external/llvm/lib/Object/
DMachOObjectFile.cpp213 if (auto HeaderOrErr = getStructOrErr<T>(Obj, getPtr(Obj, 0))) in parseHeader() local
214 Header = *HeaderOrErr; in parseHeader()
216 Err = HeaderOrErr.takeError(); in parseHeader()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp231 if (auto HeaderOrErr = getStructOrErr<T>(Obj, getPtr(Obj, 0))) in parseHeader() local
232 Header = *HeaderOrErr; in parseHeader()
234 Err = HeaderOrErr.takeError(); in parseHeader()
/external/llvm-project/llvm/lib/Object/
DMachOObjectFile.cpp231 if (auto HeaderOrErr = getStructOrErr<T>(Obj, getPtr(Obj, 0))) in parseHeader() local
232 Header = *HeaderOrErr; in parseHeader()
234 Err = HeaderOrErr.takeError(); in parseHeader()