Skip to content

Places with missing Location. #136

Description

@vecchiot-aws

These come from making certain constructors require Location to be passed in, and where the caller has no clear Location to use (currently using Location::none()).

  • Expr::ret
    • compiler/rustc_codegen_llvm/src/gotoc/assumptions.rs
      • GotocCtx::bound_ty_above_and_below
      • GotocCtx::bound_true_false
      • GotocCtx::codegen_assumption_ref_ptr_slice
      • GotocCtx::codegen_assumption_ref_ptr_slice
      • GotocCtx::codegen_assumption_ref_ptr_thin
      • GotocCtx::codegen_assumption_struct
      • GotocCtx::codegen_assumption_enum_single_variant
      • GotocCtx::codegen_assumption_enum_niche
      • GotocCtx::codegen_assumption_enum_direct
      • GotocCtx::codegen_assumption_array
      • GotocCtx::codegen_assumption_array
      • GotocCtx::codegen_assumption_tuple
    • compiler/rustc_codegen_llvm/src/gotoc/operand.rs
      • GotocCtx::codegen_direct_literal
      • GotocCtx::codegen_niche_literal
    • compiler/rustc_codegen_llvm/src/gotoc/rvalue.rs
      • GotocCtx::codegen_rvalue_repeat
  • Expr::assign
    • compiler/rustc_codegen_llvm/src/gotoc/hooks.rs
      • GotocHook(Nondet)::handle
      • GotocHook(MemReplace)::handle
      • GotocHook(MemReplace)::handle
      • GotocHook(MemSwap)::handle
      • GotocHook(MemSwap)::handle
      • GotocHook(PtrRead)::handle
      • GotocHook(PtrWrite)::handle
      • GotocHook(SliceFromRawPart)::handle
    • compiler/rustc_codegen_llvm/src/gotoc/operand.rs
      • GotocCtx::codegen_direct_literal
      • GotocCtx::codegen_alloc_in_memory
      • GotocCtx::codegen_niche_literal
    • compiler/rustc_codegen_llvm/src/gotoc/rvalue.rs
      • GotocCtx::codegen_rvalue_repeat
      • GotocCtx::codegen_vtable
    • compiler/rustc_codegen_llvm/src/gotoc/statement.rs
      • GotocCtx::codegen_expr_to_place
      • GotocCtx::codegen_statement
      • GotocCtx::codegen_statement
      • GotocCtx::codegen_statement
      • GotocCtx::codegen_statement
      • GotocCtx::codegen_statement
  • Expr::as_stmt
    • compiler/rustc_codegen_llvm/src/gotoc/assumptions.rs
      • GotocCtx::codegen_assumption_ref_ptr_slice
      • GotocCtx::codegen_assumption_array
    • compiler/rustc_codegen_llvm/src/gotoc/hooks.rs
      • GotocHook(MemSwap)::handle
    • compiler/rustc_codegen_llvm/src/gotoc/rvalue.rs
      • GotocCtx::codegen_rvalue_repeat
    • compiler/rustc_codegen_llvm/src/gotoc/statement.rs
      • GotocCtx::codegen_drop
      • GotocCtx::codegen_drop
      • GotocCtx::codegen_expr_to_place
      • GotocCtx::codegen_statement
      • GotocCtx::codegen_statement
  • Stmt::block
    • compiler/rustc_codegen_llvm/src/gotoc/assumptions.rs
      • GotocCtx::codegen_assumption_ref_ptr_slice
      • GotocCtx::codegen_assumption_array
      • GotocCtx::codegen_assumption_genfunc
    • compiler/rustc_codegen_llvm/src/gotoc/cbmc/irep/to_irep.rs
      • ToIrep(ExprValue)::to_irep
    • compiler/rustc_codegen_llvm/src/gotoc/hooks.rs
      • GotocHook(Nondet)::handle
      • GotocHook(Intrinsic)::handle
      • GotocHook(MemReplace)::handle
      • GotocHook(MemReplace)::handle
      • GotocHook(MemSwap)::handle
      • GotocHook(MemSwap)::handle
      • GotocHook(PtrRead)::handle
      • GotocHook(PtrWrite)::handle
      • GotocHook(RustAlloc)::handle
      • GotocHook(SliceFromRawPart)::handle
    • compiler/rustc_codegen_llvm/src/gotoc/metadata.rs
      • GotocCtx::register_initializer
    • compiler/rustc_codegen_llvm/src/gotoc/operand.rs
      • GotocCtx::codegen_direct_literal
      • GotocCtx::codegen_alloc_in_memory
      • GotocCtx::codegen_niche_literal
    • compiler/rustc_codegen_llvm/src/gotoc/rvalue.rs
      • GotocCtx::codegen_rvalue_repeat
      • GotocCtx::codegen_rvalue_repeat
    • compiler/rustc_codegen_llvm/src/gotoc/statement.rs
      • GotocCtx::codegen_drop
      • GotocCtx::codegen_switch_int
    • compiler/rustc_codegen_llvm/src/gotoc/stubs/rust_stubber.rs
      • RustStubber::translate_function

Activity

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

    [C] Feature / EnhancementA new feature request or enhancement to an existing feature.[E] User ExperienceAn UX enhancement for an existing feature. Including deprecation of an existing one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions