[Lldb-commits] [lldb] 27ca945 - [lldb] add fallback for LLDB_PYTHON_RELATIVE_PATH

2021-12-02 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-12-02T21:13:35-08:00 New Revision: 27ca9458012caf8b556ce31fc7aaac571af878d2 URL: https://github.com/llvm/llvm-project/commit/27ca9458012caf8b556ce31fc7aaac571af878d2 DIFF:

[Lldb-commits] [lldb] 6327071 - [lldb] remove usage of distutils, fix python path on debian/ubuntu

2021-11-17 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-11-17T13:14:30-08:00 New Revision: 63270710f13af10808aac980795128db127153f5 URL: https://github.com/llvm/llvm-project/commit/63270710f13af10808aac980795128db127153f5 DIFF:

[Lldb-commits] [lldb] f07ddbc - [lldb] build failure for LLDB_PYTHON_EXE_RELATIVE_PATH on greendragon

2021-11-17 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-11-17T09:26:24-08:00 New Revision: f07ddbc620a0466ebbb41ccbc78f20a8591bed5a URL: https://github.com/llvm/llvm-project/commit/f07ddbc620a0466ebbb41ccbc78f20a8591bed5a DIFF:

[Lldb-commits] [lldb] ae389b2 - [lldb] use EXT_SUFFIX for python extension

2021-11-16 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-11-16T14:32:26-08:00 New Revision: ae389b2450bd604a3f3bbe5b09b333b2d99801dd URL: https://github.com/llvm/llvm-project/commit/ae389b2450bd604a3f3bbe5b09b333b2d99801dd DIFF:

[Lldb-commits] [lldb] 4c2cf3a - [lldb] fix -print-script-interpreter-info on windows

2021-11-16 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-11-16T13:50:20-08:00 New Revision: 4c2cf3a314d9131b1b288e7c8ab0c75ac1b2be1d URL: https://github.com/llvm/llvm-project/commit/4c2cf3a314d9131b1b288e7c8ab0c75ac1b2be1d DIFF:

[Lldb-commits] [lldb] 19cd6f3 - [lldb] temporarily disable TestPaths.test_interpreter_info on windows

2021-11-12 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-11-12T15:41:39-08:00 New Revision: 19cd6f31d83ec9cf4712e76668b2076a4c9741e4 URL: https://github.com/llvm/llvm-project/commit/19cd6f31d83ec9cf4712e76668b2076a4c9741e4 DIFF:

[Lldb-commits] [lldb] bbef51e - [lldb] make it easier to find LLDB's python

2021-11-10 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-11-10T10:33:34-08:00 New Revision: bbef51eb43c2e8f8e36fbbc0d0b4cca75b6f0863 URL: https://github.com/llvm/llvm-project/commit/bbef51eb43c2e8f8e36fbbc0d0b4cca75b6f0863 DIFF:

[Lldb-commits] [lldb] 531d877 - [lldb] Fix TestEchoCommands.test again

2021-11-04 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-11-04T01:24:25-07:00 New Revision: 531d877ee6410a94f5b4cb888d3c785d6ef0552c URL: https://github.com/llvm/llvm-project/commit/531d877ee6410a94f5b4cb888d3c785d6ef0552c DIFF:

[Lldb-commits] [lldb] 7f01f78 - [lldb] update TestEchoCommands

2021-11-02 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-11-02T14:30:08-07:00 New Revision: 7f01f78593d68741f1a26911e8cecca9805b3fa4 URL: https://github.com/llvm/llvm-project/commit/7f01f78593d68741f1a26911e8cecca9805b3fa4 DIFF:

[Lldb-commits] [lldb] e2a6c08 - [lldb] fix --source-quietly

2021-11-02 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-11-02T11:01:55-07:00 New Revision: e2a6c08bbc385b38e02f4e5d31d1cf6d4403f066 URL: https://github.com/llvm/llvm-project/commit/e2a6c08bbc385b38e02f4e5d31d1cf6d4403f066 DIFF:

