]> granicus.if.org Git - clang/commit
[c-index-test] Use correct executable path to discover resource directory.
authorVolodymyr Sapsai <vsapsai@apple.com>
Thu, 2 Aug 2018 17:29:53 +0000 (17:29 +0000)
committerVolodymyr Sapsai <vsapsai@apple.com>
Thu, 2 Aug 2018 17:29:53 +0000 (17:29 +0000)
commitdb084703129164e127aa93a5a55f81a2d8e1d4da
tree516b37a56ea456cf2dd897e43920dc4647724dac
parent1d631d4f581fed4de1f707bd8e3a17d3fbd0fb4b
[c-index-test] Use correct executable path to discover resource directory.

Driver builds resource directory path based on provided executable path.
Instead of string "clang" use actual executable path.

rdar://problem/42699514

Reviewers: nathawes, akyrtzi, bob.wilson

Reviewed By: akyrtzi

Subscribers: dexonsmith, cfe-commits

Differential Revision: https://reviews.llvm.org/D50160

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338741 91177308-0d34-0410-b5e6-96231b3b80d8
tools/c-index-test/core_main.cpp