Skip to content

Conversation

lhames
Copy link
Contributor

@lhames lhames commented Sep 5, 2025

MemProt and MemLifetime are enum classes representing memory protection (Read | Write | Exec) and lifetime policy (Standard or Finalize-only) respectively.

An AllocGroup is a compressed (MemProt, MemLifetime) pair.

AllocGroupSmallMap is a compressed map of AllocGroup -> T.

These utilities will be used in upcoming memory management APIs in the ORC runtime.

MemProt and MemLifetime are enum classes representing memory protection
(Read | Write | Exec) and lifetime policy (Standard or Finalize-only)
respectively.

An AllocGroup is a compressed (MemProt, MemLifetime) pair.

AllocGroupSmallMap<T> is a compressed map of AllocGroup -> T.

These utilities will be used in upcoming memory management APIs in the ORC
runtime.
@lhames lhames merged commit a04a9de into llvm:main Sep 5, 2025
10 checks passed
@lhames lhames deleted the orc-rt-memoryflags branch September 5, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant