Linux: Print demangled symbols on backtrace (#312)

This commit is contained in:
goeiecool9999 2022-10-10 02:35:04 +02:00 committed by GitHub
parent 0c9fb3143f
commit 431c5a101f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 61 additions and 6 deletions

View file

@ -246,6 +246,12 @@ inline uint64 _udiv128(uint64 highDividend, uint64 lowDividend, uint64 divisor,
#error No definition for DLLEXPORT
#endif
#if BOOST_OS_WINDOWS
#define NOEXPORT
#elif defined(__GNUC__)
#define NOEXPORT __attribute__ ((visibility ("hidden")))
#endif
#ifdef __GNUC__
#include <cpuid.h>
#endif