[Lldb-commits] [PATCH] D17509: Work around a stepping bug in arm64 android M

Oleksiy Vyalov via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 22 10:45:20 PST 2016


ovyalov accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: source/Plugins/Process/Linux/NativeThreadLinux.cpp:250
@@ +249,3 @@
+            log->Printf("NativeThreadLinux::%s Unable to get cpu affinity for thread %" PRIx64 ": %s", __FUNCTION__,
+                        m_tid, strerror(errno));
+        return;
----------------
Could you use Error error(errno, eErrorTypePOSIX) instead of strerror here?

================
Comment at: source/Plugins/Process/Linux/SingleStepCheck.cpp:79
@@ +78,3 @@
+        }
+        return false;
+    }
----------------
Kill child before return?

================
Comment at: source/Plugins/Process/Linux/SingleStepCheck.h:41
@@ +40,2 @@
+
+#endif // #ifndef liblldb_NativeThreadLinux_H_
----------------
s/liblldb_NativeThreadLinux_H_/liblldb_SingleStepCheck_H_


http://reviews.llvm.org/D17509





More information about the lldb-commits mailing list