[Lldb-commits] [Diffusion] rL265498: make TestRegisterVariables slightly more resilient

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 6 07:03:55 PDT 2016


tfiala added a subscriber: tfiala.
tfiala added a comment.

I think it's the -O1 that is screwing it up.  The test relies on setting
the optimization level, and then screws up the compiler's ability to find
the framework headers with more recent clangs on OS X (both in-tree built
and Xcode-delivered).  Ultimately OS X has been shifting where the
/usr/include files have been delivered for a while, and this then requires
telling clang where to find them one way or another.

Thanks for fixing.  I can dig into that more and make it cleaner, I had
some code in the Makefile.rules that normally handles that but wasn't for
some reason.  I'll have to look at what failed.  The change to the Makefile
was instigated by OS X hitting an error on build when building with the
in-tree clang.

-Todd


Users:
  tfiala (Author)

http://reviews.llvm.org/rL265498





More information about the lldb-commits mailing list