diff options
author | Mingming Liu <mingmingl@google.com> | 2023-10-26 14:48:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 14:48:36 -0700 |
commit | a1e9777b760fbd4428073fd7b0fc8bea15bd2183 (patch) | |
tree | 77606990bc99eb0d38bbd866cdbbea69b3e0812d /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | c2a1249a8257ed033a98e32e425539c6da6700ec (diff) | |
download | llvm-a1e9777b760fbd4428073fd7b0fc8bea15bd2183.zip llvm-a1e9777b760fbd4428073fd7b0fc8bea15bd2183.tar.gz llvm-a1e9777b760fbd4428073fd7b0fc8bea15bd2183.tar.bz2 |
[NFC] In InstrProf, generalize helper functions to take 'GlobalObject'. They currently take 'Functions' as function parameters or have 'Func' in the name. (#70287)
- For instance, `collectPGOFuncNameStrings` is reused a lot in https://github.com/llvm/llvm-project/pull/66825 to get the compressed vtable names; and in some added callsites it's just confusing to see 'func' since context clearly shows it's not. This function currently just takes a list of strings as input so name it to `collectGlobalObjectNameStrings`
- Do the rename in a standalone patch since the method is used in non-llvm codebase. It's easier to rollback this NFC in case rename in that codebase takes longer.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions