diff options
author | Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> | 2023-06-28 07:07:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 08:07:33 -0400 |
commit | 3638f6026c7a756ae1591a02112e3bb59627c48e (patch) | |
tree | 6831c38e2ec84080671473a91b550636cf2a754f /lib/compilers/clang.ts | |
parent | 9b69146add6fb307104fdacb346d54f74b7c1e70 (diff) | |
download | compiler-explorer-gh-8008.tar.gz compiler-explorer-gh-8008.zip |
Support control flow graphs for more compilers (#5209)gh-8008
This PR should make cfg generation available for all clang compilers,
icc, and any compiler whose instructionSet property is x86, arm, or
llvm.
Diffstat (limited to 'lib/compilers/clang.ts')
-rw-r--r-- | lib/compilers/clang.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/compilers/clang.ts b/lib/compilers/clang.ts index 9b93e2419..f8ae4b6e5 100644 --- a/lib/compilers/clang.ts +++ b/lib/compilers/clang.ts @@ -70,6 +70,10 @@ export class ClangCompiler extends BaseCompiler { } } + override isCfgCompiler() { + return true; + } + async addTimeTraceToResult(result: CompilationResult, dirPath: string, outputFilename: string) { let timeTraceJson = ''; const outputExt = path.extname(outputFilename); |