diff options
author | Chris Bieneman <beanz@apple.com> | 2016-11-02 17:19:23 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-11-02 17:19:23 +0000 |
commit | 5f15a30bb1aaca8858b13d8e542a4b11caccee20 (patch) | |
tree | 12f1cb66125cff778b878e24a4a867c2b142571b /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 564612aa77ad4378788f1c9bfa0c5de4279a7178 (diff) | |
download | bcm5719-llvm-5f15a30bb1aaca8858b13d8e542a4b11caccee20.tar.gz bcm5719-llvm-5f15a30bb1aaca8858b13d8e542a4b11caccee20.zip |
Find clang resource directory via *nix-style lookup
Summary:
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).
Reviewers: zturner, labath, spyffe, tfiala
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D26170
llvm-svn: 285838
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions