Skip to content

Commit

Permalink
Fix compiler-explorer#5735: refuse to runllvm-mca with "Compile to bi…
Browse files Browse the repository at this point in the history
…nary object"
  • Loading branch information
OfekShilon committed Mar 22, 2024
1 parent d778ea1 commit b4f90fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tooling/llvm-mca-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class LLVMMcaTool extends BaseTool {
}

override async runTool(compilationInfo: Record<any, any>, inputFilepath?: string, args?: string[]) {
if (compilationInfo.filters.binary) {
if (compilationInfo.filters.binary || compilationInfo.filters.binaryObject) {
return this.createErrorResponse('<cannot run analysis on binary>');
}

Expand Down

0 comments on commit b4f90fd

Please sign in to comment.