<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I have a slightly unrelated question: is there an easy way to cross-build, say, an ARM lldb, and run native tests on an ARM board same as what check-lldb does? The lldb test page only talks about running remote tests. No info on cross testing.
<div class=""><br class="">
</div>
<div class="">Thanks!<br class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Dec 2, 2016, at 2:29 AM, Pavel Labath <<a href="mailto:labath@google.com" class="">labath@google.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">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 class=""><br class="">
</div>
<div class="">pl</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 1 December 2016 at 23:00, Dmitry Mikulin <span dir="ltr" class="">
<<a href="mailto:dmitrym@juniper.net" target="_blank" class="">dmitrym@juniper.net</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Thanks for the suggestions.
<div class="">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 class="">
<div class="h5">
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Dec 1, 2016, at 2:55 AM, Pavel Labath <<a href="mailto:labath@google.com" target="_blank" class="">labath@google.com</a>> wrote:</div>
<br class="m_-2957138853939261505Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">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 class="">cpp).
<div class="">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 class=""><br class="">
</div>
<div class="">pl</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 1 December 2016 at 00:30, Zachary Turner via lldb-dev
<span dir="ltr" class=""><<a href="mailto:lldb-dev@lists.llvm.org" target="_blank" class="">lldb-dev@lists.llvm.org</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">Unfortunately you will need to separate them at the directory levels.</div>
<div class="m_-2957138853939261505HOEnZb">
<div class="m_-2957138853939261505h5"><br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Wed, Nov 30, 2016 at 4:29 PM Dmitry Mikulin via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" target="_blank" class="">lldb-dev@lists.llvm.org</a>> wrote:<br class="">
</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 class="">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 class="">-tot/llvm/tools/lldb/source/<wbr class="">Plugins/Process/FreeBSD/<wbr class="">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 class="">-tot/llvm/tools/lldb/source/<wbr class="">Plugins/Process/FreeBSD/<wbr class="">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 class="">_________________<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 class="">mailman/listinfo/lldb-dev</a><br class="m_-2957138853939261505m_5471620034683590982gmail_msg">
</blockquote>
</div>
</div>
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
lldb-dev mailing list<br class="">
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank" class="">lldb-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/<wbr class="">mailman/listinfo/lldb-dev</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>