diff --git a/lib/base-compiler.ts b/lib/base-compiler.ts index 9375023eb..9e3b9b27d 100644 --- a/lib/base-compiler.ts +++ b/lib/base-compiler.ts @@ -730,6 +730,9 @@ export class BaseCompiler implements ICompiler { // GCC accepts these options as a list of '-' separated names that may // appear in any order. let flags = ''; + if (gccDumpOptions.dumpFlags.gimpleFe !== false) { + flags += '-gimple'; + } if (gccDumpOptions.dumpFlags.address !== false) { flags += '-address'; } diff --git a/static/panes/compiler.ts b/static/panes/compiler.ts index 2218b1d32..df96cff20 100644 --- a/static/panes/compiler.ts +++ b/static/panes/compiler.ts @@ -63,6 +63,7 @@ import { CompilationRequest, CompilationRequestOptions, CompilationResult, + GccDumpFlags, FiledataPair, } from '../../types/compilation/compilation.interfaces.js'; import {ResultLine} from '../../types/resultline/resultline.interfaces.js'; @@ -144,19 +145,6 @@ type Assembly = { fake?: boolean; }; -type DumpFlags = { - address: boolean; - slim: boolean; - raw: boolean; - details: boolean; - stats: boolean; - blocks: boolean; - vops: boolean; - lineno: boolean; - uid: boolean; - all: boolean; -}; - // Disable max line count only for the constructor. Turns out, it needs to do quite a lot of things // eslint-disable-next-line max-statements export class Compiler extends MonacoPane { @@ -272,7 +260,7 @@ export class Compiler extends MonacoPane; dumpIpaTitle: string; + optionGimpleFeButton: JQuery; + optionGimpleFeTitle: string; optionAddressButton: JQuery; optionAddressTitle: string; optionSlimButton: JQuery; @@ -196,6 +198,9 @@ export class GccDump extends MonacoPane