aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Driver/Tools.cpp2
-rw-r--r--test/Driver/crash-cleanup.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index 9faac7174a..6a85fc00b3 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -225,13 +225,11 @@ void Clang::AddPreprocessingOptions(Compilation &C,
DepFile = Output.getFilename();
} else if (Arg *MF = Args.getLastArg(options::OPT_MF)) {
DepFile = MF->getValue(Args);
- C.addResultFile(DepFile);
} else if (A->getOption().matches(options::OPT_M) ||
A->getOption().matches(options::OPT_MM)) {
DepFile = "-";
} else {
DepFile = darwin::CC1::getDependencyFileName(Args, Inputs);
- C.addResultFile(DepFile);
}
CmdArgs.push_back("-dependency-file");
CmdArgs.push_back(DepFile);
diff --git a/test/Driver/crash-cleanup.c b/test/Driver/crash-cleanup.c
index 218fcc64c7..b994bd85a3 100644
--- a/test/Driver/crash-cleanup.c
+++ b/test/Driver/crash-cleanup.c
@@ -4,6 +4,6 @@
// REQUIRES: shell
// REQUIRES: crash-recovery
-// XFAIL: darwin
+// XFAIL: *
#pragma clang __debug crash