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

Method constructor

lib/compilers/ada.ts:42–57  ·  view source on GitHub ↗
(info: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

40 }
41
42 constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) {
43 super(info, env);
44
45 this.outputFilebase = 'example';
46
47 this.compiler.supportsGccDump = true;
48 this.compiler.removeEmptyGccDump = true;
49
50 // this is not showing-up in the --help, so argument parser doesn't
51 // automatically detect the support.
52 this.compiler.stackUsageArg = '-fstack-usage';
53 this.compiler.supportsStackUsageOutput = true;
54
55 // used for all GNAT related panes (Expanded code, Tree)
56 this.compiler.supportsGnatDebugViews = true;
57 }
58
59 override getExecutableFilename(dirPath: string, outputFilebase: string) {
60 // The name here must match the value used in the pragma Source_File

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected