reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/unittests/Process/minidump/RegisterContextMinidumpTest.cpp
   84   Context.context_flags =
   89   Context.rax = 0x0001020304050607;
   90   Context.rbx = 0x08090a0b0c0d0e0f;
   91   Context.rcx = 0x1011121314151617;
   92   Context.rdx = 0x18191a1b1c1d1e1f;
   93   Context.rdi = 0x2021222324252627;
   94   Context.rsi = 0x28292a2b2c2d2e2f;
   95   Context.rbp = 0x3031323334353637;
   96   Context.rsp = 0x38393a3b3c3d3e3f;
   97   Context.r8 = 0x4041424344454647;
   98   Context.r9 = 0x48494a4b4c4d4e4f;
   99   Context.r10 = 0x5051525354555657;
  100   Context.r11 = 0x58595a5b5c5d5e5f;
  101   Context.r12 = 0x6061626364656667;
  102   Context.r13 = 0x68696a6b6c6d6e6f;
  103   Context.r14 = 0x7071727374757677;
  104   Context.r15 = 0x78797a7b7c7d7e7f;
  105   Context.rip = 0x8081828384858687;
  106   Context.eflags = 0x88898a8b;
  107   Context.cs = 0x8c8d;
  108   Context.fs = 0x8e8f;
  109   Context.gs = 0x9091;
  110   Context.ss = 0x9293;
  111   Context.ds = 0x9495;
  112   Context.ss = 0x9697;
  113   llvm::ArrayRef<uint8_t> ContextRef(reinterpret_cast<uint8_t *>(&Context),
  114                                      sizeof(Context));
  123   EXPECT_EQ(Context.rax, reg64(*Buf, Info[lldb_rax_x86_64]));
  124   EXPECT_EQ(Context.rbx, reg64(*Buf, Info[lldb_rbx_x86_64]));
  125   EXPECT_EQ(Context.rcx, reg64(*Buf, Info[lldb_rcx_x86_64]));
  126   EXPECT_EQ(Context.rdx, reg64(*Buf, Info[lldb_rdx_x86_64]));
  127   EXPECT_EQ(Context.rdi, reg64(*Buf, Info[lldb_rdi_x86_64]));
  128   EXPECT_EQ(Context.rsi, reg64(*Buf, Info[lldb_rsi_x86_64]));
  129   EXPECT_EQ(Context.rbp, reg64(*Buf, Info[lldb_rbp_x86_64]));
  130   EXPECT_EQ(Context.rsp, reg64(*Buf, Info[lldb_rsp_x86_64]));
  131   EXPECT_EQ(Context.r8, reg64(*Buf, Info[lldb_r8_x86_64]));
  132   EXPECT_EQ(Context.r9, reg64(*Buf, Info[lldb_r9_x86_64]));
  133   EXPECT_EQ(Context.r10, reg64(*Buf, Info[lldb_r10_x86_64]));
  134   EXPECT_EQ(Context.r11, reg64(*Buf, Info[lldb_r11_x86_64]));
  135   EXPECT_EQ(Context.r12, reg64(*Buf, Info[lldb_r12_x86_64]));
  136   EXPECT_EQ(Context.r13, reg64(*Buf, Info[lldb_r13_x86_64]));
  137   EXPECT_EQ(Context.r14, reg64(*Buf, Info[lldb_r14_x86_64]));
  138   EXPECT_EQ(Context.r15, reg64(*Buf, Info[lldb_r15_x86_64]));
  139   EXPECT_EQ(Context.rip, reg64(*Buf, Info[lldb_rip_x86_64]));
  140   EXPECT_EQ(Context.eflags, reg64(*Buf, Info[lldb_rflags_x86_64]));
  141   EXPECT_EQ(Context.cs, reg64(*Buf, Info[lldb_cs_x86_64]));
  142   EXPECT_EQ(Context.fs, reg64(*Buf, Info[lldb_fs_x86_64]));
  143   EXPECT_EQ(Context.gs, reg64(*Buf, Info[lldb_gs_x86_64]));
  144   EXPECT_EQ(Context.ss, reg64(*Buf, Info[lldb_ss_x86_64]));
  145   EXPECT_EQ(Context.ds, reg64(*Buf, Info[lldb_ds_x86_64]));
  146   EXPECT_EQ(Context.es, reg64(*Buf, Info[lldb_es_x86_64]));