wasmtime: Add a Config::native_unwind_info method#4643
wasmtime: Add a Config::native_unwind_info method#4643fitzgen merged 1 commit intobytecodealliance:mainfrom
Config::native_unwind_info method#4643Conversation
|
@peterhuene could you take a look at this and double check that the Windows-related bits make sense? Not 100% sure what I've said/configured is correct. Thanks! |
This method configures whether native unwind information (e.g. `.eh_frame` on Linux) is generated or not. This helps integrate with third-party stack capturing tools, such as the system unwinder or the `backtrace` crate. It does not affect whether Wasmtime can capture stack traces in Wasm code that it is running or not. Unwind info is always enabled on Windows, since the Windows ABI requires it. This configuration option defaults to true. Additionally, we deprecate `Config::wasm_backtrace` since we can always cheaply capture stack traces ever since bytecodealliance#4431. Fixes bytecodealliance#4554
d85c0e7 to
fd9ba6b
Compare
Subscribe to Label Actioncc @fitzgen, @peterhuene DetailsThis issue or pull request has been labeled: "fuzzing", "wasmtime:api", "wasmtime:config"Thus the following users have been cc'd because of the following labels:
To subscribe or unsubscribe from this label, edit the |
Label Messager: wasmtime:configIt looks like you are changing Wasmtime's configuration options. Make sure to
DetailsTo modify this label's message, edit the To add new label messages or remove existing label messages, edit the |
This method configures whether native unwind information (e.g.
.eh_frameonLinux) is generated or not.
This helps integrate with third-party stack capturing tools, such as the system
unwinder or the
backtracecrate. It does not affect whether Wasmtime cancapture stack traces in Wasm code that it is running or not.
Unwind info is always enabled on Windows, since the Windows ABI requires it.
This configuration option defaults to true.
Additionally, we deprecate
Config::wasm_backtracesince we can always cheaplycapture stack traces ever since
#4431.
Fixes #4554