Skip to content

Commit

Permalink
Convert, modernize, and refactor cfg generation (#4657)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Jan 29, 2023
1 parent 6a6efae commit ac8f444
Show file tree
Hide file tree
Showing 20 changed files with 675 additions and 638 deletions.
4 changes: 2 additions & 2 deletions lib/base-compiler.ts
Expand Up @@ -56,7 +56,7 @@ import {Artifact, ToolResult, ToolTypeKey} from '../types/tool.interfaces';

import {BuildEnvSetupBase, getBuildEnvTypeByKey} from './buildenvsetup';
import {BuildEnvDownloadInfo} from './buildenvsetup/buildenv.interfaces';
import * as cfg from './cfg';
import * as cfg from './cfg/cfg';
import {CompilationEnvironment} from './compilation-env';
import {CompilerArguments} from './compiler-arguments';
import {ClangParser, GCCParser} from './compilers/argument-parsers';
Expand Down Expand Up @@ -2379,7 +2379,7 @@ export class BaseCompiler implements ICompiler {
// for now do not generate a cfg for llvm ir
result.cfg = {};
} else {
result.cfg = cfg.generateStructure(this.compiler.compilerType, this.compiler.version, result.asm);
result.cfg = cfg.generateStructure(this.compiler, result.asm);
}
}
}
Expand Down
352 changes: 0 additions & 352 deletions lib/cfg.js

This file was deleted.

0 comments on commit ac8f444

Please sign in to comment.