[Lldb-commits] [lldb] 8ac5a66 - [lldb] improve the help strings for gdb-remote and kdp-remote

2021-10-19 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2021-10-19T13:08:21-07:00 New Revision: 8ac5a6641fa4d742fb4599b485c40700e773f01f URL: https://github.com/llvm/llvm-project/commit/8ac5a6641fa4d742fb4599b485c40700e773f01f DIFF:

[Lldb-commits] [lldb] 4594f81 - Fix Xcode project for debugserver

2021-10-15 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'\''Anna Date: 2021-10-15T15:08:06-07:00 New Revision: 4594f81165433c681cc4f09ed50b662b1a237137 URL: https://github.com/llvm/llvm-project/commit/4594f81165433c681cc4f09ed50b662b1a237137 DIFF:

[Lldb-commits] [lldb] 52712d3 - Re-land "get rid of PythonInteger::GetInteger()"

2020-05-08 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2020-05-08T10:57:10-07:00 New Revision: 52712d3ff7a2f7bcf737996d6ab59ef2cc29c20d URL: https://github.com/llvm/llvm-project/commit/52712d3ff7a2f7bcf737996d6ab59ef2cc29c20d DIFF:

[Lldb-commits] [lldb] 7375212 - get rid of PythonInteger::GetInteger()

2020-04-21 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2020-04-21T16:55:51-07:00 New Revision: 7375212172951d2fc283c81d03c1a8588c3280c6 URL: https://github.com/llvm/llvm-project/commit/7375212172951d2fc283c81d03c1a8588c3280c6 DIFF:

[Lldb-commits] [lldb] c8de17b - Fix illegal early call to PyBuffer_Release in swig typemaps

2020-04-07 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2020-04-07T13:31:29-07:00 New Revision: c8de17bca658e62bbf8c33eae839e457332e885e URL: https://github.com/llvm/llvm-project/commit/c8de17bca658e62bbf8c33eae839e457332e885e DIFF:

[Lldb-commits] [lldb] adbf64c - [LLDB][Python] remove ArgInfo::count

2019-11-04 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-11-04T12:48:49-08:00 New Revision: adbf64ccc9e18278600ebaeadd8f0117eb8e64b1 URL: https://github.com/llvm/llvm-project/commit/adbf64ccc9e18278600ebaeadd8f0117eb8e64b1 DIFF:

[Lldb-commits] [lldb] fb01c01 - [LLDB][Python] warning fix for LLDBSwigPythonBreakpointCallbackFunction

2019-10-30 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-30T09:47:27-07:00 New Revision: fb01c01bf3f60d1d229126ea4088519adae5c015 URL: https://github.com/llvm/llvm-project/commit/fb01c01bf3f60d1d229126ea4088519adae5c015 DIFF:

[Lldb-commits] [lldb] 3071ebf - [LLDB][PythonFile] fix dangerous borrow semantics on python2

2019-10-30 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-30T09:46:51-07:00 New Revision: 3071ebf7b38341e89be04aa64c257c4643e0648c URL: https://github.com/llvm/llvm-project/commit/3071ebf7b38341e89be04aa64c257c4643e0648c DIFF:

[Lldb-commits] [lldb] a69bbe0 - [LLDB][breakpoints] ArgInfo::count -> ArgInfo::max_positional_args

2019-10-29 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-29T15:03:02-07:00 New Revision: a69bbe02a2352271e8b14542073f177e24c499c1 URL: https://github.com/llvm/llvm-project/commit/a69bbe02a2352271e8b14542073f177e24c499c1 DIFF:

[Lldb-commits] [lldb] 6a93a12 - [LLDB][Python] fix another fflush issue on NetBSD

