Update run-make PGO test to new commandline syntax.
This commit is contained in:
parent
a7cef0bf08
commit
553ec5d3eb
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
all:
|
||||
ifeq ($(PROFILER_SUPPORT),1)
|
||||
$(RUSTC) -O -Ccodegen-units=1 -Z pgo-gen="$(TMPDIR)/test.profraw" --emit=llvm-ir test.rs
|
||||
$(RUSTC) -O -Ccodegen-units=1 -Z pgo-gen="$(TMPDIR)" --emit=llvm-ir test.rs
|
||||
# We expect symbols starting with "__llvm_profile_".
|
||||
$(CGREP) "__llvm_profile_" < $(TMPDIR)/test.ll
|
||||
# We do NOT expect the "__imp_" version of these symbols.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue