Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: snapshot/win/thread_snapshot_win.h

Issue 1133203002: win: Retrieve thread context for x64 (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fix current thread Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « snapshot/win/process_reader_win_test.cc ('k') | snapshot/win/thread_snapshot_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/win/thread_snapshot_win.h
diff --git a/snapshot/win/thread_snapshot_win.h b/snapshot/win/thread_snapshot_win.h
index 19e8066c22c801283bf3ef88b51993e0198c2b65..9829707f631ffc7bf0a018274bf1d33dc5a8c43a 100644
--- a/snapshot/win/thread_snapshot_win.h
+++ b/snapshot/win/thread_snapshot_win.h
@@ -60,6 +60,12 @@ class ThreadSnapshotWin final : public ThreadSnapshot {
uint64_t ThreadSpecificDataAddress() const override;
private:
+#if defined(ARCH_CPU_X86_FAMILY)
+ union {
+ CPUContextX86 x86;
+ CPUContextX86_64 x86_64;
+ } context_union_;
+#endif
CPUContext context_;
MemorySnapshotWin stack_;
ProcessReaderWin::Thread thread_;
« no previous file with comments | « snapshot/win/process_reader_win_test.cc ('k') | snapshot/win/thread_snapshot_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698