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 committed Jan 12, 2023
1 parent acef3bb commit 6d0d81d
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 6d0d81d

Please sign in to comment.