[all-commits] [llvm/llvm-project] 981523: [ORC-RT][ORC] Handle dynamic unwind registration f...
Peter S. Housel via All-commits
all-commits at lists.llvm.org
Fri May 6 14:01:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 981523b2e4675d4be496a333583b2f728c057d02
https://github.com/llvm/llvm-project/commit/981523b2e4675d4be496a333583b2f728c057d02
Author: Peter S. Housel <housel at acm.org>
Date: 2022-05-06 (Fri, 06 May 2022)
Changed paths:
M compiler-rt/lib/orc/elfnix_platform.cpp
A compiler-rt/test/orc/TestCases/FreeBSD/ehframe-default.cpp
A compiler-rt/test/orc/TestCases/FreeBSD/ehframe-libunwind.cpp
A compiler-rt/test/orc/TestCases/Linux/ehframe-default.cpp
A compiler-rt/test/orc/TestCases/Linux/ehframe-libunwind.cpp
M compiler-rt/test/orc/lit.cfg.py
M compiler-rt/test/orc/lit.site.cfg.py.in
M llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
M llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
Log Message:
-----------
[ORC-RT][ORC] Handle dynamic unwind registration for libunwind
This changes the ELFNix platform Orc runtime to use, when available,
the __unw_add_dynamic_eh_frame_section interface provided by libunwind
for registering .eh_frame sections loaded by JITLink. When libunwind
is not being used for unwinding, the ELFNix platform detects this and
defaults to the __register_frame interface provided by libgcc_s.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D114961
More information about the All-commits
mailing list