2019-10-29 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-29T09:41:22-07:00 New Revision: 6a93a12a8dd98291225a282b5b8f3c97e68ebe49 URL: https://github.com/llvm/llvm-project/commit/6a93a12a8dd98291225a282b5b8f3c97e68ebe49 DIFF:

[Lldb-commits] [lldb] 40b0fa7 - [LLDB][formatters] ArgInfo::count -> ArgInfo::max_positional_args

2019-10-27 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-27T16:01:46-07:00 New Revision: 40b0fa7ef2123866b2252ef6990040c2707cabe4 URL: https://github.com/llvm/llvm-project/commit/40b0fa7ef2123866b2252ef6990040c2707cabe4 DIFF:

[Lldb-commits] [lldb] d602e0d - fix PythonDataObjectsTest.TestExceptions on windows

2019-10-21 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-22T04:00:37Z New Revision: d602e0d0cab270761553c79d2e42b8ac6b756157 URL: https://github.com/llvm/llvm-project/commit/d602e0d0cab270761553c79d2e42b8ac6b756157 DIFF: https://github.com/llvm/llvm-project/commit/d602e0d0cab270761553c79d2e42b8ac6b756157.diff

[Lldb-commits] [lldb] 04edd18 - remove multi-argument form of PythonObject::Reset()

2019-10-21 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-22T02:32:37Z New Revision: 04edd1893c2d0f35880fd5f81e78dc23979df0b9 URL: https://github.com/llvm/llvm-project/commit/04edd1893c2d0f35880fd5f81e78dc23979df0b9 DIFF: https://github.com/llvm/llvm-project/commit/04edd1893c2d0f35880fd5f81e78dc23979df0b9.diff

[Lldb-commits] [lldb] 722b618 - eliminate nontrivial Reset(...) from TypedPythonObject

2019-10-19 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-19T18:43:49Z New Revision: 722b61892454b3217d73ec486e52156c5a92b5b3 URL: https://github.com/llvm/llvm-project/commit/722b61892454b3217d73ec486e52156c5a92b5b3 DIFF: https://github.com/llvm/llvm-project/commit/722b61892454b3217d73ec486e52156c5a92b5b3.diff

[Lldb-commits] [lldb] bdcad0a - convert LLDBSwigPythonCallTypeScript to ArgInfo::max_positional_args

2019-10-19 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-19T07:05:39Z New Revision: bdcad0aca0a05145364ee153a8f54af4aea2c445 URL: https://github.com/llvm/llvm-project/commit/bdcad0aca0a05145364ee153a8f54af4aea2c445 DIFF:

[Lldb-commits] [lldb] 2386537 - [LLDB] bugfix: command script add -f doesn't work for some callables

2019-10-19 Thread Lawrence D'Anna via lldb-commits
Author: Lawrence D'Anna Date: 2019-10-19T07:05:33Z New Revision: 2386537c2469a97501a305c6b3138231b907a67f URL: https://github.com/llvm/llvm-project/commit/2386537c2469a97501a305c6b3138231b907a67f DIFF:

[Lldb-commits] [lldb] r375182 - eliminate one form of PythonObject::Reset()

2019-10-17 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Thu Oct 17 15:22:09 2019 New Revision: 375182 URL: http://llvm.org/viewvc/llvm-project?rev=375182=rev Log: eliminate one form of PythonObject::Reset() Summary: I'd like to eliminate all forms of Reset() and all public constructors on these objects, so the only way to

[Lldb-commits] [lldb] r375181 - clean up the implementation of PythonCallable::GetNumArguments

2019-10-17 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Thu Oct 17 15:22:06 2019 New Revision: 375181 URL: http://llvm.org/viewvc/llvm-project?rev=375181=rev Log: clean up the implementation of PythonCallable::GetNumArguments Summary: The current implementation of PythonCallable::GetNumArguments is not exception safe, has

[Lldb-commits] [lldb] r375073 - delete SWIG typemaps for FILE*

