diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-28 12:28:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-28 16:09:48 +0300 |
commit | 52f1e90df5a8c98c5dc9ae3d50f7c24928c7b69b (patch) | |
tree | 48e9dbb5b4c4f1fe40ce068ba4005d53cdb9833d /bdep/buildfile | |
parent | 1a9e93df517ebcfd836bd94b095c354a4877c96e (diff) |
Print backtrace to stderr when terminating due to unhandled exception
Diffstat (limited to 'bdep/buildfile')
-rw-r--r-- | bdep/buildfile | 5 |
1 files changed, 5 insertions, 0 deletions
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 |