Adds build support for Haiku OS to libunwind.
libunwind can now be built on Haiku OS with clang 12. make check-unwind also passes.
Differential D157866
[libunwind] Haiku: Initial support trungnt2910 on Aug 14 2023, 6:38 AM. Authored by
Details
Diff Detail Event TimelineComment Actions Added the full context. Seems like git format-patch does not include it by default...
Comment Actions The llvm-libunwind-shared.cfg.in chunk looks like it should probably be a separate commit, but make the sames changes for llvm-libunwind-merged.cfg.in and llvm-libunwind-static.cfg.in. I don't know if the tests have ever been run on OpenBSD but this looks like it would help other OS's that do not have libdl.
Comment Actions Must it be in a different patch? The changes are relatively minor but required to test libunwind on Haiku (and therefore confirm that this patch is functional). Comment Actions I am not a libunwind developer, but it looks good to me and looking at the libraries mentioned they do check out (libroot / libbsd). Comment Actions So, Haiku uses libroot instead of libc? The changes seem fine, but I hope that a Haiku contributor that is not the author can verify. Comment Actions This is correct. On Haiku, the C and POSIX functions are in libroot (excluding network-related ones, which are in a separate library.) |
Fix the indentation.