2019-10-16 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Wed Oct 16 18:35:22 2019 New Revision: 375073 URL: http://llvm.org/viewvc/llvm-project?rev=375073=rev Log: delete SWIG typemaps for FILE* Summary: The SWIG typemaps for FILE* are no longer used, so this patch deletes them. Reviewers: JDevlieghere, jasonmolenda,

[Lldb-commits] [lldb] r374964 - update ScriptInterpreterPython to use File, not FILE*

2019-10-15 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Tue Oct 15 18:58:15 2019 New Revision: 374964 URL: http://llvm.org/viewvc/llvm-project?rev=374964=rev Log: update ScriptInterpreterPython to use File, not FILE* Summary: ScriptInterpreterPython needs to save and restore sys.stdout and friends when LLDB runs a python

[Lldb-commits] [lldb] r374924 - remove FILE* usage from SBStream.i

2019-10-15 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Tue Oct 15 10:41:40 2019 New Revision: 374924 URL: http://llvm.org/viewvc/llvm-project?rev=374924=rev Log: remove FILE* usage from SBStream.i Summary: This patch removes FILE* and replaces it with SBFile and FileSP the SWIG interface for `SBStream.i`. And this is

[Lldb-commits] [lldb] r374916 - eliminate virtual methods from PythonDataObjects

2019-10-15 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Tue Oct 15 10:12:49 2019 New Revision: 374916 URL: http://llvm.org/viewvc/llvm-project?rev=374916=rev Log: eliminate virtual methods from PythonDataObjects Summary: This patch eliminates a bunch of boilerplate from PythonDataObjects, as well as the use of virtual

[Lldb-commits] [lldb] r374912 - convert SBDebugger::***FileHandle() wrappers to native files.

2019-10-15 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Tue Oct 15 09:59:20 2019 New Revision: 374912 URL: http://llvm.org/viewvc/llvm-project?rev=374912=rev Log: convert SBDebugger::***FileHandle() wrappers to native files. Summary: This patch converts the swig wrappers for SetInputFileHandle() and friends to emulate the

[Lldb-commits] [lldb] r374911 - SBFile::GetFile: convert SBFile back into python native files.

2019-10-15 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Tue Oct 15 09:46:27 2019 New Revision: 374911 URL: http://llvm.org/viewvc/llvm-project?rev=374911=rev Log: SBFile::GetFile: convert SBFile back into python native files. Summary: This makes SBFile::GetFile public and adds a SWIG typemap to convert the result back

[Lldb-commits] [lldb] r374825 - build fix for SBInstruction.

2019-10-14 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Mon Oct 14 14:51:02 2019 New Revision: 374825 URL: http://llvm.org/viewvc/llvm-project?rev=374825=rev Log: build fix for SBInstruction. oops! I cherry-picked rL374820 thinking it was completely independent of D68737, but it wasn't. It makes an incidental use of

[Lldb-commits] [lldb] r374820 - remove FILE* bindings from SBInstruction.

2019-10-14 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Mon Oct 14 13:59:57 2019 New Revision: 374820 URL: http://llvm.org/viewvc/llvm-project?rev=374820=rev Log: remove FILE* bindings from SBInstruction. Summary: This patch replaces the FILE* python bindings for SBInstruction and SBInstructionList and replaces them with

[Lldb-commits] [lldb] r374817 - uint32_t options -> File::OpenOptions options

2019-10-14 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Mon Oct 14 13:15:34 2019 New Revision: 374817 URL: http://llvm.org/viewvc/llvm-project?rev=374817=rev Log: uint32_t options -> File::OpenOptions options Summary: This patch re-types everywhere that passes a File::OpenOptions as a uint32_t so it actually uses

[Lldb-commits] [lldb] r374816 - remove FILE* usage from ReportEventState() and HandleProcessEvent()

