Skip to content
Snippets Groups Projects
Commit 513d2e95 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

working lib unwind test

parent 34314d8e
No related branches found
No related tags found
No related merge requests found
Pipeline #3943 passed
......@@ -4,15 +4,14 @@ function main()
{
set -e
set -x
g++ unc.c -o unc.exe
sudo apt-get install libunwind-dev -y
g++ unc.c -o unc.exe -lunwind
$PSZ unc.exe unc-zipr.exe --tempdir unc-temp
./unc.exe
./unc-zipr.exe
rm -rf unc.exe unc-zipr.exe unc-temp
}
main "$@"
#include <stdio.h>
#define UNW_LOCAL_ONLY
#include <libunwind.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment