[PATCH] D84569: [ELF] --reproduce should include lto sample profile
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 24 17:32:38 PDT 2020
MaskRay added inline comments.
================
Comment at: lld/test/ELF/reproduce.s:8
# RUN: cd %t.dir
-# RUN: ld.lld --hash-style=gnu build1/foo.o -o bar -shared --as-needed --reproduce repro1.tar
+# RUN: ld.lld --hash-style=gnu build1/foo.o -o bar -shared --as-needed --reproduce repro1.tar --lto-sample-profile=%t.dir/build1/empty_profile.txt
# RUN: tar xOf repro1.tar repro1/%:t.dir/build1/foo.o > build1-foo.o
----------------
Add the test to reproduce-lto.s
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84569/new/
https://reviews.llvm.org/D84569
More information about the llvm-commits
mailing list