[PATCH] D57532: [Index] Make sure c-index-test finds libc++ on Mac

Ilya Biryukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 31 11:46:28 PST 2019


ilya-biryukov added a comment.

I'm not sure who the owners of c-index-test are, so adding people who touched the file recently or might be interested in this landing.
Suggestions for other reviewers are **very** welcome.

Still struggling to make one test pass: `Index/index-file.cu` fails with:

  .../index-file.cu:8:20: error: CHECK-HOST-NOT: excluded string found in input
  // CHECK-HOST-NOT: macro definition=__CUDA_ARCH__
                     ^
  <stdin>:3631:48: note: found here
  // CHECK: __clang_cuda_runtime_wrapper.h:77:9: macro definition=__CUDA_ARCH__ Extent=[77:9 - 77:26]

The catch is that I see this line both after and **before** my change when I run the corresponding invocation of `c-index-test` with `--cuda-host-only` by hand.
Any ideas why this might be happening? How do I emulate the environment of `llvm-lit` completely to get a repro?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57532/new/

https://reviews.llvm.org/D57532





More information about the llvm-commits mailing list