Skip to content

Minor cleanup: codegen_mimic_unimplemented #1553

Open

Description

@tedinski
/// TODO: Ideally we'd eliminate this. Currently used in two places:
///
/// 1. Functions where we skip codegen. Will eventually go away (we hope?)
/// 2. TerminatorKind::Resume and TK::Abort. Related to unwind support.

https://github.com/model-checking/kani/blob/main/kani-compiler/src/codegen_cprover_gotoc/codegen/assert.rs

If we get rid of the remaining skipped codegen items, I think we could probably switch Resume/Abort to SanityChecks (as opposed to unimplemented) because we already have checks to ensure -Cpanic=abort (or whatever that option is) is set.

Activity

  1. added
    [I] Refactoring / Clean Up
    on Nov 14, 2022
  2. added a commit that references this issue on Nov 15, 2022
  3. added
    T-Good First Issue
    Z-Kani Compiler
    on Nov 5, 2026
  4. added theissue type on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-Good First IssueZ-Kani Compiler[I] Refactoring / Clean Up

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions