aboutsummaryrefslogtreecommitdiff
path: root/libcpp/files.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-11-30 12:32:53 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-12-07 19:54:45 +0000
commit3ad0f470c16d5528a5283060b007f8b419c33c92 (patch)
tree5869492476ca86dd818a29c90e5a26d6c63ed803 /libcpp/files.cc
parentdc02d4a99a7073dbef193c93529f2e1b64addfe2 (diff)
downloadgcc-3ad0f470c16d5528a5283060b007f8b419c33c92.zip
gcc-3ad0f470c16d5528a5283060b007f8b419c33c92.tar.gz
gcc-3ad0f470c16d5528a5283060b007f8b419c33c92.tar.bz2
libstdc++: Pass error handler to libbacktrace functions
Also pass threaded=1 to __glibcxx_backtrace_create_state and remove some of the namespace scope declarations in the header. Co-authored-by: François Dumont <frs.dumont@gmail.com> libstdc++-v3/ChangeLog: * include/debug/formatter.h [_GLIBCXX_DEBUG_BACKTRACE] (_Error_formatter::_Error_formatter): Pass error handler to __glibcxx_backtrace_create_state. Pass 1 for threaded argument. (_Error_formatter::_S_err): Define empty function. * src/c++11/debug.cc (_Error_formatter::_M_error): Pass error handler to __glibcxx_backtrace_full.
Diffstat (limited to 'libcpp/files.cc')
0 files changed, 0 insertions, 0 deletions