diff options
author | Arun Sharma <aruns@google.com> | 2009-03-15 11:24:43 -0700 |
---|---|---|
committer | Arun Sharma <aruns@google.com> | 2009-03-16 21:34:48 -0700 |
commit | 576b59e4b15ddf2f2d3f17036b9c2f43c7504777 (patch) | |
tree | ae313c6d7b99b81d85d49a6b68475031d9e50a2f /tests/Ltest-nomalloc.c | |
parent | a2c27a4ab724cf129cf956df4c6fb779bd2f5366 (diff) | |
download | libunwind-576b59e4b15ddf2f2d3f17036b9c2f43c7504777.tar.gz |
Verify that we don't call malloc when unwinding locally.
Diffstat (limited to 'tests/Ltest-nomalloc.c')
-rw-r--r-- | tests/Ltest-nomalloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Ltest-nomalloc.c b/tests/Ltest-nomalloc.c new file mode 100644 index 00000000..74d63312 --- /dev/null +++ b/tests/Ltest-nomalloc.c @@ -0,0 +1,5 @@ +#define UNW_LOCAL_ONLY +#include <libunwind.h> +#if !defined(UNW_REMOTE_ONLY) +#include "Gtest-nomalloc.c" +#endif |