lldb-addversion-suffix-to-llvm-server-exec
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 17 Mar 2018 06:51:19 +0000 (06:51 +0000)
committerPeter Micahel Green <plugwash@raspbian.org>
Sat, 17 Mar 2018 06:51:19 +0000 (06:51 +0000)
commit0db72b5ec25aa2c406e091943c67be11afc6efec
tree86f63b89a561a42e3cccaba0e89cb3f0c9909fe3
parent3c7b1212c2b2db9b7e576a96d59025f089531ddc
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