[Lldb-commits] [PATCH] D30234: Reformat inferior's main.cpp in lldb-server test
Kamil Rytarowski via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 22 01:44:35 PST 2017
krytarowski added inline comments.
================
Comment at: packages/Python/lldbsuite/test/tools/lldb-server/main.cpp:74
+ printf("%" PRIx64, static_cast<uint64_t>(syscall(__NR_gettid)));
#else
+ printf("{no-tid-support}");
----------------
Note to self -
```
#elif defined(__NetBSD__)
printf("%" PRIx64, static_cast<uint64_t>(_lwp_self()));
```
and include
```
#if defined(__NetBSD__)
#include <lwp.h>
#endif
```
https://reviews.llvm.org/D30234
More information about the lldb-commits
mailing list