r360907 - ftime-trace as a CoreOption
Alexandre Ganea via cfe-commits
cfe-commits at lists.llvm.org
Thu May 16 08:14:01 PDT 2019
Author: aganea
Date: Thu May 16 08:14:01 2019
New Revision: 360907
URL: http://llvm.org/viewvc/llvm-project?rev=360907&view=rev
Log:
ftime-trace as a CoreOption
Differential Revision: https://reviews.llvm.org/D61945
Modified:
cfe/trunk/include/clang/Driver/Options.td
cfe/trunk/test/Driver/cl-options.c
Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=360907&r1=360906&r2=360907&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Thu May 16 08:14:01 2019
@@ -1747,7 +1747,7 @@ def Wframe_larger_than_EQ : Joined<["-"]
def : Flag<["-"], "fterminated-vtables">, Alias<fapple_kext>;
def fthreadsafe_statics : Flag<["-"], "fthreadsafe-statics">, Group<f_Group>;
def ftime_report : Flag<["-"], "ftime-report">, Group<f_Group>, Flags<[CC1Option]>;
-def ftime_trace : Flag<["-"], "ftime-trace">, Group<f_Group>, Flags<[CC1Option]>;
+def ftime_trace : Flag<["-"], "ftime-trace">, Group<f_Group>, Flags<[CC1Option, CoreOption]>;
def ftlsmodel_EQ : Joined<["-"], "ftls-model=">, Group<f_Group>, Flags<[CC1Option]>;
def ftrapv : Flag<["-"], "ftrapv">, Group<f_Group>, Flags<[CC1Option]>,
HelpText<"Trap on integer overflow">;
Modified: cfe/trunk/test/Driver/cl-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-options.c?rev=360907&r1=360906&r2=360907&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-options.c (original)
+++ cfe/trunk/test/Driver/cl-options.c Thu May 16 08:14:01 2019
@@ -638,6 +638,7 @@
// RUN: -fno-profile-instr-use \
// RUN: -fcs-profile-generate \
// RUN: -fcs-profile-generate=dir \
+// RUN: -ftime-trace \
// RUN: --version \
// RUN: -Werror /Zs -- %s 2>&1
More information about the cfe-commits
mailing list