diff options
| author | Alexander Potapenko <glider@google.com> | 2014-06-10 14:22:00 +0000 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2014-06-10 14:22:00 +0000 |
| commit | df6257dc9335bb3bd8638588546d1c039af25190 (patch) | |
| tree | bf2f6c7f9374d297c3800ebdf7cf00ec6002b5f8 /lib/CodeGen/CGExpr.cpp | |
| parent | 3724cafa4b4455f77eece0bd7589dc21ac7d52a3 (diff) | |
| download | clang-df6257dc9335bb3bd8638588546d1c039af25190.tar.gz clang-df6257dc9335bb3bd8638588546d1c039af25190.tar.bz2 clang-df6257dc9335bb3bd8638588546d1c039af25190.tar.xz | |
Add detection of OS X relocatable SDK to compiler-rt as a lit.util function
Clang's lit cfg already detects the currently selected SDK via
"xcrun --show-sdk-path". The same thing should be done for compiler-rt tests,
to make them work on recent OS X versions. Instead of duplicating the detection
code, this patch extracts the detection function into a lit.util method.
Patch by Kuba Brecka (kuba.brecka@gmail.com),
reviewed at http://reviews.llvm.org/D4072
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
