How do I get LLDB to find the source code when building Tup variants?
<p>As per <a href="https://stackoverflow.com/questions/36968721/lldb-not-showing-source-code">this question</a>, I am unable to get LLDB to display the actual source code when debugging.</p>

<p>Thanks to the <a href="https://stackoverflow.com/a/36973557/926705">accepted answer</a> on that question, I have traced the problem to how Tup builds variants (e.g. debug, production etc):</p>

<ol>
<li>It works in a subdirectory per-variant</li>
<li>It <em>does not</em> copy the source into the subdirectory</li>
<li>It <em>does</em> build all outputs (<code>.o</code> files and the executable itself) in the subdirectory</li>
</ol>

<p>Because of this, LLDB can't find the original source files when debugging.</p>

<p>So my question is: how can I either coerce Tup to feed different paths in to the build process or tell LLDB what is actually going on?</p>