From 52f1e90df5a8c98c5dc9ae3d50f7c24928c7b69b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 28 May 2019 12:28:05 +0300 Subject: Print backtrace to stderr when terminating due to unhandled exception --- bdep/buildfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bdep/buildfile') diff --git a/bdep/buildfile b/bdep/buildfile index db38734..702058c 100644 --- a/bdep/buildfile +++ b/bdep/buildfile @@ -89,6 +89,11 @@ if ($cxx.class == 'msvc') elif ($cxx.class == 'gcc') cxx.coptions += -Wno-unknown-pragmas +# Make sure backtrace includes function names. +# +if ($cxx.target.class == 'linux') + cxx.loptions += -rdynamic + # Generated options parser. # if $cli.configured -- cgit v1.1