Commit bf8f5e1c authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

more exception-tracer detection of libstdc++

Summary: Fixes: https://github.com/facebook/folly/issues/1586.

Reviewed By: luciang

Differential Revision: D28694175

fbshipit-source-id: 56d57e99d5cee61004a499d8cf16da9a03acbcec
parent 780643b3
......@@ -31,6 +31,8 @@
#if FOLLY_HAVE_ELF && FOLLY_HAVE_DWARF
#if defined(__GLIBCXX__)
using namespace folly::exception_tracer;
namespace {
......@@ -143,4 +145,6 @@ Initializer initializer;
} // namespace
#endif // defined(__GLIBCXX__)
#endif // FOLLY_HAVE_ELF && FOLLY_HAVE_DWARF
......@@ -25,6 +25,8 @@
#if FOLLY_HAVE_ELF && FOLLY_HAVE_DWARF
#if defined(__GLIBCXX__)
namespace folly {
namespace exception_tracer {
namespace {
......@@ -185,4 +187,6 @@ ExceptionInfo getAsyncTrace(const std::exception& ex) {
} // namespace exception_tracer
} // namespace folly
#endif // defined(__GLIBCXX__)
#endif // FOLLY_HAVE_ELF && FOLLY_HAVE_DWARF
......@@ -21,6 +21,8 @@
#if FOLLY_HAVE_ELF && FOLLY_HAVE_DWARF
#if defined(__GLIBCXX__)
namespace folly {
namespace exception_tracer {
......@@ -39,4 +41,6 @@ ExceptionInfo getAsyncTrace(const exception_wrapper& ew);
} // namespace exception_tracer
} // namespace folly
#endif // defined(__GLIBCXX__)
#endif // FOLLY_HAVE_ELF && FOLLY_HAVE_DWARF
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment