Lines Matching full:context

30   MinidumpContext_x86_32 Context;  in TEST()  local
31 Context.context_flags = in TEST()
36 Context.eax = 0x00010203; in TEST()
37 Context.ebx = 0x04050607; in TEST()
38 Context.ecx = 0x08090a0b; in TEST()
39 Context.edx = 0x0c0d0e0f; in TEST()
40 Context.edi = 0x10111213; in TEST()
41 Context.esi = 0x14151617; in TEST()
42 Context.ebp = 0x18191a1b; in TEST()
43 Context.esp = 0x1c1d1e1f; in TEST()
44 Context.eip = 0x20212223; in TEST()
45 Context.eflags = 0x24252627; in TEST()
46 Context.cs = 0x2829; in TEST()
47 Context.fs = 0x2a2b; in TEST()
48 Context.gs = 0x2c2d; in TEST()
49 Context.ss = 0x2e2f; in TEST()
50 Context.ds = 0x3031; in TEST()
51 Context.es = 0x3233; in TEST()
52 llvm::ArrayRef<uint8_t> ContextRef(reinterpret_cast<uint8_t *>(&Context), in TEST()
53 sizeof(Context)); in TEST()
64 EXPECT_EQ(Context.eax, reg32(*Buf, Info[lldb_eax_i386])); in TEST()
65 EXPECT_EQ(Context.ebx, reg32(*Buf, Info[lldb_ebx_i386])); in TEST()
66 EXPECT_EQ(Context.ecx, reg32(*Buf, Info[lldb_ecx_i386])); in TEST()
67 EXPECT_EQ(Context.edx, reg32(*Buf, Info[lldb_edx_i386])); in TEST()
68 EXPECT_EQ(Context.edi, reg32(*Buf, Info[lldb_edi_i386])); in TEST()
69 EXPECT_EQ(Context.esi, reg32(*Buf, Info[lldb_esi_i386])); in TEST()
70 EXPECT_EQ(Context.ebp, reg32(*Buf, Info[lldb_ebp_i386])); in TEST()
71 EXPECT_EQ(Context.esp, reg32(*Buf, Info[lldb_esp_i386])); in TEST()
72 EXPECT_EQ(Context.eip, reg32(*Buf, Info[lldb_eip_i386])); in TEST()
73 EXPECT_EQ(Context.eflags, reg32(*Buf, Info[lldb_eflags_i386])); in TEST()
74 EXPECT_EQ(Context.cs, reg32(*Buf, Info[lldb_cs_i386])); in TEST()
75 EXPECT_EQ(Context.fs, reg32(*Buf, Info[lldb_fs_i386])); in TEST()
76 EXPECT_EQ(Context.gs, reg32(*Buf, Info[lldb_gs_i386])); in TEST()
77 EXPECT_EQ(Context.ss, reg32(*Buf, Info[lldb_ss_i386])); in TEST()
78 EXPECT_EQ(Context.ds, reg32(*Buf, Info[lldb_ds_i386])); in TEST()
79 EXPECT_EQ(Context.es, reg32(*Buf, Info[lldb_es_i386])); in TEST()
83 MinidumpContext_x86_64 Context; in TEST() local
84 Context.context_flags = in TEST()
89 Context.rax = 0x0001020304050607; in TEST()
90 Context.rbx = 0x08090a0b0c0d0e0f; in TEST()
91 Context.rcx = 0x1011121314151617; in TEST()
92 Context.rdx = 0x18191a1b1c1d1e1f; in TEST()
93 Context.rdi = 0x2021222324252627; in TEST()
94 Context.rsi = 0x28292a2b2c2d2e2f; in TEST()
95 Context.rbp = 0x3031323334353637; in TEST()
96 Context.rsp = 0x38393a3b3c3d3e3f; in TEST()
97 Context.r8 = 0x4041424344454647; in TEST()
98 Context.r9 = 0x48494a4b4c4d4e4f; in TEST()
99 Context.r10 = 0x5051525354555657; in TEST()
100 Context.r11 = 0x58595a5b5c5d5e5f; in TEST()
101 Context.r12 = 0x6061626364656667; in TEST()
102 Context.r13 = 0x68696a6b6c6d6e6f; in TEST()
103 Context.r14 = 0x7071727374757677; in TEST()
104 Context.r15 = 0x78797a7b7c7d7e7f; in TEST()
105 Context.rip = 0x8081828384858687; in TEST()
106 Context.eflags = 0x88898a8b; in TEST()
107 Context.cs = 0x8c8d; in TEST()
108 Context.fs = 0x8e8f; in TEST()
109 Context.gs = 0x9091; in TEST()
110 Context.ss = 0x9293; in TEST()
111 Context.ds = 0x9495; in TEST()
112 Context.es = 0x9697; in TEST()
113 llvm::ArrayRef<uint8_t> ContextRef(reinterpret_cast<uint8_t *>(&Context), in TEST()
114 sizeof(Context)); in TEST()
123 EXPECT_EQ(Context.rax, reg64(*Buf, Info[lldb_rax_x86_64])); in TEST()
124 EXPECT_EQ(Context.rbx, reg64(*Buf, Info[lldb_rbx_x86_64])); in TEST()
125 EXPECT_EQ(Context.rcx, reg64(*Buf, Info[lldb_rcx_x86_64])); in TEST()
126 EXPECT_EQ(Context.rdx, reg64(*Buf, Info[lldb_rdx_x86_64])); in TEST()
127 EXPECT_EQ(Context.rdi, reg64(*Buf, Info[lldb_rdi_x86_64])); in TEST()
128 EXPECT_EQ(Context.rsi, reg64(*Buf, Info[lldb_rsi_x86_64])); in TEST()
129 EXPECT_EQ(Context.rbp, reg64(*Buf, Info[lldb_rbp_x86_64])); in TEST()
130 EXPECT_EQ(Context.rsp, reg64(*Buf, Info[lldb_rsp_x86_64])); in TEST()
131 EXPECT_EQ(Context.r8, reg64(*Buf, Info[lldb_r8_x86_64])); in TEST()
132 EXPECT_EQ(Context.r9, reg64(*Buf, Info[lldb_r9_x86_64])); in TEST()
133 EXPECT_EQ(Context.r10, reg64(*Buf, Info[lldb_r10_x86_64])); in TEST()
134 EXPECT_EQ(Context.r11, reg64(*Buf, Info[lldb_r11_x86_64])); in TEST()
135 EXPECT_EQ(Context.r12, reg64(*Buf, Info[lldb_r12_x86_64])); in TEST()
136 EXPECT_EQ(Context.r13, reg64(*Buf, Info[lldb_r13_x86_64])); in TEST()
137 EXPECT_EQ(Context.r14, reg64(*Buf, Info[lldb_r14_x86_64])); in TEST()
138 EXPECT_EQ(Context.r15, reg64(*Buf, Info[lldb_r15_x86_64])); in TEST()
139 EXPECT_EQ(Context.rip, reg64(*Buf, Info[lldb_rip_x86_64])); in TEST()
140 EXPECT_EQ(Context.eflags, reg64(*Buf, Info[lldb_rflags_x86_64])); in TEST()
141 EXPECT_EQ(Context.cs, reg64(*Buf, Info[lldb_cs_x86_64])); in TEST()
142 EXPECT_EQ(Context.fs, reg64(*Buf, Info[lldb_fs_x86_64])); in TEST()
143 EXPECT_EQ(Context.gs, reg64(*Buf, Info[lldb_gs_x86_64])); in TEST()
144 EXPECT_EQ(Context.ss, reg64(*Buf, Info[lldb_ss_x86_64])); in TEST()
145 EXPECT_EQ(Context.ds, reg64(*Buf, Info[lldb_ds_x86_64])); in TEST()
146 EXPECT_EQ(Context.es, reg64(*Buf, Info[lldb_es_x86_64])); in TEST()