Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make PythonDataObjects.h work when LLDB_DISABLE_PYTHON=1 | Zachary Turner | 2015-11-13 | 1 | -0/+4 |
| | | | | llvm-svn: 253054 | ||||
* | Fix a bug in PythonExceptionState and add unittest coverage. | Zachary Turner | 2015-11-13 | 1 | -0/+3 |
| | | | | | | | I forgot to reset the restore flag when calling member function `Acquire`. The newly added unittest should cover this case. llvm-svn: 253002 | ||||
* | Introduce a `PythonExceptionState` class. | Zachary Turner | 2015-11-13 | 1 | -0/+63 |
This is a helper class which supports a number of features including exception to string formatting with backtrace handling and auto-restore of exception state upon scope exit. Additionally, unit tests are included to verify the feature set of the class. llvm-svn: 252994 |