search for: _libunwind_export

Displaying 5 results from an estimated 5 matches for "_libunwind_export".

2020 Aug 15
5
Supporting libunwind on Windows 10 (32bit; 64bit) for MSVC and Clang
...us declaration is here extern uintptr_t _Unwind_GetGR(struct _Unwind_Context *context, int index); ^ C:/Users/clang/libunwind/src/UnwindLevel1.c:485:24: warning: redeclaration of '_Unwind_SetGR' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] _LIBUNWIND_EXPORT void _Unwind_SetGR(struct _Unwind_Context *context, int index, ^ C:/Users/clang/libunwind/include\unwind.h:222:13: note: previous declaration is here extern void _Unwind_SetGR(struct _Unwind_Context *context, int index, ^ C:/Users/clang/libunwind/src/UnwindLevel1....
2015 Jul 24
3
[LLVMdev] Compiling LibC++ with LLVM on ARM
...;m trying to compile the whole thing in one go by adding libcxx and libcxxabi into llvm/src/projects. The first stage obviously has to use the system compiler, which is GCC 4.8.2, but I'm getting an error on ARM: Unwind-EHABI.cpp:1000:47: error: expected unqualified-id before string constant _LIBUNWIND_EXPORT extern "C" _Unwind_Reason_Code with the caret pointing at _Unwind_Reason_Code. With Clang, it passes, as it's what I'm using on the libcxx ARM buildbot. I tried using -std=c++11 on CXXFLAGS, but didn't seem to have made a difference. Ideas? cheers, --renato PS: I have ot...
2015 Jul 24
0
[LLVMdev] Compiling LibC++ with LLVM on ARM
Hi Renato, On 24 July 2015 at 04:35, Renato Golin <renato.golin at linaro.org> wrote: > Unwind-EHABI.cpp:1000:47: error: expected unqualified-id before string constant > _LIBUNWIND_EXPORT extern "C" _Unwind_Reason_Code GCC seems to be stricter than Clang about the ordering of __attribute__ (from _LIBUNWIND_EXPORT) and 'extern "C"'. You can play around with: __attribute__((visibility("default"))) extern "C" void func() {} Cheers. T...
2015 Jul 24
2
[LLVMdev] Compiling LibC++ with LLVM on ARM
On 24 July 2015 at 15:00, Tim Northover <t.p.northover at gmail.com> wrote: > GCC seems to be stricter than Clang about the ordering of > __attribute__ (from _LIBUNWIND_EXPORT) and 'extern "C"'. Humpf, that seems to be an old thing. GCC 5.1 on my laptop cope with that just fine. :( thanks! --renato
2015 Jul 24
0
[LLVMdev] Compiling LibC++ with LLVM on ARM
On 24 July 2015 at 07:51, Renato Golin <renato.golin at linaro.org> wrote: > On 24 July 2015 at 15:00, Tim Northover <t.p.northover at gmail.com> wrote: >> GCC seems to be stricter than Clang about the ordering of >> __attribute__ (from _LIBUNWIND_EXPORT) and 'extern "C"'. > > Humpf, that seems to be an old thing. GCC 5.1 on my laptop cope with > that just fine. :( That's weird. My gcc 5.2 rejects it. Don't think I've got a 5.1 hanging around any more. Tim.