[PATCH] D40071: [libcxx] Implement exception_ptr on Windows without msvcprt.dll

David Majnemer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 14:36:39 PST 2017


majnemer added inline comments.


================
Comment at: src/support/runtime/exception_pointer_msvc.ipp:119-123
+#ifdef _M_AMD64
+    RtlPcToFileHeader(
+        reinterpret_cast<PVOID>(const_cast<EHThrowInfo*>(throw_info)),
+        &image_base);
+#endif
----------------
Can't you use the image_base field in throw_info?


https://reviews.llvm.org/D40071





More information about the cfe-commits mailing list