| /llvm-project-15.0.7/lldb/test/Shell/ExecControl/StopHook/ |
| H A D | stop-hook.test | 2 # Test setting stop-hook per-function 5 # Test setting stop-hook per-line range 15 break set -f stop-hook.c -p "// Set breakpoint here to test target stop-hook" 16 break set -f stop-hook.c -p "// Another breakpoint which is outside of the stop-hook range" 17 target stop-hook list 26 target stop-hook disable 28 target stop-hook list 36 target stop-hook enable 38 target stop-hook list 69 target stop-hook delete [all …]
|
| H A D | stop-hook-threads.test | 1 # RUN: %clangxx_host -std=c++11 %p/Inputs/stop-hook-threads.cpp -g -o %t 2 # RUN: %lldb -b -s %p/Inputs/stop-hook-threads-1.lldbinit -s %s -f %t \ 4 # RUN: %lldb -b -s %p/Inputs/stop-hook-threads-2.lldbinit -s %s -f %t \ 13 break set -f stop-hook-threads.cpp -p "Set break point at this line" 14 target stop-hook list 29 # CHECK-FILTER-NEXT: script print('Hit stop hook')
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_fuchsia.cpp | 117 static void ThreadCreateHook(void *hook, bool aborted) { in ThreadCreateHook() argument 118 Thread *thread = static_cast<Thread *>(hook); in ThreadCreateHook() 133 static void ThreadStartHook(void *hook, thrd_t self) { in ThreadStartHook() argument 134 Thread *thread = static_cast<Thread *>(hook); in ThreadStartHook() 152 static void ThreadExitHook(void *hook, thrd_t self) { in ThreadExitHook() argument 153 Thread *thread = static_cast<Thread *>(hook); in ThreadExitHook() 216 __hwasan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook() 219 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook() argument 220 __hwasan::ThreadStartHook(hook, reinterpret_cast<uptr>(self)); in __sanitizer_thread_start_hook() 223 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { in __sanitizer_thread_exit_hook() argument [all …]
|
| /llvm-project-15.0.7/lldb/test/Shell/ExecControl/StopHook/Inputs/ |
| H A D | stop-hook-threads-2.lldbinit | 1 break set -f stop-hook-threads.cpp -p "Break here to set up the stop hook" 2 break set -f stop-hook-threads.cpp -p "Break here to test that the stop-hook" 4 target stop-hook add -x 2 -o "expr lldb_val += 1" -o "thread list" 5 target stop-hook add -G true -o "script print('Hit stop hook')
|
| H A D | stop-hook-threads-1.lldbinit | 1 break set -f stop-hook-threads.cpp -p "Break here to set up the stop hook" 2 break set -f stop-hook-threads.cpp -p "Break here to test that the stop-hook" 4 target stop-hook add -G true
|
| H A D | stop-hook-3.lldbinit | 1 target stop-hook add -f stop-hook.c -l 21 -e26
|
| H A D | stop-hook-2.lldbinit | 1 target stop-hook add -f stop-hook.c -l 21 -e 26 -o "expr ptr"
|
| H A D | stop-hook-1.lldbinit | 1 target stop-hook add -n b -o "expr ptr"
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_fuchsia.cpp | 196 static void ThreadCreateHook(void *hook, bool aborted) { in ThreadCreateHook() argument 197 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() 212 static void ThreadStartHook(void *hook, uptr os_id) { in ThreadStartHook() argument 213 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() 224 static void ThreadExitHook(void *hook, uptr os_id) { in ThreadExitHook() argument 262 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook() argument 263 __asan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook() 266 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook() argument 267 __asan::ThreadStartHook(hook, reinterpret_cast<uptr>(self)); in __sanitizer_thread_start_hook() 270 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { in __sanitizer_thread_exit_hook() argument [all …]
|
| H A D | asan_globals_win.cpp | 26 static void call_on_globals(void (*hook)(__asan_global *, uptr)) { in call_on_globals() 40 hook(start, n); in call_on_globals()
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_fuchsia.cpp | 108 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook() argument 109 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook)); in __sanitizer_thread_create_hook() 119 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook() argument 120 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook)); in __sanitizer_thread_start_hook() 127 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { ThreadFinish(); } in __sanitizer_thread_exit_hook() argument
|
| /llvm-project-15.0.7/lldb/test/API/api/multithreaded/ |
| H A D | test_stop-hook.cpp.template | 3 // python command in a stop hook. 44 // one that runs in the stop hook and sets a variable when it 46 // that we did indeed run the stop hook. 67 // Now add the stop hook: 68 interp.HandleCommand("target stop-hook add -o some-cmd", result); 70 throw Exception("Couldn't add a stop hook."); 130 // At this point the stop hook should have run. Check that: 133 throw Exception("Didn't actually call stop hook.");
|
| /llvm-project-15.0.7/lldb/test/Shell/Commands/ |
| H A D | command-stop-hook-output.test | 9 target stop-hook add -P stop_hook.stop_handler 10 # CHECK-LABEL: target stop-hook add -P stop_hook.stop_handler 11 # CHECK: Stop hook #1 added.
|
| H A D | command-stop-hook-no-target.test | 2 # RUN: %lldb -b -o 'target stop-hook add --name test --shlib test -o "p 95000 + 126"' -o 'file %t' … 3 # CHECK: Stop hook #1 added
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | DialectBase.td | 56 // If this dialect overrides the hook for materializing constants. 63 // If this dialect overrides the hook for verifying operation attributes. 66 // If this dialect overrides the hook for verifying region argument 70 // If this dialect overrides the hook for verifying region result attributes. 73 // If this dialect overrides the hook for op interface fallback. 88 // If this dialect overrides the hook for canonicalization patterns.
|
| /llvm-project-15.0.7/polly/test/ScopInfo/ |
| H A D | constant_functions_outside_scop_as_unknown.ll | 16 %hook = phi i8* [ %param1, %entry ], [ %add.ptr201, %cleanup ] 21 %add.ptr60 = getelementptr inbounds i8, i8* %hook, i32 %param2 29 %add.ptr201 = getelementptr inbounds i8, i8* %hook, i32 1
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | assign-null.c | 7 hookfunc hook; variable 10 hook = NULL; in clear_hook()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common.cpp | 322 auto hook = MFHooks[i].malloc_hook; in RunMallocHooks() local 323 if (!hook) in RunMallocHooks() 325 hook(ptr, size); in RunMallocHooks() 332 auto hook = MFHooks[i].free_hook; in RunFreeHooks() local 333 if (!hook) in RunFreeHooks() 335 hook(ptr); in RunFreeHooks()
|
| /llvm-project-15.0.7/llvm/test/ExecutionEngine/JITLink/X86/ |
| H A D | MachO_cstring_section_splitting.s | 3 # RUN: llvm-jitlink -debug-only=jitlink -noexec -entry hook %t 2>&1 | \ 25 .globl hook 27 hook: label
|
| H A D | MachO_empty_section.s | 2 # RUN: llvm-jitlink -noexec -entry hook %t.o
|
| /llvm-project-15.0.7/mlir/python/mlir/_mlir_libs/ |
| H A D | __init__.py | 91 for hook in post_init_hooks: 92 hook(self)
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | Canonicalization.md | 133 /// Implementations of this hook can only perform the following changes to the 152 /// Implementations of this hook can only perform the following changes to the 188 When the `fold` hook on an operation is not successful, the dialect can 190 the fold hook. 199 implement the `materializeConstant` hook. This hook takes in an `Attribute` 218 /// generated operation is expected to be constant-like. On success, this hook
|
| H A D | DefiningDialects.md | 72 Every dialect must implement an initialization hook to add attributes, operations, types, 74 dialect that should happen on construction. This hook is declared for every dialect to 147 materialization, and the `materializeConstant` hook is declared on the dialect. This 148 hook takes in an `Attribute` value, generally returned by `fold`, and produces a 159 /// generated operation is expected to be constant-like. On success, this hook 181 of that attribute. To hook into this verification for attributes that are prefixed 187 has been used within the attribute dictionary of an operation. This hook has the form: 204 is verified. The hook necessary for the dialect to implement has the form: 249 For a more detail description of the expected usages of this hook, view the detailed 271 generation of this hook, the `hasCanonicalizer` field may be used. This will declare [all …]
|
| H A D | Interfaces.md | 97 /// with default implementations that call the hook on the interface for a 143 /// This is an example of a non-static hook to an operation. 146 /// This is an example of a static hook to an operation. A static hook does 148 /// a virtual hook, the same as the non-static case, because the 149 /// implementation of the hook itself still requires indirection. 230 /// hook, making it accessible in the method body even if the method is not 363 "This is an example of a non-static hook to an operation.", 367 "This is an example of a static hook to an operation.", 386 - The list of interface hook methods that are defined by the IR object. 391 facing interface class, that do not need to hook into the IR entity. [all …]
|
| /llvm-project-15.0.7/mlir/docs/Tutorials/Toy/ |
| H A D | Ch-4.md | 14 like to provide the ability for transformations to opaquely hook into dialects 19 canonicalizations via a hook on our operations (`getCanonicalizationPatterns`). 49 hook into. 64 /// This hook checks to see if the given callable operation is legal to inline 65 /// into the given call. For Toy this hook can simply return true, as the Toy 72 /// This hook checks to see if the given operation is legal to inline into the 73 /// given region. For Toy this hook can simply return true, as all Toy 80 /// This hook cheks if the given 'src' region can be inlined into the 'dest' 88 /// This hook is called when a terminator operation has been inlined. The only 245 such as folding identity casts and verification. We hook into this interface by [all …]
|