Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alloc aligned #648

Merged
merged 2 commits into from
Feb 11, 2020
Merged

Alloc aligned #648

merged 2 commits into from
Feb 11, 2020

Conversation

andreistefanescu
Copy link
Contributor

Fixes #647.

src/SAWScript/Interpreter.hs Outdated Show resolved Hide resolved
src/SAWScript/Crucible/LLVM/Builtins.hs Outdated Show resolved Hide resolved
Copy link
Contributor

@brianhuffman brianhuffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With some small changes to error messages and help text, this looks like it will be ready to go.

Thanks for adding the readonly variant; I had suspected that we might need that eventually.

src/SAWScript/Interpreter.hs Outdated Show resolved Hide resolved
src/SAWScript/Crucible/LLVM/Builtins.hs Outdated Show resolved Hide resolved
Add `crucible_alloc_readonly_aligned` command. Allow
`crucible_alloc_aligned`/`crucible_alloc_readonly_aligned` to specify an
alignment less than the default alignment of the type.
Copy link
Contributor

@brianhuffman brianhuffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

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.

Allow crucible_alloc_aligned to specify less alignment than default for type
3 participants