Author: Joseph Huber Date: 2022-07-13T15:38:39-04:00 New Revision: 96f16a6867f78e42e67807cbd357546a95b2a9b6
URL: https://github.com/llvm/llvm-project/commit/96f16a6867f78e42e67807cbd357546a95b2a9b6 DIFF: https://github.com/llvm/llvm-project/commit/96f16a6867f78e42e67807cbd357546a95b2a9b6.diff LOG: [LinkerWrapper] Add support for timescope tracing Added: Modified: clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td Removed: ################################################################################ diff --git a/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td b/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td index 4449ac897bc91..f197082a9afa6 100644 --- a/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td +++ b/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td @@ -52,6 +52,10 @@ def print_wrapped_module : Flag<["--"], "print-wrapped-module">, def save_temps : Flag<["--"], "save-temps">, Flags<[WrapperOnlyOption]>, HelpText<"Save intermediate results">; +def wrapper_time_trace_eq : Joined<["--"], "wrapper-time-trace=">, + Flags<[WrapperOnlyOption]>, MetaVarName<"<file>">, + HelpText<"Enable time-trace and write the output to <file>">; + // Flags passed to the device linker. def arch_EQ : Joined<["--"], "arch=">, Flags<[DeviceOnlyOption, HelpHidden]>, MetaVarName<"<arch>">, _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits