lldb-addversion-suffix-to-llvm-server-exec
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 13 Oct 2017 19:20:24 +0000 (20:20 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 13 Oct 2017 19:20:24 +0000 (20:20 +0100)
commit6bd63cba147c2ce073511d4af7cdd6bc806ebf4c
tree903ef8ceacaa517b2be178a57b5fd60605483ae6
parente1c30c1b691fba798b076e57a183d890e84a0e0e
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