Skip to content

Commit

Permalink
fix: pahole wrongly refuses to do anything (#4581)
Browse files Browse the repository at this point in the history
Condition was badly changed in #3232 (compiling to binary objects)
  • Loading branch information
dkm authored and mattgodbolt committed Jan 24, 2023
1 parent c7e3e82 commit 1751ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tooling/pahole-tool.js
Expand Up @@ -32,7 +32,7 @@ export class PaholeTool extends BaseTool {
}

async runTool(compilationInfo, inputFilepath, args) {
if (!compilationInfo.filters.binary || !compilationInfo.filters.binaryObject) {
if (!compilationInfo.filters.binary && !compilationInfo.filters.binaryObject) {
return this.createErrorResponse('Pahole requires a binary output');
}

Expand Down

0 comments on commit 1751ad3

Please sign in to comment.