LLVM: lib/ExecutionEngine/Orc/TargetProcess/DefaultHostBootstrapValues.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

10

14

15#ifdef __APPLE__

16#include <dlfcn.h>

17#endif

18

20

22 StringMap<std::vector> &BootstrapMap,

24

25

30

33

34#ifdef __APPLE__

35 if (!dlsym(RTLD_DEFAULT, "__unw_add_find_dynamic_unwind_sections"))

36 BootstrapMap["darwin-use-ehframes-only"].push_back(1);

37#endif

38}

39

40}

LLVM_ABI llvm::orc::shared::CWrapperFunctionResult llvm_orc_registerJITLoaderGDBAllocAction(const char *ArgData, size_t ArgSize)

LLVM_ABI llvm::orc::shared::CWrapperFunctionResult llvm_orc_deregisterEHFrameSectionAllocAction(const char *ArgData, size_t ArgSize)

LLVM_ABI llvm::orc::shared::CWrapperFunctionResult llvm_orc_registerEHFrameSectionAllocAction(const char *ArgData, size_t ArgSize)

StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...

static ExecutorAddr fromPtr(T *Ptr, UnwrapFn &&Unwrap=UnwrapFn())

Create an ExecutorAddr from the given pointer.

LLVM_ABI const char * DeregisterEHFrameSectionAllocActionName

LLVM_ABI const char * RegisterJITLoaderGDBAllocActionName

LLVM_ABI const char * RegisterEHFrameSectionAllocActionName

LLVM_ABI void addDefaultBootstrapValuesForHostProcess(StringMap< std::vector< char > > &BootstrapMap, StringMap< ExecutorAddr > &BootstrapSymbols)

Definition DefaultHostBootstrapValues.cpp:21