2019-10-14 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Mon Oct 14 13:15:28 2019 New Revision: 374816 URL: http://llvm.org/viewvc/llvm-project?rev=374816=rev Log: remove FILE* usage from ReportEventState() and HandleProcessEvent() Summary: This patch adds FileSP and SBFile versions of the API methods ReportEventState and

[Lldb-commits] [lldb] r374803 - Fix test breakage caused by r374424

2019-10-14 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Mon Oct 14 11:53:27 2019 New Revision: 374803 URL: http://llvm.org/viewvc/llvm-project?rev=374803=rev Log: Fix test breakage caused by r374424 Summary: The build directory name is based on the test method name, so having two test methods with the same name in the

[Lldb-commits] [lldb] r374576 - IOHandler: fall back on File::Read if a FILE* isn't available.

2019-10-11 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Fri Oct 11 10:43:32 2019 New Revision: 374576 URL: http://llvm.org/viewvc/llvm-project?rev=374576=rev Log: IOHandler: fall back on File::Read if a FILE* isn't available. Summary: IOHandler needs to read lines of input from a lldb::File. The way it currently does this

[Lldb-commits] [lldb] r374424 - update TestRunCommandInterpreterAPI to use SBFile

2019-10-10 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Thu Oct 10 12:24:07 2019 New Revision: 374424 URL: http://llvm.org/viewvc/llvm-project?rev=374424=rev Log: update TestRunCommandInterpreterAPI to use SBFile Summary: If you look at what this test is doing, it's actually quite mysterious why it works at all. It sets

[Lldb-commits] [lldb] r374422 - update SBDebugger::SetInputFile() etc to work on native Files

2019-10-10 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Thu Oct 10 12:10:59 2019 New Revision: 374422 URL: http://llvm.org/viewvc/llvm-project?rev=374422=rev Log: update SBDebugger::SetInputFile() etc to work on native Files Summary: This patch adds FileSP versions of SetInputFile(), SetOutputFile, and SetErrorFile().

[Lldb-commits] [lldb] r374417 - TestFileHandle.py: fix for Python 3.6

2019-10-10 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Thu Oct 10 11:38:23 2019 New Revision: 374417 URL: http://llvm.org/viewvc/llvm-project?rev=374417=rev Log: TestFileHandle.py: fix for Python 3.6 Summary: Python 3.6 stringifies exceptions as `ExceptionClass("foo",)` instead of `ExceptionClass("foo")`. This patch

[Lldb-commits] [lldb] r374237 - SBFile: add a bunch of tests that should eventually work.

2019-10-09 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Wed Oct 9 14:50:46 2019 New Revision: 374237 URL: http://llvm.org/viewvc/llvm-project?rev=374237=rev Log: SBFile: add a bunch of tests that should eventually work. Summary: It's really annoying and confusing to have to keep referring back to earlier versions of this

[Lldb-commits] [lldb] r374239 - remove a smattering of isolated, unnecessary uses of FILE*

2019-10-09 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Wed Oct 9 14:50:52 2019 New Revision: 374239 URL: http://llvm.org/viewvc/llvm-project?rev=374239=rev Log: remove a smattering of isolated, unnecessary uses of FILE* Summary: There a a few call sites that use FILE* which are easy to fix without disrupting anything

[Lldb-commits] [lldb] r374238 - SBFile support in SBCommandReturnObject

2019-10-09 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Wed Oct 9 14:50:49 2019 New Revision: 374238 URL: http://llvm.org/viewvc/llvm-project?rev=374238=rev Log: SBFile support in SBCommandReturnObject Summary: This patch add SBFile interfaces to SBCommandReturnObject, and removes the internal callers of its FILE*

[Lldb-commits] [lldb] r374225 - allow arbitrary python streams to be converted to SBFile

2019-10-09 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Wed Oct 9 13:56:17 2019 New Revision: 374225 URL: http://llvm.org/viewvc/llvm-project?rev=374225=rev Log: allow arbitrary python streams to be converted to SBFile Summary: This patch adds SWIG typemaps that can convert arbitrary python file objects into

