Author: labath
Date: Mon Jul 3 02:25:55 2017
New Revision: 307009
URL: http://llvm.org/viewvc/llvm-project?rev=307009&view=rev
Log:
Use llvm::sys::RetryAfterSignal instead of a manual while errno!=EINTR loop
Reviewers: zturner, eugene, krytarowski
Subscribers: emaste, mgorny, lldb-commits
Diff
Author: labath
Date: Mon Jul 3 04:01:49 2017
New Revision: 307018
URL: http://llvm.org/viewvc/llvm-project?rev=307018&view=rev
Log:
Fix typo/unbreak windows build broken by r307009
Modified:
lldb/trunk/source/Host/common/File.cpp
Modified: lldb/trunk/source/Host/common/File.cpp
URL:
http:/
labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.
looks good
Repository:
rL LLVM
https://reviews.llvm.org/D34929
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org
labath added a reviewer: emaste.
labath added a comment.
+ed as freebsd owner
ArrayRef cannot be returned from a function as they don't own the underlying
data. The more traditional way of using SmallVector is to "return" it as a
by-ref `SmallVectorImpl` argument, as that avoids the need to har
labath added inline comments.
Comment at: source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp:112
+ if (wpid != pid || !WIFSTOPPED(wstatus)) {
+std::error_code EC(errno, std::generic_category());
+LLDB_LOG(
krytarowski wrote:
> I can imagine that in so
labath updated this revision to Diff 105065.
labath marked 9 inline comments as done.
labath added a comment.
Address review comments
https://reviews.llvm.org/D33778
Files:
include/lldb/Host/common/NativeProcessProtocol.h
source/Host/common/NativeProcessProtocol.cpp
source/Plugins/Process
labath added a reviewer: eugene.
labath added a comment.
Adding eugene, as he wrote that piece of code. Seems reasonable at a first
glance though.
https://reviews.llvm.org/D34911
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lis
This revision was automatically updated to reflect the committed changes.
Closed by commit rL307009: Use llvm::sys::RetryAfterSignal instead of a manual
while errno!=EINTR loop (authored by labath).
Changed prior to commit:
https://reviews.llvm.org/D33831?vs=101212&id=105067#toc
Repository:
Author: ravitheja
Date: Mon Jul 3 08:07:36 2017
New Revision: 307030
URL: http://llvm.org/viewvc/llvm-project?rev=307030&view=rev
Log:
Fixing warnings for unused variables and copy ellision
Summary:
The std::move was preventing copy ellision when compiled with
clang, the patch fixes the warning
krytarowski added inline comments.
Comment at: source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp:85
+ int wstatus;
+ ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0);
+ assert(wpid == pid);
We can set BSD specific: `-1` -> `WAIT_
labath marked 6 inline comments as done.
labath added inline comments.
Comment at: source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp:85
+ int wstatus;
+ ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0);
+ assert(wpid == pid);
kry
labath added inline comments.
Comment at:
source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp:3203
+error.SetError(response.GetError(), eErrorTypeGeneric);
+ LLDB_LOG(log, "Target does not support Tracing , error {0}",
error.AsCString());
} else
labath updated this revision to Diff 105095.
labath marked 2 inline comments as done.
labath added a comment.
remove extra pid check
https://reviews.llvm.org/D33778
Files:
include/lldb/Host/common/NativeProcessProtocol.h
source/Host/common/NativeProcessProtocol.cpp
source/Plugins/Process/
krytarowski added inline comments.
Comment at: source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp:85
+ int wstatus;
+ ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0);
+ assert(wpid == pid);
labath wrote:
> krytarowski wrote:
> >
krytarowski accepted this revision.
krytarowski added inline comments.
This revision is now accepted and ready to land.
Comment at: source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp:87
+ assert(wpid == pid);
+ (void)wpid;
+ if (wpid != pid || !WIFSTOPPED(wstatus)) {
--
jingham accepted this revision.
jingham added a comment.
This revision is now accepted and ready to land.
Thanks!
https://reviews.llvm.org/D34872
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinf
16 matches
Mail list logo