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

Method constructor

lib/compilers/opt.ts:36–43  ·  view source on GitHub ↗
(info: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

34 }
35
36 constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) {
37 super(info, env);
38 this.compiler.optPipeline = {
39 arg: ['-print-after-all', '-print-before-all'],
40 moduleScopeArg: ['-print-module-scope'],
41 noDiscardValueNamesArg: [],
42 };
43 }
44
45 override getCompilerResultLanguageId(filters?: ParseFiltersAndOutputOptions): string | undefined {
46 return 'llvm-ir';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected