diff options
| author | arsnyder16 <arsnyder16@gmail.com> | 2024-08-07 14:00:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 13:00:37 -0500 |
| commit | f7b2c2e49fe524dd7920af0236c9da79fa0cac57 (patch) | |
| tree | db21ebfb99c7d4f7106010c6509fe1db94aefc22 /lldb/test/API/python_api | |
| parent | 6f8e8faa12daaf4dfd80039ccdeccda68e99850b (diff) | |
| download | llvm-f7b2c2e49fe524dd7920af0236c9da79fa0cac57.zip llvm-f7b2c2e49fe524dd7920af0236c9da79fa0cac57.tar.gz llvm-f7b2c2e49fe524dd7920af0236c9da79fa0cac57.tar.bz2 | |
[openmp][WebAssembly] Allow openmp to compile and run under emscripten toolchain (#95169)
* Separate wasi and emscripten as they have different constraints and
abilities
* Emscripten mimics Linux/POSIX by statically linking the musl runtime.
This allow nearly all KMP_OS_LINUX code paths to work correctly. There
are only a few places that need to be adjusted related to dynamic
linking (dl_open)
* Internally link openmp globals
* With CommonLinkage it is needed to emit them in an assembly file, now
they are defined and used within each compilation unit
* With ExternalLinkage they suffer from duplicate symbols during linking
for unnamed globals like reduction/critical
* Interestingly this aligns with the TODO comment above this code
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
