Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix #4469 Errors now look like: ``` Internal Compiler Explorer error: Error: Internal error running asm parser: ./dump-and-parse.sh: line 4: /usr/local/bin/asm-parser: No such file or directory at CEAsmParser.parseAsmExecResult (/home/matthew/dev/ce/compiler-explorer/lib/external-parsers/base.ts:77:19) at CEAsmParser.objdumpAndParseAssembly (/home/matthew/dev/ce/compiler-explorer/lib/external-parsers/base.ts:101:21) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async DefaultCompiler.objdump (/home/matthew/dev/ce/compiler-explorer/lib/base-compiler.ts:414:31) at async Promise.all (index 0) at async DefaultCompiler.checkOutputFileAndDoPostProcess (/home/matthew/dev/ce/compiler-explorer/lib/base-compiler.ts:1356:16) at async /home/matthew/dev/ce/compiler-explorer/lib/base-compiler.ts:2236:41 at async run (/home/matthew/dev/ce/compiler-explorer/node_modules/p-queue/dist/index.js:163:29) Compiler returned: -1 ``` which at least gives context on why the parsing failed. And per discussion with @partouf we'll blow up at construction time if the file isn't there, which means the above is more to cover "what if the tool dies".
- Loading branch information