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.
On Fri, Sep 9, 2016 at 12:37 PM René J.V. Bertin via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Hi, > > 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. > It aborted at 93% because it tried to include a headerfile from the llvm > source: > > {{{ > 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: > /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: > '../lib/Support/regex_impl.h' file not found > #include "../lib/Support/regex_impl.h" > ^ > 1 error generated. > }}} > > 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. > > R. > _______________________________________________ > lldb-dev mailing list > lldb-dev@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev >
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev