mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-09 13:26:48 +00:00
Speed up stack unwinding
This commit is contained in:
parent
6335387104
commit
198363c2d3
@ -28,7 +28,7 @@ spin = "0.9.4"
|
||||
static_assertions = "1.1.0"
|
||||
tdx-guest = { path = "../libs/tdx-guest", optional = true }
|
||||
trapframe = { git = "https://github.com/asterinas/trapframe-rs", rev = "2f37590" }
|
||||
unwinding = { version = "0.2.1", default-features = false, features = ["fde-static", "hide-trace", "panic", "personality", "unwinder"] }
|
||||
unwinding = { version = "0.2.1", default-features = false, features = ["fde-gnu-eh-frame-hdr", "hide-trace", "panic", "personality", "unwinder"] }
|
||||
volatile = { version = "0.4.5", features = ["unstable"] }
|
||||
|
||||
[target.x86_64-unknown-none.dependencies]
|
||||
|
@ -28,6 +28,7 @@ SECTIONS
|
||||
.rodata : AT(ADDR(.rodata) - KERNEL_VMA) { *(.rodata .rodata.*) }
|
||||
|
||||
.eh_frame_hdr : AT(ADDR(.eh_frame_hdr) - KERNEL_VMA) {
|
||||
PROVIDE(__GNU_EH_FRAME_HDR = .);
|
||||
KEEP(*(.eh_frame_hdr .eh_frame_hdr.*))
|
||||
}
|
||||
. = ALIGN(8);
|
||||
|
Loading…
x
Reference in New Issue
Block a user