Revision tags: llvmorg-7.0.1-rc2, llvmorg-7.0.1-rc1, llvmorg-7.0.0, llvmorg-7.0.0-rc3, llvmorg-7.0.0-rc2, llvmorg-7.0.0-rc1 |
|
#
d68983e3 |
| 21-Jun-2018 |
Pavel Labath <labath@google.com> |
Partially revert r335236
Jim pointed out that XCode has build configurations that build without python and removing the ifdefs around the python code breaks them.
This reverts the #ifdef part of th
Partially revert r335236
Jim pointed out that XCode has build configurations that build without python and removing the ifdefs around the python code breaks them.
This reverts the #ifdef part of the above patch, while keeping the cmake parts.
llvm-svn: 335260
show more ...
|
#
bcadb5a3 |
| 21-Jun-2018 |
Pavel Labath <labath@google.com> |
ScriptInterpreterPython cleanup
Instead of #ifdef-ing the contents of all files in the plugin for all non-python builds, just disable the plugin at the cmake level. Also, remove spurious extra linki
ScriptInterpreterPython cleanup
Instead of #ifdef-ing the contents of all files in the plugin for all non-python builds, just disable the plugin at the cmake level. Also, remove spurious extra linking of the Python plugin in liblldb. This plugin is already included as a part of LLDB_ALL_PLUGINS variable.
llvm-svn: 335236
show more ...
|
Revision tags: llvmorg-6.0.1, llvmorg-6.0.1-rc3, llvmorg-6.0.1-rc2, llvmorg-6.0.1-rc1, llvmorg-5.0.2, llvmorg-5.0.2-rc2, llvmorg-5.0.2-rc1, llvmorg-6.0.0, llvmorg-6.0.0-rc3, llvmorg-6.0.0-rc2, llvmorg-6.0.0-rc1, llvmorg-5.0.1, llvmorg-5.0.1-rc3, llvmorg-5.0.1-rc2 |
|
#
23502721 |
| 02-Nov-2017 |
Jason Molenda <jmolenda@apple.com> |
Revert r317182 for https://reviews.llvm.org/D39128 we're still failing on android. I'll ask Larry to ask Pavel for any tips he might be able to give.
llvm-svn: 317183
|
#
edc2def4 |
| 02-Nov-2017 |
Jason Molenda <jmolenda@apple.com> |
Commit Lawrence D'Anna's patch to change SetOututFileHandle to work with IOBase.
I did make one change after checking with Larry -- I renamed SBDebugger::Flush to FlushDebuggerOutputHandles and adde
Commit Lawrence D'Anna's patch to change SetOututFileHandle to work with IOBase.
I did make one change after checking with Larry -- I renamed SBDebugger::Flush to FlushDebuggerOutputHandles and added a short docstring to the .i file to make it a little clearer under which context programs may need to use this API.
Differential Revision: https://reviews.llvm.org/D39128 <rdar://problem/34870417>
llvm-svn: 317182
show more ...
|
Revision tags: llvmorg-5.0.1-rc1, llvmorg-5.0.0, llvmorg-5.0.0-rc5, llvmorg-5.0.0-rc4, llvmorg-5.0.0-rc3, llvmorg-5.0.0-rc2, llvmorg-5.0.0-rc1 |
|
#
f2a8bccf |
| 27-Jun-2017 |
Pavel Labath <labath@google.com> |
Move StructuredData from Core to Utility
Summary: It had a dependency on StringConvert and file reading code, which is not in Utility. I've replaced that code by equivalent llvm operations.
I've ad
Move StructuredData from Core to Utility
Summary: It had a dependency on StringConvert and file reading code, which is not in Utility. I've replaced that code by equivalent llvm operations.
I've added a unit test to demonstrate that parsing a file still works.
Reviewers: zturner, jingham
Subscribers: kubamracek, mgorny, lldb-commits
Differential Revision: https://reviews.llvm.org/D34625
llvm-svn: 306394
show more ...
|
Revision tags: llvmorg-4.0.1, llvmorg-4.0.1-rc3, llvmorg-4.0.1-rc2, llvmorg-4.0.1-rc1, llvmorg-4.0.0, llvmorg-4.0.0-rc4, llvmorg-4.0.0-rc3 |
|
#
01c3243f |
| 14-Feb-2017 |
Zachary Turner <zturner@google.com> |
Remove dependencies from Utility to Core and Target.
With this patch, the only dependency left is from Utility to Host. After this is broken, Utility will finally be standalone.
Differential Revis
Remove dependencies from Utility to Core and Target.
With this patch, the only dependency left is from Utility to Host. After this is broken, Utility will finally be standalone.
Differential Revision: https://reviews.llvm.org/D29909
llvm-svn: 295088
show more ...
|
Revision tags: llvmorg-4.0.0-rc2 |
|
#
bf9a7730 |
| 02-Feb-2017 |
Zachary Turner <zturner@google.com> |
Move classes from Core -> Utility.
This moves the following classes from Core -> Utility.
ConstString Error RegularExpression Stream StreamString
The goal here is to get lldbUtility into a state w
Move classes from Core -> Utility.
This moves the following classes from Core -> Utility.
ConstString Error RegularExpression Stream StreamString
The goal here is to get lldbUtility into a state where it has no dependendencies except on itself and LLVM, so it can be the starting point at which to start untangling LLDB's dependencies. These are all low level and very widely used classes, and previously lldbUtility had dependencies up to lldbCore in order to use these classes. So moving then down to lldbUtility makes sense from both the short term and long term perspective in solving this problem.
Differential Revision: https://reviews.llvm.org/D29427
llvm-svn: 293941
show more ...
|
Revision tags: llvmorg-4.0.0-rc1, llvmorg-3.9.1, llvmorg-3.9.1-rc3, llvmorg-3.9.1-rc2, llvmorg-3.9.1-rc1 |
|
#
b9c1b51e |
| 06-Sep-2016 |
Kate Stone <katherine.stone@apple.com> |
*** This commit represents a complete reformatting of the LLDB source code *** to conform to clang-format’s LLVM style. This kind of mass change has *** two obvious implications:
Firstly, merging t
*** This commit represents a complete reformatting of the LLDB source code *** to conform to clang-format’s LLVM style. This kind of mass change has *** two obvious implications:
Firstly, merging this particular commit into a downstream fork may be a huge effort. Alternatively, it may be worth merging all changes up to this commit, performing the same reformatting operation locally, and then discarding the merge for this particular commit. The commands used to accomplish this reformatting were as follows (with current working directory as the root of the repository):
find . \( -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" -or -iname "*.mm" \) -exec clang-format -i {} + find . -iname "*.py" -exec autopep8 --in-place --aggressive --aggressive {} + ;
The version of clang-format used was 3.9.0, and autopep8 was 1.2.4.
Secondly, “blame” style tools will generally point to this commit instead of a meaningful prior commit. There are alternatives available that will attempt to look through this change and find the appropriate prior commit. YMMV.
llvm-svn: 280751
show more ...
|
Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3 |
|
#
41de9a97 |
| 19-Aug-2016 |
Kate Stone <katherine.stone@apple.com> |
Moved #include for lldb-python.h to a distinct group with a reminder comment declaring that it must be first. Failure to do so results in build failures on macOS due to subtle header conflicts.
llv
Moved #include for lldb-python.h to a distinct group with a reminder comment declaring that it must be first. Failure to do so results in build failures on macOS due to subtle header conflicts.
llvm-svn: 279315
show more ...
|
Revision tags: llvmorg-3.9.0-rc2 |
|
#
9ba9dfdd |
| 11-Aug-2016 |
Pavel Labath <labath@google.com> |
Make sure files include what they use (part 2/2)
This makes lldb still compile on linux after a project-wide clang-format
llvm-svn: 278335
|
Revision tags: llvmorg-3.9.0-rc1 |
|
#
d9c9da53 |
| 20-Jul-2016 |
Jason Molenda <jmolenda@apple.com> |
Add a default-value bool flag pretty_print to the StructuredData Dump methods. They will dump pretty-print (indentation, extra whitepsace) by default. I'll make a change to ProcessGDBRemote soon so
Add a default-value bool flag pretty_print to the StructuredData Dump methods. They will dump pretty-print (indentation, extra whitepsace) by default. I'll make a change to ProcessGDBRemote soon so it stops sending JSON strings to debugserver pretty-printed; it's unnecessary extra bytes being sent between the two.
llvm-svn: 276079
show more ...
|
#
a5d6765c |
| 24-Jun-2016 |
Enrico Granata <egranata@apple.com> |
Fix an issue where the @lldb.command marker would not work with the new 5-argument version of the Python command function
This: a) teaches PythonCallable to look inside a callable object b) teaches
Fix an issue where the @lldb.command marker would not work with the new 5-argument version of the Python command function
This: a) teaches PythonCallable to look inside a callable object b) teaches PythonCallable to discover whether a callable method is bound c) teaches lldb.command to dispatch to either the older 4 argument version or the newer 5 argument version
llvm-svn: 273640
show more ...
|
Revision tags: llvmorg-3.8.1, llvmorg-3.8.1-rc1, llvmorg-3.8.0, llvmorg-3.8.0-rc3, llvmorg-3.8.0-rc2 |
|
#
f9d6d204 |
| 25-Jan-2016 |
Zachary Turner <zturner@google.com> |
Fix swig typemap for SBEvent.
This needs to be able to handle bytes, strings, and bytearray objects. In Python 2 this was easy because bytes and strings are the same thing, but in Python 3 the 2 cas
Fix swig typemap for SBEvent.
This needs to be able to handle bytes, strings, and bytearray objects. In Python 2 this was easy because bytes and strings are the same thing, but in Python 3 the 2 cases need to be handled separately. So as not to mix raw Python C API code with PythonDataObjects code, I've also introduced a PythonByteArray class to PythonDataObjects to make the paradigm used here consistent.
llvm-svn: 258741
show more ...
|
Revision tags: llvmorg-3.8.0-rc1 |
|
#
744959b9 |
| 13-Jan-2016 |
Enrico Granata <egranata@apple.com> |
Fix an issue where scripted commands would not actually print any of their output if an immediate output file was set in the result object via a Python file object
Fixes rdar://24130303
llvm-svn: 2
Fix an issue where scripted commands would not actually print any of their output if an immediate output file was set in the result object via a Python file object
Fixes rdar://24130303
llvm-svn: 257644
show more ...
|
#
00cdc77a |
| 11-Jan-2016 |
Zachary Turner <zturner@google.com> |
Don't define Bytes and String to be the same number on Py2.
This is causing issues with case labels having the same value.
llvm-svn: 257409
|
#
5a72c02b |
| 11-Jan-2016 |
Zachary Turner <zturner@google.com> |
Introduce a PythonBytes class into PythonDataObjects.
This class behaves the same as PythonString on Python2, but differently on Python3. Unittests are added as well.
llvm-svn: 257397
|
Revision tags: llvmorg-3.7.1, llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1 |
|
#
2419f1d5 |
| 13-Nov-2015 |
Zachary Turner <zturner@google.com> |
Modernize FormatBacktrace() and make portable for Python 3.
llvm-svn: 253085
|
#
a281b42b |
| 13-Nov-2015 |
Zachary Turner <zturner@google.com> |
Make PythonDataObjects.h work when LLDB_DISABLE_PYTHON=1
llvm-svn: 253054
|
#
02bf92d2 |
| 12-Nov-2015 |
Zachary Turner <zturner@google.com> |
Fix non-Windows build after r252906.
llvm-svn: 252909
|
#
b58fb2f4 |
| 12-Nov-2015 |
Zachary Turner <zturner@google.com> |
Begin converting uses of PyCallable to PythonCallable.
PyCallable is a class that exists solely within the swig wrapper code. PythonCallable is a more generic implementation of the same idea that c
Begin converting uses of PyCallable to PythonCallable.
PyCallable is a class that exists solely within the swig wrapper code. PythonCallable is a more generic implementation of the same idea that can be used by any Python-related interop code, and lives in PythonDataObjects.h
The CL is mostly mechanical, and it doesn't cover every possible user of PyCallable, because I want to minimize the impact of this change (as well as making it easier to figure out what went wrong in case this causes a failure). I plan to finish up the rest of the changes in a subsequent patch, culminating in the removal of PyCallable entirely.
llvm-svn: 252906
show more ...
|
#
a1405147 |
| 11-Nov-2015 |
Zachary Turner <zturner@google.com> |
Create `PythonTuple` and `PythonCallable` wrapper classes.
This adds PythonTuple and PythonCallable classes to PythonDataObjects. Additionally, unit tests are provided that exercise this functionali
Create `PythonTuple` and `PythonCallable` wrapper classes.
This adds PythonTuple and PythonCallable classes to PythonDataObjects. Additionally, unit tests are provided that exercise this functionality, including invoking manipulating and checking for validity of tuples, and invoking and checking for validity of callables using a variety of different syntaxes.
The goal here is to eventually replace the code in python-wrapper.swig that directly uses the Python C API to deal with callables and name resolution with this code that can be more easily tested and debugged.
llvm-svn: 252787
show more ...
|
#
7841efbb |
| 11-Nov-2015 |
Zachary Turner <zturner@google.com> |
Add a `PythonModule` class, and a root-level method for resolving names.
llvm-svn: 252765
|
#
edb35d95 |
| 24-Oct-2015 |
Eugene Zelenko <eugene.zelenko@gmail.com> |
Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes.
llvm-svn: 251167
|
#
32064024 |
| 20-Oct-2015 |
Zachary Turner <zturner@google.com> |
Fix potential file i/o problem with python handles.
llvm-svn: 250838
|
#
7d6d218e |
| 16-Oct-2015 |
Zachary Turner <zturner@google.com> |
Convert SWIG typemap string operations to PythonObjects.
llvm-svn: 250530
|