Revert "Include sanitize blacklist and other extra deps as part of scan-deps output"
This test is failing on Windows bots, revert for now (will check the right fix and retry the patch).
Summary: This reverts commit 962ca076e5
.
Reviewers: Bigcheese, jkorous, arphaman
Subscribers: dexonsmith, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69079
llvm-svn: 375079
This commit is contained in:
parent
6c393e9d74
commit
9e7e36d4c2
|
@ -36,8 +36,6 @@ public:
|
||||||
llvm::sys::path::remove_dots(CanonPath, /*remove_dot_dot=*/true);
|
llvm::sys::path::remove_dots(CanonPath, /*remove_dot_dot=*/true);
|
||||||
C.handleFileDependency(*Opts, CanonPath);
|
C.handleFileDependency(*Opts, CanonPath);
|
||||||
}
|
}
|
||||||
for (const auto& ExtraDep : Opts->ExtraDeps)
|
|
||||||
C.handleFileDependency(*Opts, ExtraDep);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"directory": "DIR",
|
|
||||||
"command": "clang -E DIR/non-header-dependency_input.cpp -fsanitize=bounds -fsanitize-blacklist=DIR/Inputs/sanitize-blacklist.txt",
|
|
||||||
"file": "DIR/non-header-dependency_input.cpp"
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1 +0,0 @@
|
||||||
fun:*
|
|
|
@ -1,14 +0,0 @@
|
||||||
// RUN: rm -rf %t.dir
|
|
||||||
// RUN: rm -rf %t.cdb
|
|
||||||
// RUN: mkdir -p %t.dir
|
|
||||||
// RUN: cp %s %t.dir/non-header-dependency_input.cpp
|
|
||||||
// RUN: mkdir %t.dir/Inputs
|
|
||||||
// RUN: cp %S/Inputs/sanitize-blacklist.txt %t.dir/Inputs/sanitize-blacklist.txt
|
|
||||||
// RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/non-header-dependency.json > %t.cdb
|
|
||||||
//
|
|
||||||
// RUN: clang-scan-deps -compilation-database %t.cdb -j 1 | FileCheck %s
|
|
||||||
|
|
||||||
#define FOO "foo"
|
|
||||||
|
|
||||||
// CHECK: Inputs{{/|\\}}sanitize-blacklist.txt
|
|
||||||
// CHECK-NEXT: non-header-dependency_input.cpp
|
|
Loading…
Reference in New Issue