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

Method execPostProcess

lib/compilers/dmd.ts:54–61  ·  view source on GitHub ↗
(result, postProcesses: string[], outputFilename: string, maxSize: number)

Source from the content-addressed store, hash-verified

52 }
53
54 override async execPostProcess(result, postProcesses: string[], outputFilename: string, maxSize: number) {
55 const dirPath = path.dirname(outputFilename);
56 const lPath = path.basename(outputFilename);
57 return this.handlePostProcessResult(
58 result,
59 await this.exec(postProcesses[0], ['-l', lPath], {customCwd: dirPath, maxOutput: maxSize}),
60 );
61 }
62
63 override getOutputFilename(dirPath: string, outputFilebase: string) {
64 return path.join(dirPath, `${outputFilebase}.s`);

Callers 3

postProcessMethod · 0.45
postProcessMethod · 0.45
postProcessMethod · 0.45

Calls 2

execMethod · 0.45

Tested by

no test coverage detected