Skip to content

Commit

Permalink
refactor(dwarfs_main): remove folly::symbolizer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Aug 12, 2024
1 parent 941ca31 commit 1b0cdd2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tools/src/dwarfs_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@

#include <dwarfs/config.h>

#ifdef DWARFS_STACKTRACE_ENABLED
#include <folly/debugging/symbolizer/SignalHandler.h>
#endif

#ifndef DWARFS_FUSE_LOWLEVEL
#define DWARFS_FUSE_LOWLEVEL 1
#endif
Expand Down Expand Up @@ -1519,7 +1515,7 @@ int dwarfs_main(int argc, sys_char** argv, iolayer const& iol) {

#ifdef DWARFS_STACKTRACE_ENABLED
if (fuse_opts.foreground) {
folly::symbolizer::installFatalSignalHandler();
install_signal_handlers();
}
#endif

Expand All @@ -1541,7 +1537,7 @@ int dwarfs_main(int argc, sys_char** argv, iolayer const& iol) {

#ifdef DWARFS_STACKTRACE_ENABLED
if (fg) {
folly::symbolizer::installFatalSignalHandler();
install_signal_handlers();
}
#endif

Expand Down

0 comments on commit 1b0cdd2

Please sign in to comment.