MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / constructor

Method constructor

lib/compilers/swift.ts:37–47  ·  view source on GitHub ↗
(info: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

35 }
36
37 constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) {
38 super(info, env);
39 this.compiler.supportsIrView = true;
40 this.compiler.irArg = ['-emit-ir'];
41 this.compiler.minIrArgs = ['-emit-ir'];
42 this.compiler.optPipeline = {
43 arg: ['-Xllvm', '-print-after-all', '-Xllvm', '-print-before-all'],
44 moduleScopeArg: ['-Xllvm', '-print-module-scope'],
45 noDiscardValueNamesArg: [],
46 };
47 }
48
49 override getSharedLibraryPathsAsArguments() {
50 return [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected