Skip to content

Commit fc43e40

Browse files
committed
Update README
1 parent 7c1ed58 commit fc43e40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ That's it.
3131
Here we summarize the modification for each part of the compiler toolchain.
3232

3333
**LLVM**
34-
- Support segmented stack function prologue generation for thumbv7 targets. The prologue examines the free stack space before executing the function body. If the free space is insufficient, the prologue invokes the kernel through SVC. The kernel may decide to extend the stack by making a new memory allocation.
34+
- Support segmented stack function prologue generation for `thumbv7em` and `thumbv6m` targets. The prologue examines the free stack space before executing the function body. If the free space is insufficient, the prologue invokes the kernel through SVC. The kernel may decide to extend the stack by making a new memory allocation.
3535
- Generate a slightly different segmented stack function prologue for `core::ptr::drop` functions. If a task exceeds its stack usage allowance, the kernel will kill it by forcing an unwinding. However, the unwinding must not be initiated from a drop function. The kernel can recognize that the function causing an overflow is a drop function, thus defer the forced unwinding.
3636
- Disable `nounwind` attribute deduction. Since any function can potentially cause the stack allowance to be exceeded, any function may initiate a forced unwinding. This breaks the assumption of the compiler when automatically deducing `nounwind` attributes, so we disable it.
3737

0 commit comments

Comments
 (0)