Skip to content

Instantly share code, notes, and snippets.

[settings]
os=iOS
arch=armv8
compiler=apple-clang
compiler.version=11.0
compiler.cppstd=17
build_type=Release
os.version=10.0
compiler.libcxx=libc++
[options]
@a4z
a4z / stacktrace.cxx
Created June 4, 2018 09:01 — forked from fmela/stacktrace.cxx
A C++ function that produces a stack backtrace with demangled function & method names.
/*
* Copyright (c) 2009-2017, Farooq Mela
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright