Index: client/crashpad_info.cc |
diff --git a/client/crashpad_info.cc b/client/crashpad_info.cc |
index 739ed1c0b177504bac81e13525e41776dfbbd40c..873a318a3108ad225a5e95a221da16128154e89b 100644 |
--- a/client/crashpad_info.cc |
+++ b/client/crashpad_info.cc |
@@ -71,8 +71,10 @@ __attribute__((section(SEG_DATA ",__crashpad_info"), |
#elif defined(OS_WIN) |
-// TODO(scottmg): Tag in a way that makes it easy to locate on Windows. |
-CrashpadInfo g_crashpad_info; |
+// Put the struct in a section name CPADinfo where it can be found without the |
+// symbol table. |
+#pragma section("CPADinfo", read, write) |
+__declspec(allocate("CPADinfo")) CrashpadInfo g_crashpad_info; |
#endif |