[Lldb-commits] [lldb] r248255 - Use fcntl.h to retrieve the O_CREAT and O_RDWR constants.

2015-09-22 Thread Vasileios Kalintiris via lldb-commits
Author: vkalintiris Date: Tue Sep 22 04:46:35 2015 New Revision: 248255 URL: http://llvm.org/viewvc/llvm-project?rev=248255=rev Log: Use fcntl.h to retrieve the O_CREAT and O_RDWR constants. Summary: Normally, these macros are defined in fnctl.h. However, GLIBC exposes their definition through

[Lldb-commits] [lldb] r248268 - Remove unused header .

2015-09-22 Thread Vasileios Kalintiris via lldb-commits
Author: vkalintiris Date: Tue Sep 22 07:43:23 2015 New Revision: 248268 URL: http://llvm.org/viewvc/llvm-project?rev=248268=rev Log: Remove unused header . Modified: lldb/trunk/source/Host/linux/Host.cpp Modified: lldb/trunk/source/Host/linux/Host.cpp URL:

[Lldb-commits] [PATCH] D13022: Use fcntl.h to retrieve the O_CREAT and O_RDRW constants.

2015-09-21 Thread Vasileios Kalintiris via lldb-commits
vkalintiris created this revision. vkalintiris added a reviewer: clayborg. vkalintiris added a subscriber: lldb-commits. Normally, these macros are defined in . However, GLIBC exposes their definition through too. This change allows us to compile LLDB with non-GLIBC C libraries.

[Lldb-commits] [PATCH] D13019: Do not use pthread_{get, set}name_np() if we don't have GLIBC.

2015-09-21 Thread Vasileios Kalintiris via lldb-commits
vkalintiris created this revision. vkalintiris added reviewers: clayborg, ovyalov. vkalintiris added a subscriber: lldb-commits. pthread_{get,set}name_np() are nonstandard GNU extensions which are included only when _GNU_SOURCE is defined under GLIBC. http://reviews.llvm.org/D13019 Files:

Re: [Lldb-commits] [PATCH] D13022: Use fcntl.h to retrieve the O_CREAT and O_RDRW constants.

2015-09-21 Thread Vasileios Kalintiris via lldb-commits
vkalintiris updated this revision to Diff 35258. vkalintiris updated the summary for this revision. vkalintiris added a comment. Use fcntl.h instead of sys/fcntl.h. http://reviews.llvm.org/D13022 Files: source/Core/ConnectionSharedMemory.cpp Index: source/Core/ConnectionSharedMemory.cpp

Re: [Lldb-commits] [PATCH] D13022: Use fcntl.h to retrieve the O_CREAT and O_RDRW constants.

2015-09-21 Thread Vasileios Kalintiris via lldb-commits
vkalintiris added a comment. In http://reviews.llvm.org/D13022#249823, @emaste wrote: > Although it ought to remain on the same line, no? It shouldn't matter in this case. I just followed the order of the headers in the synopsis section of shm_open(3) on my system. However, I noticed that we