[lld] [LLD] [MinGW] Implement the -lto-sample-profile option (PR #85841)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 20 02:07:33 PDT 2024
================
@@ -422,6 +422,9 @@ LTO_EMIT_ASM: -lldemit:asm
RUN: ld.lld -### foo.o -m i386pe -plugin-opt=emit-llvm 2>&1 | FileCheck -check-prefix=LTO_EMIT_LLVM %s
LTO_EMIT_LLVM: -lldemit:llvm
+RUN: ld.lld -### foo.o -m i386pep --lto-sample-profile=foo 2>&1 | FileCheck -check-prefix=LTO_SAMPLE_PROFILE %s
+LTO_SAMPLE_PROFILE:-lto-sample-profile:foo
----------------
mstorsjo wrote:
Nitpick: The existing cases have a space after the `:`
https://github.com/llvm/llvm-project/pull/85841
More information about the llvm-commits
mailing list