<div dir="ltr">Yes, this is a bug in LLDB.  You're welcome to try to fix it by changing it to include "llvm/Support/Regex.h" instead of this private header.  Not sure if you will run into any issues, but in theory I see no reason why it shouldn't work.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 9, 2016 at 12:37 PM René J.V. Bertin via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">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="gmail_msg">
<br class="gmail_msg">
I wanted to see how far I could get with a standalone build, so I copied the missing CheckAtomic.cmake file into the installed cmake/llvm directory, and tried to build lldb.<br class="gmail_msg">
It aborted at 93% because it tried to include a headerfile from the llvm source:<br class="gmail_msg">
<br class="gmail_msg">
{{{<br class="gmail_msg">
In file included from /opt/local/var/macports/build/_opt_local_site-ports_lang_llvm-3.9/lldb-3.9/work/llvm-3.9.0.src/tools/lldb/tools/lldb-mi/MICmdCmdData.cpp:45:<br class="gmail_msg">
/opt/local/var/macports/build/_opt_local_site-ports_lang_llvm-3.9/lldb-3.9/work/llvm-3.9.0.src/tools/lldb/tools/lldb-mi/MIUtilParse.h:13:10: fatal error:<br class="gmail_msg">
      '../lib/Support/regex_impl.h' file not found<br class="gmail_msg">
#include "../lib/Support/regex_impl.h"<br class="gmail_msg">
         ^<br class="gmail_msg">
1 error generated.<br class="gmail_msg">
}}}<br class="gmail_msg">
<br class="gmail_msg">
To be honest, I'm not sure how this could have worked with my approach of calling make in build/tools/lldb, but that looks like a clear bug if standalone builds are to be possible.<br class="gmail_msg">
<br class="gmail_msg">
R.<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
lldb-dev mailing list<br class="gmail_msg">
<a href="mailto:lldb-dev@lists.llvm.org" class="gmail_msg" target="_blank">lldb-dev@lists.llvm.org</a><br class="gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br class="gmail_msg">
</blockquote></div>