#pragma once
+#include <climits> // for PATH_MAX
#include <cstring>
-#include <limits.h> // for PATH_MAX
#include <memory>
#include <mutex>
#include <string>
-#include <vector>
#include <unordered_map>
+#include <vector>
-#include <boost/operators.hpp>
#include <boost/container/flat_map.hpp>
#include <boost/intrusive/list.hpp>
+#include <boost/operators.hpp>
#include <glog/logging.h>
#include <folly/Hash.h>
#include <folly/Range.h>
#include <folly/experimental/symbolizer/Elf.h>
-namespace folly { namespace symbolizer {
+namespace folly {
+namespace symbolizer {
/**
* Number of ELF files loaded by the dynamic loader.
class ElfCacheBase {
public:
virtual std::shared_ptr<ElfFile> getFile(StringPiece path) = 0;
- virtual ~ElfCacheBase() { }
+ virtual ~ElfCacheBase() {}
};
/**
typedef boost::intrusive::list<
Entry,
boost::intrusive::member_hook<Entry, LruLink, &Entry::lruLink>,
- boost::intrusive::constant_time_size<false>> LruList;
+ boost::intrusive::constant_time_size<false>>
+ LruList;
LruList lruList_;
};
-
-}} // namespaces
+} // namespace symbolizer
+} // namespace folly