[all-commits] [llvm/llvm-project] 41f3e6: [lldb/Plugins] Fix build failure with GCC in Scrip...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Sat Nov 19 13:25:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41f3e6b74df173198c67f46f223b9815334d42a2
      https://github.com/llvm/llvm-project/commit/41f3e6b74df173198c67f46f223b9815334d42a2
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h

  Log Message:
  -----------
  [lldb/Plugins] Fix build failure with GCC in ScriptedPythonInterface::Dispatch

This patch should fix the build failures following 7e01924 when building
with GCC. These failures were mostly caused by GCC's poor support of C++
templates (namely, partial template specialization).

To work around that problem, this patch makes use of overloading and get
rid of the templated structs and specialized structs.

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>




More information about the All-commits mailing list