diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-27 22:43:59 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-28 16:00:00 +0300 |
commit | ebeea3fa9992d5ceb71806b24ae94c8601638717 (patch) | |
tree | 4167dc1ca41c7b84d6d4d89c57c3020560d353da /tests/backtrace/buildfile | |
parent | a8582e25936da4343966c91761d686c4933e3f6b (diff) |
Add backtrace()
Diffstat (limited to 'tests/backtrace/buildfile')
-rw-r--r-- | tests/backtrace/buildfile | 12 |
1 files changed, 12 insertions, 0 deletions
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 |