Find a file
Lawrence D'Anna 21b8a8ae27 allow arbitrary python streams to be converted to SBFile
Summary:
This patch adds SWIG typemaps that can convert arbitrary python
file objects into lldb_private::File.

A SBFile may be initialized from a python file using the
constructor.   There are also alternate, tagged constructors
that allow python files to be borrowed, and for the caller
to control whether or not the python I/O methods will be
called even when a file descriptor is available.I

Reviewers: JDevlieghere, jasonmolenda, labath

Reviewed By: labath

Subscribers: zturner, amccarth, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D68188

llvm-svn: 374225
2019-10-09 20:56:17 +00:00
clang [OPENMP50]Fix scoring of contexts with and without user provided scores. 2019-10-09 20:54:06 +00:00
clang-tools-extra [clangd] Make sure ReplyCallbacks are destroyed before RequestCancelersMutex 2019-10-09 13:59:31 +00:00
compiler-rt [sanitizer, NFC] Fix grammar in comment 2019-10-09 20:52:39 +00:00
debuginfo-tests
libc Add few docs and implementation of strcpy and strcat. 2019-10-04 17:30:54 +00:00
libclc travis: Add LLVM 9 build 2019-09-27 05:58:15 +00:00
libcxx Optimize operator=(const basic_string&) for tail call. 2019-10-09 03:07:02 +00:00
libcxxabi [libc++abi] Introduce a LIBCXXABI_LIBRARY_VERSION option 2019-10-07 19:22:04 +00:00
libunwind [libunwind] Adjust libunwind_01.pass.cpp test for ARM EHABI 2019-10-03 17:01:04 +00:00
lld Unify the two CRC implementations 2019-10-09 09:06:30 +00:00
lldb allow arbitrary python streams to be converted to SBFile 2019-10-09 20:56:17 +00:00
llgo
llvm [System Model] [TTI] Define AMDGPUTTIImpl::getST and AMDGPUTTIImpl::getTLI 2019-10-09 20:48:54 +00:00
openmp [OpenMP] Enable thread affinity on FreeBSD 2019-10-08 21:25:30 +00:00
parallel-libs
polly [Alignment][NFC] Remove StoreInst::setAlignment(unsigned) 2019-10-03 13:17:21 +00:00
pstl
.arcconfig
.clang-format
.clang-tidy
.git-blame-ignore-revs
.gitignore
README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.