[lld] [lld][ELF] Add `-plugin-opt=time-trace=` as an alias of `--time-trace=` (PR #106803)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 1 17:38:35 PDT 2024


================
@@ -0,0 +1,21 @@
+; REQUIRES: x86
+; RUN: llvm-as %s -o %t.o
+; Print to a specific file
+; RUN: ld.lld -m elf_x86_64 -shared %t.o -o %t.so --plugin-opt=time-trace=%t.trace.json
+; RUN: FileCheck --input-file=%t.trace.json %s
+; Print to stdout
----------------
mshockwave wrote:

Fixed.

https://github.com/llvm/llvm-project/pull/106803


More information about the llvm-commits mailing list