diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2019-05-28 16:48:03 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2019-06-21 09:54:58 +0200 |
| commit | b7fe2ca5e09b8edab393073198f8f55e1a78079f (patch) | |
| tree | 82ea23a980699d42e2bb9d13b7d8c8eeaee8705e /src/test/codegen | |
| parent | 314194ef1785b130bfb85589fa44b6d53f50c565 (diff) | |
| download | rust-b7fe2ca5e09b8edab393073198f8f55e1a78079f.tar.gz rust-b7fe2ca5e09b8edab393073198f8f55e1a78079f.zip | |
Stabilize profile-guided optimization.
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/pgo-instrumentation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/pgo-instrumentation.rs b/src/test/codegen/pgo-instrumentation.rs index e9436505886..8200cf4e016 100644 --- a/src/test/codegen/pgo-instrumentation.rs +++ b/src/test/codegen/pgo-instrumentation.rs @@ -1,8 +1,8 @@ -// Test that `-Zpgo-gen` creates expected instrumentation artifacts in LLVM IR. +// Test that `-Cprofile-generate` creates expected instrumentation artifacts in LLVM IR. // Compiling with `-Cpanic=abort` because PGO+unwinding isn't supported on all platforms. // needs-profiler-support -// compile-flags: -Z pgo-gen -Ccodegen-units=1 -Cpanic=abort +// compile-flags: -Cprofile-generate -Ccodegen-units=1 -Cpanic=abort // CHECK: @__llvm_profile_raw_version = // CHECK: @__profc_{{.*}}pgo_instrumentation{{.*}}some_function{{.*}} = private global |
