diff options
| author | Heejin Ahn <aheejin@gmail.com> | 2024-05-21 15:43:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-21 15:43:08 -0700 |
| commit | f6ff87dd90074b694e420d93389c749189bca0ec (patch) | |
| tree | 16c10d6bebda0efb6f6d3387a70c49e510b598b5 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp | |
| parent | 0012b1ea84e671a9e0c9f7f2d1564315ed9cbcca (diff) | |
[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.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
