-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-miriArea: The miri toolArea: The miri toolC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
For historic reasons, Miri calls uninitialized memory and the value that you get when reading it "undef(ined)". This is potentially derived from LLVM undef
. However, that is actually a misnomer -- Miri's "undef" is much more like LLVM's poison
. Also, the docs and user-visible message usually speak about "uninitialized memory/values", and I think that terminology makes much more sense.
We should thus rename all "undef" in Miri to "uninit". In particular, but not limited to:
InvalidUndefBytes
ScalarMaybeUndef
UndefMask
Cc @oli-obk
scottmcm
Metadata
Metadata
Assignees
Labels
A-miriArea: The miri toolArea: The miri toolC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.