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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 18:42:09 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
----------------
MaskRay wrote:

If the comment is to be kept, `;; `

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


More information about the llvm-commits mailing list