[Lldb-commits] [PATCH] D46934: Make ObjectFileMachO work on non-darwin platforms

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 16 08:53:04 PDT 2018


aprantl added inline comments.


================
Comment at: source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp:1037
     SetError(set, Write, -1);
-    return KERN_INVALID_ARGUMENT;
+    return -1;
   }
----------------
Could we keep this as a local constant?
perhaps with an #ifndef KERN_INVALID_ARGUMENT clause?


https://reviews.llvm.org/D46934





More information about the lldb-commits mailing list