[all-commits] [llvm/llvm-project] f6ff87: [libunwind][WebAssembly] Make libunwind compilable...
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Tue May 21 15:43:29 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f6ff87dd90074b694e420d93389c749189bca0ec
https://github.com/llvm/llvm-project/commit/f6ff87dd90074b694e420d93389c749189bca0ec
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-05-21 (Tue, 21 May 2024)
Changed paths:
M libunwind/include/__libunwind_config.h
M libunwind/src/UnwindLevel1.c
M libunwind/src/UnwindRegistersRestore.S
M libunwind/src/UnwindRegistersSave.S
M libunwind/src/libunwind.cpp
Log Message:
-----------
[libunwind][WebAssembly] Make libunwind compilable (#92192)
This tries to make Wasm compilable in LLVM tree with CMake for
non-Emscripten platform.
This
- Adds `-D__USING_WASM_EXCEPTIONS__` when you compile with
`-fwasm-exceptions` (like other EH options) in Clang
- Exclude `UnwindLevel1.c`, `UnwindRegistersSave.S`, and
`UnwindRegistersRestore.S` when compiling with Wasm
- Changed some `__USING_WASM_EXCEPTIONS__` to `__wasm__`; they should be
applied when compiling with Wasm w/o exceptions.
- Define some unused macros to make it compile
Fixes #72771.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list