proxygen
Singleton.cpp File Reference
#include <folly/Singleton.h>
#include <folly/portability/Config.h>
#include <dlfcn.h>
#include <atomic>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <string>
#include <folly/Demangle.h>
#include <folly/Format.h>
#include <folly/ScopeGuard.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::detail
 

Macros

#define FOLLY_SINGLETON_HAVE_DLSYM   1
 

Functions

static void folly::detail::singleton_hs_init_weak (int *argc, char **argv[]) __attribute__((__weakref__("hs_init")))
 
void folly::detail::singletonWarnDoubleRegistrationAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnLeakyDoubleRegistrationAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnLeakyInstantiatingNotRegisteredAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnRegisterMockEarlyAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnDestroyInstanceLeak (const TypeDescriptor &type, const void *ptr)
 
void folly::detail::singletonWarnCreateCircularDependencyAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnCreateUnregisteredAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnCreateBeforeRegistrationCompleteAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonPrintDestructionStackTrace (const TypeDescriptor &type)
 
void folly::detail::singletonThrowNullCreator (const std::type_info &type)
 
void folly::detail::singletonThrowGetInvokedAfterDestruction (const TypeDescriptor &type)
 

Macro Definition Documentation

#define FOLLY_SINGLETON_HAVE_DLSYM   1

Definition at line 39 of file Singleton.cpp.

Variable Documentation

std::vector<detail::TypeDescriptor> leakedSingletons_