Changeset 82953 in vbox
- Timestamp:
- Feb 3, 2020 12:41:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgstackdumpself.cpp
r76553 r82953 50 50 # include <iprt/utf16.h> 51 51 # include <iprt/win/windows.h> 52 #elif defined(RT_OS_LINUX) 52 #elif defined(RT_OS_LINUX) || defined(RT_OS_DARWIN) 53 53 # include <dlfcn.h> 54 54 #endif … … 280 280 } 281 281 } 282 #elif defined(RT_OS_LINUX) 282 #elif defined(RT_OS_LINUX) || defined(RT_OS_DARWIN) 283 283 Dl_info Info = { NULL, NULL, NULL, NULL }; 284 284 int rc = dladdr((const void *)uPc, &Info); 285 if (rc != 0 )285 if (rc != 0 && Info.dli_fname) 286 286 { 287 287 pMod = (PRTDBGSTACKSELFMOD)RTMemAllocZ(sizeof(*pMod));
Note:
See TracChangeset
for help on using the changeset viewer.