froydnj opened PR #1400 from raw-output
to master
:
- [X] This has been discussed in issue #1386.
- [X] A short description of what this does, why it is needed: for certain functions (
lucet
's stack probe code is the motivating example), generating them via cranelift is not necessarily feasible. Other compilers have recognized this and provided inline assembly for such cases. This interface can be thought of as a very primitive form of inline assembly (and a limited form; e.g. relocations are not currently supported). The overarching intent is to makecranelift-module
's API rich enough thatlucet
can operate entirely withincranelift-module
's API and not have to drop down tofaerie
orobject
. See #1386 for more details.- [X] This PR does not contain test cases.
- [X] A reviewer from the core maintainer team has been assigned for this PR.
froydnj requested iximeow for a review on PR #1400.
bjorn3 submitted PR Review.
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
Maybe extract this as a function to be used in
define_function
too.
bjorn3 created PR Review Comment:
Nit: comments missing trailing dots.
bjorn3 created PR Review Comment:
relocs: vec![],
pchickey submitted PR Review.
froydnj updated PR #1400 from raw-output
to master
:
- [X] This has been discussed in issue #1386.
- [X] A short description of what this does, why it is needed: for certain functions (
lucet
's stack probe code is the motivating example), generating them via cranelift is not necessarily feasible. Other compilers have recognized this and provided inline assembly for such cases. This interface can be thought of as a very primitive form of inline assembly (and a limited form; e.g. relocations are not currently supported). The overarching intent is to makecranelift-module
's API rich enough thatlucet
can operate entirely withincranelift-module
's API and not have to drop down tofaerie
orobject
. See #1386 for more details.- [X] This PR does not contain test cases.
- [X] A reviewer from the core maintainer team has been assigned for this PR.
pchickey submitted PR Review.
iximeow submitted PR Review.
froydnj updated PR #1400 from raw-output
to master
:
- [X] This has been discussed in issue #1386.
- [X] A short description of what this does, why it is needed: for certain functions (
lucet
's stack probe code is the motivating example), generating them via cranelift is not necessarily feasible. Other compilers have recognized this and provided inline assembly for such cases. This interface can be thought of as a very primitive form of inline assembly (and a limited form; e.g. relocations are not currently supported). The overarching intent is to makecranelift-module
's API rich enough thatlucet
can operate entirely withincranelift-module
's API and not have to drop down tofaerie
orobject
. See #1386 for more details.- [X] This PR does not contain test cases.
- [X] A reviewer from the core maintainer team has been assigned for this PR.
bjorn3 submitted PR Review.
pchickey merged PR #1400.
Last updated: Nov 22 2024 at 16:03 UTC