[Lldb-commits] [lldb] [lldb] checks beforehand if lldb can trace/attach a process on FreeBSD. (PR #79662)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 26 15:57:47 PST 2024


================
@@ -48,14 +48,37 @@ static Status EnsureFDFlags(int fd, int flags) {
   return error;
 }
 
+static Status CanTrace() {
+  Status status;
----------------
bulbazord wrote:

Suggestion: You can remove this and just return {} below.

https://github.com/llvm/llvm-project/pull/79662


More information about the lldb-commits mailing list