[Lldb-commits] [lldb] r374197 - protect libedit and LLDB gui from receiving null FILE* streams

2019-10-09 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Wed Oct 9 11:43:03 2019 New Revision: 374197 URL: http://llvm.org/viewvc/llvm-project?rev=374197=rev Log: protect libedit and LLDB gui from receiving null FILE* streams Summary: We now have valid files that will return NULL from GetStream(). libedit and the LLDB gui

[Lldb-commits] [lldb] r374094 - exception handling in PythonDataObjects.

2019-10-08 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Tue Oct 8 10:56:18 2019 New Revision: 374094 URL: http://llvm.org/viewvc/llvm-project?rev=374094=rev Log: exception handling in PythonDataObjects. Summary: Python APIs nearly all can return an exception. They do this by returning NULL, or -1, or some such value

[Lldb-commits] [lldb] r374007 - test fix: TestLoadUsingPaths should use realpath

2019-10-07 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Mon Oct 7 18:16:29 2019 New Revision: 374007 URL: http://llvm.org/viewvc/llvm-project?rev=374007=rev Log: test fix: TestLoadUsingPaths should use realpath Summary: TestLoadUsingPaths will fail if the build directory has symlinks in its path, because the real paths

[Lldb-commits] [lldb] r373997 - DWIMy filterspecs for dotest.py

2019-10-07 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Mon Oct 7 17:26:53 2019 New Revision: 373997 URL: http://llvm.org/viewvc/llvm-project?rev=373997=rev Log: DWIMy filterspecs for dotest.py Summary: dotest.py currently requires a filterspec to be of the form `TestCase.test_method`. This patch makes it more

[Lldb-commits] [lldb] r373564 - factor out an abstract base class for File

2019-10-02 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Wed Oct 2 21:31:46 2019 New Revision: 373564 URL: http://llvm.org/viewvc/llvm-project?rev=373564=rev Log: factor out an abstract base class for File Summary: This patch factors out File as an abstract base class and moves most of its actual functionality into a

[Lldb-commits] [lldb] r373563 - SBDebugger::SetInputFile, SetOutputFile, etc.

2019-10-02 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Wed Oct 2 21:04:48 2019 New Revision: 373563 URL: http://llvm.org/viewvc/llvm-project?rev=373563=rev Log: SBDebugger::SetInputFile, SetOutputFile, etc. Summary: Add new methods to SBDebugger to set IO files as SBFiles instead of as FILE* streams. In future commits,

[Lldb-commits] [lldb] r373562 - new api class: SBFile

2019-10-02 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Wed Oct 2 21:01:07 2019 New Revision: 373562 URL: http://llvm.org/viewvc/llvm-project?rev=373562=rev Log: new api class: SBFile Summary: SBFile is a scripting API wrapper for lldb_private::File This is the first step in a project to enable arbitrary python

[Lldb-commits] [lldb] r373285 - File::Clear() -> File::TakeStreamAndClear()

2019-09-30 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Mon Sep 30 18:05:02 2019 New Revision: 373285 URL: http://llvm.org/viewvc/llvm-project?rev=373285=rev Log: File::Clear() -> File::TakeStreamAndClear() Summary: File::Clear() is an ugly function. It's only used in one place, which is the swig typemaps for FILE*.

[Lldb-commits] [lldb] r373126 - refactor: move IOObject::m_should_close_fd into subclasses

2019-09-27 Thread Lawrence D'Anna via lldb-commits
Author: lawrence_danna Date: Fri Sep 27 13:43:50 2019 New Revision: 373126 URL: http://llvm.org/viewvc/llvm-project?rev=373126=rev Log: refactor: move IOObject::m_should_close_fd into subclasses Summary: m_should_close_fd doesn't need to be in IOObject. It will be useful for my next change to