[Lldb-commits] [PATCH] D26170: Find clang resource directory via *nix-style lookup

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 31 15:58:49 PDT 2016


beanz created this revision.
beanz added reviewers: zturner, labath, spyffe, tfiala.
beanz added a subscriber: lldb-commits.

This patch allows the Darwin build to fall back to to Posix-style lookups for the clang resource directory if the debugger library isn't inside a framework.

The patch also includes a bit of refactoring and cleanup around the *nix resolution of the binary and lib directories to reuse the code instead of duplicating it.

With this patch Darwin builds that don't build a framework only have 3 failing tests on my system (TestExec.py).


https://reviews.llvm.org/D26170

Files:
  include/lldb/Host/posix/HostInfoPosix.h
  source/Host/macosx/HostInfoMacOSX.mm
  source/Host/posix/HostInfoPosix.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26170.76496.patch
Type: text/x-patch
Size: 4660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161031/bf645f86/attachment.bin>


More information about the lldb-commits mailing list