diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-12-05 12:44:54 -0600 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-12-11 16:43:06 -0600 |
commit | 1dfb0cd703fe1ada21681283fd75e6aba4b7f216 (patch) | |
tree | cbee4feca580ae311062f7c6d001afdf77116e5d /llvm/lib/CodeGen/StackProtector.cpp | |
parent | bbcffb08f0fdc0be8c8cba48410f9cb556ea661d (diff) | |
download | llvm-1dfb0cd703fe1ada21681283fd75e6aba4b7f216.zip llvm-1dfb0cd703fe1ada21681283fd75e6aba4b7f216.tar.gz llvm-1dfb0cd703fe1ada21681283fd75e6aba4b7f216.tar.bz2 |
[libc] Fix wrappergen_test.cpp on runtimes build
The `tools` directory depends on `llvm_gtest` which is not immediately
availible with a runtimes build. This patch builds the `llvm_gtest`
target if it isn't present. Additionally, we use the CMake binary
directory to find the tool binary, which is different when using a
runtimes build. Using the LLVM binary directory should match both build
conditions.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D139348
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions