[PATCH] D46403: [CFI] Force LLVM to die if the implicit blacklist files cannot be found.
Peter Collingbourne via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 7 13:27:46 PDT 2018
pcc added inline comments.
================
Comment at: test/Frontend/dependency-gen.c:24
// RUN: echo "fun:foo" > %t.blacklist
-// RUN: %clang -MD -MF - %s -fsyntax-only -fsanitize=cfi-vcall -flto -fvisibility=hidden -fsanitize-blacklist=%t.blacklist -I ./ | FileCheck -check-prefix=CHECK-SEVEN %s
+// RUN: %clang -MD -MF - %s -fsyntax-only -resource-dir=%S/Inputs/resource_dir_with_cfi_blacklist -fsanitize=cfi-vcall -flto -fvisibility=hidden -fsanitize-blacklist=%t.blacklist -I ./ | FileCheck -check-prefix=CHECK-SEVEN %s
// CHECK-SEVEN: .blacklist
----------------
Shouldn't this be `%S/../Driver/Inputs/resource_dir_with_cfi_blacklist`?
https://reviews.llvm.org/D46403
More information about the cfe-commits
mailing list