Lines Matching full:exception

5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
149 - Type: Exception
151 Exception Record:
152 Exception Code: 0x23
153 Exception Flags: 0x5
154 Exception Record: 0x0102030405060708
155 Exception Address: 0x0a0b0c0d0e0f1011
173 const minidump::Exception &Exception = Stream.ExceptionRecord;
174 EXPECT_EQ(0x23u, Exception.ExceptionCode);
175 EXPECT_EQ(0x5u, Exception.ExceptionFlags);
176 EXPECT_EQ(0x0102030405060708u, Exception.ExceptionRecord);
177 EXPECT_EQ(0x0a0b0c0d0e0f1011u, Exception.ExceptionAddress);
178 EXPECT_EQ(2u, Exception.NumberParameters);
179 EXPECT_EQ(0x22u, Exception.ExceptionInformation[0]);
180 EXPECT_EQ(0x24u, Exception.ExceptionInformation[1]);
190 // Test that we can parse an exception stream with no ExceptionInformation.
196 - Type: Exception
198 Exception Record:
199 Exception Code: 0x23
200 Exception Flags: 0x5
201 Exception Record: 0x0102030405060708
202 Exception Address: 0x0a0b0c0d0e0f1011
216 const minidump::Exception &Exception = Stream.ExceptionRecord;
217 EXPECT_EQ(0x23u, Exception.ExceptionCode);
218 EXPECT_EQ(0x5u, Exception.ExceptionFlags);
219 EXPECT_EQ(0x0102030405060708u, Exception.ExceptionRecord);
220 EXPECT_EQ(0x0a0b0c0d0e0f1011u, Exception.ExceptionAddress);
221 EXPECT_EQ(0u, Exception.NumberParameters);
239 - Type: Exception
241 Exception Record:
242 Exception Code: 0
273 const minidump::Exception &Exception = Stream.ExceptionRecord;
274 EXPECT_EQ(0x0u, Exception.ExceptionCode);
275 EXPECT_EQ(0x0u, Exception.ExceptionFlags);
276 EXPECT_EQ(0x00u, Exception.ExceptionRecord);
277 EXPECT_EQ(0x0u, Exception.ExceptionAddress);
278 EXPECT_EQ(16u, Exception.NumberParameters);
279 EXPECT_EQ(0x0u, Exception.ExceptionInformation[0]);
281 EXPECT_EQ(0x110u - Index * 0x11, Exception.ExceptionInformation[Index]);
300 - Type: Exception
302 Exception Record:
303 Exception Code: 0x23
304 Exception Flags: 0x5
305 Exception Record: 0x0102030405060708
306 Exception Address: 0x0a0b0c0d0e0f1011
325 const minidump::Exception &Exception = Stream.ExceptionRecord;
326 EXPECT_EQ(0x23u, Exception.ExceptionCode);
327 EXPECT_EQ(0x5u, Exception.ExceptionFlags);
328 EXPECT_EQ(0x0102030405060708u, Exception.ExceptionRecord);
329 EXPECT_EQ(0x0a0b0c0d0e0f1011u, Exception.ExceptionAddress);
330 EXPECT_EQ(2u, Exception.NumberParameters);
331 EXPECT_EQ(0x99u, Exception.ExceptionInformation[0]);
332 EXPECT_EQ(0x23u, Exception.ExceptionInformation[1]);
333 EXPECT_EQ(0x42u, Exception.ExceptionInformation[2]);
406 // Test that we can parse multiple exception streams.
412 - Type: Exception
414 Exception Record:
415 Exception Code: 0x23
416 Exception Flags: 0x5
417 Exception Record: 0x0102030405060708
418 Exception Address: 0x0a0b0c0d0e0f1011
424 - Type: Exception
426 Exception Record:
427 Exception Code: 0x23
428 Exception Flags: 0x5
429 Exception Record: 0x0102030405060708
430 Exception Address: 0x0a0b0c0d0e0f1011