Author: enrico Date: Wed Nov 18 20:50:27 2015 New Revision: 253537 URL: http://llvm.org/viewvc/llvm-project?rev=253537&view=rev Log: Pass the ExecutionContext as well, since it is actually useful
Modified: lldb/trunk/include/lldb/Target/Language.h lldb/trunk/source/Core/FormatEntity.cpp lldb/trunk/source/Target/Language.cpp Modified: lldb/trunk/include/lldb/Target/Language.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Language.h?rev=253537&r1=253536&r2=253537&view=diff ============================================================================== --- lldb/trunk/include/lldb/Target/Language.h (original) +++ lldb/trunk/include/lldb/Target/Language.h Wed Nov 18 20:50:27 2015 @@ -142,6 +142,7 @@ public: virtual bool GetFunctionDisplayName (const SymbolContext *sc, + const ExecutionContext *exe_ctx, FunctionNameRepresentation representation, Stream& s); Modified: lldb/trunk/source/Core/FormatEntity.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/FormatEntity.cpp?rev=253537&r1=253536&r2=253537&view=diff ============================================================================== --- lldb/trunk/source/Core/FormatEntity.cpp (original) +++ lldb/trunk/source/Core/FormatEntity.cpp Wed Nov 18 20:50:27 2015 @@ -1663,6 +1663,7 @@ FormatEntity::Format (const Entry &entry if (language_plugin) { language_plugin_handled = language_plugin->GetFunctionDisplayName(sc, + exe_ctx, Language::FunctionNameRepresentation::eName, ss); } @@ -1713,6 +1714,7 @@ FormatEntity::Format (const Entry &entry if (language_plugin) { language_plugin_handled = language_plugin->GetFunctionDisplayName(sc, + exe_ctx, Language::FunctionNameRepresentation::eNameWithNoArgs, ss); } @@ -1749,6 +1751,7 @@ FormatEntity::Format (const Entry &entry if (language_plugin) { language_plugin_handled = language_plugin->GetFunctionDisplayName(sc, + exe_ctx, Language::FunctionNameRepresentation::eNameWithArgs, ss); } Modified: lldb/trunk/source/Target/Language.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Language.cpp?rev=253537&r1=253536&r2=253537&view=diff ============================================================================== --- lldb/trunk/source/Target/Language.cpp (original) +++ lldb/trunk/source/Target/Language.cpp Wed Nov 18 20:50:27 2015 @@ -372,6 +372,7 @@ Language::IsUninitializedReference (Valu bool Language::GetFunctionDisplayName (const SymbolContext *sc, + const ExecutionContext *exe_ctx, FunctionNameRepresentation representation, Stream& s) { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits