I have removed the exported symbols of _Unwind_{Get,Set}{GR,IP}()
from libunwind.so in D11190. However, it is debatable whether we should
export those symbols. Thus, I am uploading this patch for discussion.
Arguments for this patch:
- The programs that do not include <unwind.h> and declares their own function declarations can still be linked with our libunwind.so.
- _Unwind_{Get,Set}{GR,IP}() are listed in C++ Itanium Level 1 unwinding API.
Arguments against this patch:
- libgcc does not provide these symbols at all. We should not extend the ABI without deliberate consideration.
- Programs that didn't include <unwind.h> deserves not being compiled. If the application developers have tried to port their code to ARM, they should already found the problem.
- ARM EHABI only specified _Unwind_VRS_{Get,Set}() for such purpose.
I personally against this patch, but I would like to see if there are other
comments/concerns.
Depends on D11190
The double negative hurts. Would you be opposed to switching this around so that we can have: