[PATCH] D24820: Add -stats-stats option
Matthias Braun via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 23 15:59:01 PDT 2016
MatzeB added inline comments.
================
Comment at: test/Driver/save-stats.c:1
@@ +1,2 @@
+// RUN: %clang -target x86_64-apple-darwin -save-stats %s -### 2>&1 | FileCheck %s
+// RUN: %clang -target x86_64-apple-darwin -save-stats=cwd %s -### 2>&1 | FileCheck %s
----------------
bruno wrote:
> Is -save-stats == -save-stats=cwd? It doesn't seem so by looking at lib/Driver/Tools.cpp. Need test for the diag::err_drv_invalid_value as well.
Yes, that aspect is handled by the options parser, look at the changes in Options.td
Repository:
rL LLVM
https://reviews.llvm.org/D24820
More information about the cfe-commits
mailing list