diff options
| author | bors <bors@rust-lang.org> | 2023-07-21 05:36:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-21 05:36:01 +0000 |
| commit | 78f97c9b25863a80dc73818d3d542c86d69b7a40 (patch) | |
| tree | ed4a088fdd7fd8bd703cd48de2378de9dfeade52 /compiler/rustc_codegen_gcc | |
| parent | 1a44b45987a56dc1bbb4fc8327aa46efa58d5eaa (diff) | |
| parent | 8c6ef1d2bc7c4bce0427c728443589877bd329e6 (diff) | |
| download | rust-78f97c9b25863a80dc73818d3d542c86d69b7a40.tar.gz rust-78f97c9b25863a80dc73818d3d542c86d69b7a40.zip | |
Auto merge of #113911 - matthiaskrgr:rollup-wk6cr7v, r=matthiaskrgr
Rollup of 5 pull requests
Successful merges:
- #113380 (style-guide: clean up "must"/"should"/"may")
- #113723 (Resurrect: rustc_llvm: Add a -Z `print-codegen-stats` option to expose LLVM statistics.)
- #113780 (Support `--print KIND=PATH` command line syntax)
- #113810 (Make {Rc,Arc}::allocator associated functions)
- #113907 (Minor improvements to Windows TLS dtors)
Failed merges:
- #113392 (style-guide: Some cleanups from the fmt-rfcs repo history)
r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs index 2a6b642782d..04ac0254a81 100644 --- a/compiler/rustc_codegen_gcc/src/lib.rs +++ b/compiler/rustc_codegen_gcc/src/lib.rs @@ -239,6 +239,10 @@ impl WriteBackendMethods for GccCodegenBackend { unimplemented!(); } + fn print_statistics(&self) { + unimplemented!() + } + unsafe fn optimize(_cgcx: &CodegenContext<Self>, _diag_handler: &Handler, module: &ModuleCodegen<Self::Module>, config: &ModuleConfig) -> Result<(), FatalError> { module.module_llvm.context.set_optimization_level(to_gcc_opt_level(config.opt_level)); Ok(()) |
