[Lldb-commits] [PATCH] D24919: Adding a RegisterContextMinidump_x86_64 converter

Dimitar Vlahovski via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 26 10:07:06 PDT 2016


dvlahovski added inline comments.

================
Comment at: source/Plugins/Process/minidump/RegisterContextMinidump_x86_64.cpp:47-48
@@ +46,4 @@
+
+  if (*context_flags & uint32_t(MinidumpContext_x86_64_Flags::Control)) {
+    writeRegister(source_data, result_base, &reg_info[lldb_cs_x86_64], 2);
+  }
----------------
If it is then when I do a `&` the result is an enum class of type `MinidumpContext_x86_64_Flags`. And the compiler complains that this is not convertible to bool


https://reviews.llvm.org/D24919





More information about the lldb-commits mailing list