Searched refs:main_function (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win_dll_thunk.cpp33 int dllThunkIntercept(const char* main_function, uptr dll_function) { argument
34 uptr wrapper = dllThunkGetRealAddrOrDie(main_function);
40 int dllThunkInterceptWhenPossible(const char* main_function, argument
43 (void *)GetModuleHandleA(0), main_function);
H A Dsanitizer_win_dll_thunk.h20 int dllThunkIntercept(const char* main_function, uptr dll_function);
22 int dllThunkInterceptWhenPossible(const char* main_function,
29 // Override dll_function with main_function from main executable.
30 #define INTERCEPT_OR_DIE(main_function, dll_function) \
32 return __sanitizer::dllThunkIntercept(main_function, (__sanitizer::uptr) \
39 // Try to override dll_function with main_function from main executable.
40 // If main_function is not present, override dll_function with default_function.
41 #define INTERCEPT_WHEN_POSSIBLE(main_function, default_function, dll_function) \
43 return __sanitizer::dllThunkInterceptWhenPossible(main_function, \
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp1863 Function *const main_function = local
1867 if (!m_func_name.IsEmpty() && !main_function) {
1877 if (main_function) {
1878 if (!FixFunctionLinkage(*main_function)) {
1897 if (main_function) {
1898 if (!CreateResultVariable(*main_function)) {
1996 if (main_function) {
1997 if (!ResolveExternals(*main_function)) {
2005 if (!ReplaceVariables(*main_function)) {

Completed in 62 milliseconds