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

Method optionsForBackend

lib/base-compiler.ts:824–832  ·  view source on GitHub ↗
(backendOptions: Record<string, any>, outputFilename: string)

Source from the content-addressed store, hash-verified

822 // Meant to be overloaded by compiler classes.
823 // Default handles the GCC compiler with some debug dump enabled.
824 optionsForBackend(backendOptions: Record<string, any>, outputFilename: string): string[] {
825 let addOpts: string[] = [];
826
827 if (backendOptions.produceGccDump?.opened && this.compiler.supportsGccDump) {
828 addOpts = addOpts.concat(this.getGccDumpOptions(backendOptions.produceGccDump, outputFilename));
829 }
830
831 return addOpts;
832 }
833
834 protected optionsForFilter(
835 filters: ParseFiltersAndOutputOptions,

Callers 1

prepareArgumentsMethod · 0.95

Calls 1

getGccDumpOptionsMethod · 0.95

Tested by

no test coverage detected