Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ELF] --reproduce should include lto sample profile
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D84569
- Loading branch information
1 parent
0c64233
commit bd4757c
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# REQUIRES: x86 | ||
|
||
# RUN: rm -rf %t.dir | ||
# RUN: mkdir -p %t.dir/build1 | ||
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.dir/build1/foo.o | ||
# RUN: echo > %t.dir/build1/empty_profile.txt | ||
# RUN: cd %t.dir | ||
# RUN: ld.lld build1/foo.o -o /dev/null --reproduce repro1.tar --lto-sample-profile=%t.dir/build1/empty_profile.txt | ||
# RUN: tar tvf repro1.tar | FileCheck %s | ||
# CHECK: repro1/{{.*}}/empty_profile.txt |