MCPcopy Index your code
hub / github.com/compiler-explorer/compiler-explorer / runCompilerRawOutput

Method runCompilerRawOutput

lib/base-compiler.ts:612–631  ·  view source on GitHub ↗
(
        compiler: string,
        options: string[],
        inputFilename: string,
        execOptions: ExecutionOptionsWithEnv,
    )

Source from the content-addressed store, hash-verified

610 }
611
612 async runCompilerRawOutput(
613 compiler: string,
614 options: string[],
615 inputFilename: string,
616 execOptions: ExecutionOptionsWithEnv,
617 ) {
618 if (!execOptions) {
619 execOptions = this.getDefaultExecOptions();
620 }
621
622 if (!execOptions.customCwd) {
623 execOptions.customCwd = path.dirname(inputFilename);
624 }
625
626 const result = await this.exec(compiler, options, execOptions);
627 return {
628 ...result,
629 inputFilename: inputFilename,
630 };
631 }
632
633 supportsObjdump() {
634 return !!this.objdumperClass;

Callers 1

generatePPMethod · 0.95

Calls 2

getDefaultExecOptionsMethod · 0.95
execMethod · 0.95

Tested by

no test coverage detected