<div dir="ltr">I am glad to see freebsd is making progress on this front. If you need any help with understanding how lldb-server works, feel free to shoot me a question.<div><br></div><div>pl</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 December 2016 at 23:00, Dmitry Mikulin <span dir="ltr"><<a href="mailto:dmitrym@juniper.net" target="_blank">dmitrym@juniper.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Thanks for the suggestions.
<div>I’m working on native support for FreeBSD lldb-server, and wanted to have an option to build it both ways until it’s stable enough to replace current implementation. I’ll have it in a separate directory.</div><div><div class="h5">
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite">
<div>On Dec 1, 2016, at 2:55 AM, Pavel Labath <<a href="mailto:labath@google.com" target="_blank">labath@google.com</a>> wrote:</div>
<br class="m_-2957138853939261505Apple-interchange-newline">
<div>
<div dir="ltr">The way we have done this with Linux native register contexts was to notionally leave the files in the build, but completely #ifdef out their contents (see NativeRegisterConextLinux_arm.<wbr>cpp).
<div>It's not very nice, but I think it's better than having six subfolders, each with a single cpp file. If you'll need to group more than one file this way, then maybe a subfolder would make more sense though.</div>
<div><br>
</div>
<div>pl</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 1 December 2016 at 00:30, Zachary Turner via lldb-dev
<span dir="ltr"><<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Unfortunately you will need to separate them at the directory levels.</div>
<div class="m_-2957138853939261505HOEnZb">
<div class="m_-2957138853939261505h5"><br>
<div class="gmail_quote">
<div dir="ltr">On Wed, Nov 30, 2016 at 4:29 PM Dmitry Mikulin via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
I’m trying to conditionally add source files to the lldb build based on a cmake configure time variable. I get the following type of errors for all sources not included in the build:<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
CMake Error at cmake/modules/LLVMProcessSourc<wbr>es.cmake:83 (message):<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
Found unknown source file<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
/homes/dmitrym/buildspace/llvm<wbr>-tot/llvm/tools/lldb/source/<wbr>Plugins/Process/FreeBSD/<wbr>FreeBSDThread.cpp<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
Please update<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
/homes/dmitrym/buildspace/llvm<wbr>-tot/llvm/tools/lldb/source/<wbr>Plugins/Process/FreeBSD/<wbr>CMakeLists.txt<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
Is there a way to work around/fix it or do I need to separate the files at the directory level?<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
Thanks.<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
Dmitry.<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
______________________________<wbr>_________________<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
lldb-dev mailing list<br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
<a href="mailto:lldb-dev@lists.llvm.org" class="m_-2957138853939261505m_5471620034683590982gmail_msg" target="_blank">lldb-dev@lists.llvm.org</a><br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" class="m_-2957138853939261505m_5471620034683590982gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/lldb-dev</a><br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
</blockquote>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/lldb-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div></div></div>
</blockquote></div><br></div>