diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2021-12-13 13:22:08 +0100 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-12-14 10:59:47 +0100 |
commit | 47eec789ed9cc7d4cb9f1eaa0cafe3e509af015c (patch) | |
tree | 09825eb585840aec8fbf3992a41d06e7e834ddc3 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 15f8f3e20aa92349b0cb559d657f7648987edb06 (diff) | |
download | llvm-47eec789ed9cc7d4cb9f1eaa0cafe3e509af015c.zip llvm-47eec789ed9cc7d4cb9f1eaa0cafe3e509af015c.tar.gz llvm-47eec789ed9cc7d4cb9f1eaa0cafe3e509af015c.tar.bz2 |
[clang][deps] Remove hard-coded resource directory from tests
Dependency scanner test for resource directory deduction doesn't account for LLVM builds with custom `CLANG_RESOURCE_DIR`.
This patch ensures we don't hardcode the default behavior into the test and take into account the actual value. This is done by running `%clang -print-resource-dir` and using that as the expected value in test assertions.
New comment also clarifies this is different from running that command as part of the dependency scan.
Reviewed By: mgorny
Differential Revision: https://reviews.llvm.org/D115628
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions