mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 17:14:28 -04:00
use cxxabi for demangling on linux/windows
This commit is contained in:
parent
ee5f99fdb4
commit
49cddd68e4
5 changed files with 15 additions and 5 deletions
|
@ -14,6 +14,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stratosphere.hpp>
|
||||
#include "impl/diag_get_all_backtrace.hpp"
|
||||
#include "impl/diag_invoke_abort.hpp"
|
||||
|
||||
namespace ams::diag {
|
||||
|
@ -179,6 +180,9 @@ namespace ams::diag {
|
|||
|
||||
std::scoped_lock lk(g_abort_mutex);
|
||||
|
||||
/* Set the abort impl return address. */
|
||||
impl::SetAbortImplReturnAddress(reinterpret_cast<uintptr_t>(__builtin_return_address(0)));
|
||||
|
||||
/* Create abort info. */
|
||||
std::va_list cvl;
|
||||
va_copy(cvl, vl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue