Implement working macOS backtrace symbolization

This commit is contained in:
Michael Scire 2022-03-10 15:10:13 -08:00 committed by SciresM
parent 7456a77ba9
commit ee5f99fdb4
3 changed files with 293 additions and 14 deletions

View file

@ -263,13 +263,6 @@ namespace ams::diag::impl {
return;
}
}
#elif defined(ATMOSPHERE_OS_MACOS)
{
if (_NSGetExecutablePath(dst, dst_size) != 0) {
dst[0] = 0;
return;
}
}
#else
#error "Unknown OS for BfdHelper GetExecutablePath"
#endif