diff options
author | Stella Laurenzo <stellaraccident@gmail.com> | 2020-09-18 18:38:21 -0700 |
---|---|---|
committer | Stella Laurenzo <stellaraccident@gmail.com> | 2020-09-23 07:57:50 -0700 |
commit | 7abb0ff7e0419a9554d77e9108cb7da670b7471c (patch) | |
tree | 404fc37e1df9dde9bfb37b48057d3d4bbfb9159c /llvm/lib/Support/UnicodeCaseFold.cpp | |
parent | bd8b50cd7f5dd5237ec9187ef2fcea3adc15b61a (diff) | |
download | llvm-7abb0ff7e0419a9554d77e9108cb7da670b7471c.zip llvm-7abb0ff7e0419a9554d77e9108cb7da670b7471c.tar.gz llvm-7abb0ff7e0419a9554d77e9108cb7da670b7471c.tar.bz2 |
Add Operation to python bindings.
* Fixes a rather egregious bug with respect to the inability to return arbitrary objects from py::init (was causing aliasing of multiple py::object -> native instance).
* Makes Modules and Operations referencable types so that they can be reliably depended on.
* Uniques python operation instances within a context. Opens the door for further accounting.
* Next I will retrofit region and block to be dependent on the operation, and I will attempt to model the API to avoid detached regions/blocks, which will simplify things a lot (in that world, only operations can be detached).
* Added quite a bit of test coverage to check for leaks and reference issues.
* Supercedes: https://reviews.llvm.org/D87213
Differential Revision: https://reviews.llvm.org/D87958
Diffstat (limited to 'llvm/lib/Support/UnicodeCaseFold.cpp')
0 files changed, 0 insertions, 0 deletions