[ExecutionEngine] Use the libunwind __register_frame on Darwin
authorAzharuddin Mohammed <azhar@apple.com>
Mon, 23 Aug 2021 21:34:46 +0000 (14:34 -0700)
committerAzharuddin Mohammed <azhar@apple.com>
Mon, 23 Aug 2021 21:51:14 +0000 (14:51 -0700)
commitd898693f72fc8609883c88f341171a2166ac4719
tree7d36bb8d3c0965c98049acb1be2266b4ae61ffc8
parent236a90802d5a7f6823685990fe76fd9beec9b4a5
[ExecutionEngine] Use the libunwind __register_frame on Darwin

This was already the case, but the recent change (957334382cd1) altered
the behavior on some of our bots where __unw_add_dynamic_fde is not
found. This restores the prior behavior on Darwin while also retaining
the new behavior from that change.
llvm/lib/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.cpp
llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp