diff options
author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2023-02-06 10:55:26 +0100 |
---|---|---|
committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2023-02-06 19:21:23 +0100 |
commit | 525ed98be483188db6dc3bb69cecd0123148ceca (patch) | |
tree | 3fc0a5d41237690e72a1d137f06d8be2660a93f9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | |
parent | df947febe2eebce4a1b244947dd8a02068edb306 (diff) | |
download | llvm-525ed98be483188db6dc3bb69cecd0123148ceca.zip llvm-525ed98be483188db6dc3bb69cecd0123148ceca.tar.gz llvm-525ed98be483188db6dc3bb69cecd0123148ceca.tar.bz2 |
[Lint] Use new PM instead of legacy PM in lintFunction and lintModule
There are some helpers in the Lint analysis pass that will setup
a pass manager and then run the Lint pass on a given Function/Module.
Those have been using the LegacyPassManager, but as a small step
towards removing the deprecated legacy pass manager this patch is
changing those helpers into using the new pass manager instead.
No idea if anyone is really is using those helpers. Maybe an
alternative had been to just remove them. There is at least no unit
tests or similar that verifies that they work, so I validated this
patch by using a hacked opt binary that called those functions
before running the normal pipeline.
Differential Revision: https://reviews.llvm.org/D143388
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions