From ebeea3fa9992d5ceb71806b24ae94c8601638717 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 27 May 2019 22:43:59 +0300 Subject: Add backtrace() --- tests/backtrace/buildfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/backtrace/buildfile (limited to 'tests/backtrace/buildfile') diff --git a/tests/backtrace/buildfile b/tests/backtrace/buildfile new file mode 100644 index 0000000..a4120df --- /dev/null +++ b/tests/backtrace/buildfile @@ -0,0 +1,12 @@ +# file : tests/backtrace/buildfile +# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +import libs = libbutl%lib{butl} + +exe{driver}: {hxx cxx}{*} $libs testscript + +# Make sure backtrace() includes function names. +# +if ($cxx.target.class == 'linux') + cxx.loptions += -rdynamic -- cgit v1.1