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

Method getOutputFilename

lib/compilers/v8.ts:47–59  ·  view source on GitHub ↗
(dirPath: string, outputFilebase: string, key?: any)

Source from the content-addressed store, hash-verified

45 }
46
47 public override getOutputFilename(dirPath: string, outputFilebase: string, key?: any) {
48 let filename;
49 if (key?.backendOptions?.customOutputFilename) {
50 filename = key.backendOptions.customOutputFilename;
51 } else {
52 filename = 'code.asm';
53 }
54
55 if (dirPath) {
56 return path.join(dirPath, filename);
57 }
58 return filename;
59 }
60
61 override optionsForFilter(filters: ParseFiltersAndOutputOptions, outputFilename: string) {
62 return [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected