aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/rust.ts
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2023-12-03 16:33:42 +0000
committerGitHub <noreply@github.com>2023-12-03 11:33:42 -0500
commitc3e1b04c310729d713a8fa7d4a40c1bcd752b384 (patch)
tree4b408daefe05fb52e03d1417e4e82a6be585693c /lib/compilers/rust.ts
parentc02f94233ed46c42600bec411262cba15c8e5b6f (diff)
downloadcompiler-explorer-gh-9794.tar.gz
compiler-explorer-gh-9794.zip
Rename opt pipeline without LLVM prefix (#5828)gh-9794
This prepares for future work that will reuse the opt pipeline view outside of the LLVM ecosystem by renaming related components to remove the LLVM prefix. The pass dumper keep its LLVM prefix, as it is assumed this part is likely to be customised for each compiler ecosystem. The historical component name has been preserved in the component list as an alias to keep old links working.
Diffstat (limited to 'lib/compilers/rust.ts')
-rw-r--r--lib/compilers/rust.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/compilers/rust.ts b/lib/compilers/rust.ts
index 98683f6d9..e57a86840 100644
--- a/lib/compilers/rust.ts
+++ b/lib/compilers/rust.ts
@@ -49,7 +49,7 @@ export class RustCompiler extends BaseCompiler {
super(info, env);
this.compiler.supportsIntel = true;
this.compiler.supportsIrView = true;
- this.compiler.supportsLLVMOptPipelineView = true;
+ this.compiler.supportsOptPipelineView = true;
this.compiler.supportsRustMirView = true;
const isNightly = this.isNightly();
@@ -60,9 +60,9 @@ export class RustCompiler extends BaseCompiler {
this.compiler.irArg = ['--emit', 'llvm-ir'];
this.compiler.minIrArgs = ['--emit=llvm-ir'];
- this.compiler.llvmOptArg = ['-C', 'llvm-args=-print-after-all -print-before-all'];
- this.compiler.llvmOptModuleScopeArg = ['-C', 'llvm-args=-print-module-scope'];
- this.compiler.llvmOptNoDiscardValueNamesArg = isNightly ? ['-Z', 'fewer-names=no'] : [];
+ this.compiler.optPipelineArg = ['-C', 'llvm-args=-print-after-all -print-before-all'];
+ this.compiler.optPipelineModuleScopeArg = ['-C', 'llvm-args=-print-module-scope'];
+ this.compiler.optPipelineNoDiscardValueNamesArg = isNightly ? ['-Z', 'fewer-names=no'] : [];
this.linker = this.compilerProps<string>('linker');
}