commit | eda623835fdbbeb66412c3aa40aa9a7851e1b5b6 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Thu Apr 04 17:50:14 2019 +0000 |
committer | Martin Storsjo <martin@martin.st> | Thu Apr 04 17:50:14 2019 +0000 |
tree | bb74c33fdc75b852dd9cc6299213cea939d21931 | |
parent | 7de0909429360f44b40381910c558a025cda0028 [diff] |
Move the alias definition of unw_getcontext to within !defined(__USING_SJLJ_EXCEPTIONS__) For builds with SJLJ, there is no __unw_getcontext symbol. On Windows, the weak alias macro also expands to a dllexport directive, which fails if the symbol doesn't exist. Differential Revision: https://reviews.llvm.org/D60251 git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@357711 91177308-0d34-0410-b5e6-96231b3b80d8