This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Asmjit unwind info registration and stack walking code for Windows, Linux and macOS | |
Copyright (c) 2018, Magnus Norddahl | |
This software is provided 'as-is', without any express or implied | |
warranty. In no event will the authors be held liable for any damages | |
arising from the use of this software. | |
Permission is granted to anyone to use this software for any purpose, | |
including commercial applications. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Program output: | |
mbn@cuba:~/Development$ clang -std=c++11 -o format format.cpp -lstdc++ | |
mbn@cuba:~/Development$ ./format | |
This is a foobar string with a 666 number | |
This is a moobar string with a 333 number | |
This is a foobar string with moobar and woobar with a 333 number | |
*/ |