diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2021-10-08 18:48:02 +0000 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2021-10-08 20:50:45 +0200 |
commit | 88a941ba64a3824e1a6bac178034e4fce548f6cb (patch) | |
tree | b9419b2c84458d0b968d133acc66ab835a260fe8 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | |
parent | a6891d2104fc2c491885aece5c9d040926ff1ef2 (diff) | |
download | llvm-88a941ba64a3824e1a6bac178034e4fce548f6cb.zip llvm-88a941ba64a3824e1a6bac178034e4fce548f6cb.tar.gz llvm-88a941ba64a3824e1a6bac178034e4fce548f6cb.tar.bz2 |
[lldb/Plugins] Replace platform-specific macro with LLVM_PRETTY_FUNCTION (NFC)
This patch refactors Scripted Process and Scripted Thread related
classes to use LLVM_PRETTY_FUNCTION instead of the compiler macro.
Differential Revision: https://reviews.llvm.org/D111452
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h index 9b81555..da112eb 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h @@ -39,7 +39,7 @@ protected: using Locker = ScriptInterpreterPythonImpl::Locker; std::string caller_signature = - llvm::Twine(__PRETTY_FUNCTION__ + llvm::Twine(" (") + + llvm::Twine(LLVM_PRETTY_FUNCTION + llvm::Twine(" (") + llvm::Twine(method_name) + llvm::Twine(")")) .str(); if (!m_object_instance_sp) |