aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-10-18 15:43:08 -0700
committerArthur Eubanks <aeubanks@google.com>2021-10-18 16:48:10 -0700
commit15fefcb9eb3a2b9080b44e3784608597666000ec (patch)
treecad7c1f7e561acb50eefd82ed5f1c69a21242659 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
parentcb5a10199b32b5e1104ed36a490be73fa3bdf5ca (diff)
downloadllvm-15fefcb9eb3a2b9080b44e3784608597666000ec.zip
llvm-15fefcb9eb3a2b9080b44e3784608597666000ec.tar.gz
llvm-15fefcb9eb3a2b9080b44e3784608597666000ec.tar.bz2
[opt] Directly translate -O# to -passes='default<O#>'
Right now when we see -O# we add the corresponding 'default<O#>' into the list of passes to run when translating legacy -pass-name. This has the side effect of not using the default AA pipeline. Instead, treat -O# as -passes='default<O#>', but don't allow any other -passes or -pass-name. I think we can keep `opt -O#` as shorthand for `opt -passes='default<O#>` but disallow anything more than just -O#. Tests need to be updated to not use `opt -O# -pass-name`. Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D112036
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions