[lldb/qemu] Set qemu's "ld prefix" based on the platform sysroot
authorPavel Labath <pavel@labath.sk>
Mon, 3 Jan 2022 13:48:13 +0000 (14:48 +0100)
committerPavel Labath <pavel@labath.sk>
Mon, 3 Jan 2022 13:48:13 +0000 (14:48 +0100)
commit862fffd8231c8c44a8ea8071041eac8919aed346
treed1bc0e8a0ddc7c4b9bf3238bbdce9474dab586ca
parentca271f4ef5a2a4bf115ac11ada70bbd7c737d77d
[lldb/qemu] Set qemu's "ld prefix" based on the platform sysroot

Both serve the same purpose (finding shared libraries) and allow one to
launch a dynamically linked executable by just specifying the platform
sysroot.
lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.cpp
lldb/test/API/qemu/TestQemuLaunch.py