lldb-addversion-suffix-to-llvm-server-exec
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 9 Aug 2018 08:06:11 +0000 (09:06 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Thu, 9 Aug 2018 08:06:11 +0000 (09:06 +0100)
commit9d1ac4a6a36da87180c06360728ad88d3faf9658
tree2c31a7c52fd3eb1e7c41a60ed1d3a2a1ff97e2ae
parent67e37818b64f15a2a07bee1942be528b8978010c
lldb-addversion-suffix-to-llvm-server-exec

lldb-server exec users always /usr/bin/lldb-server. Server is required
for any debugging with lldb which makes it unusable unless default version
package has been installed. Small changes to code and debian/rules allows
a workaround for lldb-server start up.

To use this one needs to add cmake defination during configure. eg
-DDEBIAN_VERSION_SUFFIX=-$(LLVM_VERSION)

Better implementation would be to use /usr/share/llvm-$(VERSION)/bin but
that change seems to require a big change to the path handling code
which could then break something else.

This probably should have upstream bug but I couldn't find any existing report.

Gbp-Pq: Name lldb-addversion-suffix-to-llvm-server-exec.patch
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp