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

Method getCompilationInfo

lib/base-compiler.ts:2476–2493  ·  view source on GitHub ↗
(key: CacheKey, result: CompilationResult, customBuildPath?: string)

Source from the content-addressed store, hash-verified

2474 }
2475
2476 getCompilationInfo(key: CacheKey, result: CompilationResult, customBuildPath?: string): CompilationInfo {
2477 return {
2478 outputFilename: this.getOutputFilename(customBuildPath || result.dirPath || '', this.outputFilebase, key),
2479 executableFilename: this.getExecutableFilename(
2480 customBuildPath || result.dirPath || '',
2481 this.outputFilebase,
2482 key,
2483 ),
2484 preparedLdPaths: this.getSharedLibraryPathsAsLdLibraryPathsForExecution(
2485 key,
2486 customBuildPath || result.dirPath || '',
2487 ),
2488 defaultExecOptions: this.getDefaultExecOptions(),
2489 asmParser: this.asm,
2490 ...key,
2491 ...result,
2492 } as any as CompilationInfo;
2493 }
2494
2495 getCompilationInfoForTool(
2496 key: CacheKey,

Callers 3

afterCompilationMethod · 0.95
afterBuildMethod · 0.80
afterCompilationMethod · 0.80

Tested by

no test coverage detected