diff options
author | Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> | 2023-06-11 17:00:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 17:00:53 -0400 |
commit | 10851a1ddaea3e1111ea9f50afba1ff993a0967b (patch) | |
tree | 9792df118f580afb5988a607ce048244455be2c5 /lib/compilers/hook.ts | |
parent | 79bba4c1d1031fa250919539e7681cfcba250b7a (diff) | |
download | compiler-explorer-10851a1ddaea3e1111ea9f50afba1ff993a0967b.tar.gz compiler-explorer-10851a1ddaea3e1111ea9f50afba1ff993a0967b.zip |
LLVM IR pane improvements (#5078)gh-7669
This PR will add filtering and other output options to the LLVM IR pane


Closes #5062
Related to #5045
Diffstat (limited to 'lib/compilers/hook.ts')
-rw-r--r-- | lib/compilers/hook.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/hook.ts b/lib/compilers/hook.ts index c731cc530..9de40faf8 100644 --- a/lib/compilers/hook.ts +++ b/lib/compilers/hook.ts @@ -72,10 +72,10 @@ export class HookCompiler extends BaseCompiler { return super.runCompiler(compiler, options, inputFilename, execOptions); } - override processAsm(result, filters, options) { + override async processAsm(result, filters, options) { // Ignoring `trim` filter because it is not supported by Hook. filters.trim = false; - const _result = super.processAsm(result, filters, options); + const _result = await super.processAsm(result, filters, options); const commentRegex = /^\s*;(.*)/; const instructionRegex = /^\s{2}(\d+)(.*)/; const asm = _result.asm; |