Skip to content

Fix: postprocess compiler errors with --generate-reproducer#4782

Open
gamesh411 wants to merge 1 commit intoEricsson:masterfrom
gamesh411:fix-generate-reproducer-postprocess
Open

Fix: postprocess compiler errors with --generate-reproducer#4782
gamesh411 wants to merge 1 commit intoEricsson:masterfrom
gamesh411:fix-generate-reproducer-postprocess

Conversation

@gamesh411
Copy link
Contributor

@gamesh411 gamesh411 commented Feb 17, 2026

When --generate-reproducer flag is used, failed analyses are not postprocessed, causing compiler errors to not appear in analysis statistics or reports.

  • Moved postprocessing and cleanup logic into handle_analysis_result() to ensure it runs regardless of reproducer generation
  • Deleted unused handle_failure() function
  • Postprocessing now always occurs for failed analyses

Fixes #4780

@gamesh411 gamesh411 force-pushed the fix-generate-reproducer-postprocess branch 6 times, most recently from c0d4b94 to c3584d7 Compare February 20, 2026 09:02
When --generate-reproducer is enabled, failed analyses were not postprocessed, causing compiler errors to not appear as reports. Moved postprocessing and cleanup logic into handle_analysis_result() to ensure it runs regardless of reproducer generation. Removed analyzer-specific checker logic and unused handle_failure() function.
@gamesh411 gamesh411 force-pushed the fix-generate-reproducer-postprocess branch from c3584d7 to c80029e Compare February 20, 2026 09:11
@gamesh411 gamesh411 marked this pull request as ready for review February 20, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant