| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[OpenMP][OMPD] Fix GDB plugin to work correctly when installed (#153956) Fix the sys.path logic in the GDB plugin to insert the intended self-path in the first position rather than appending it to the end. The latter implied that if sys.path (naturally) contained the GDB's gdb-plugin directory, import ompd would return the top-level ompd/__init__.py module rather than the ompd/ompd.py submodule, as intended by adding the ompd/ directory to sys.path. This is intended to be a minimal change necessary to fix the issue. Alternatively, the code could be modified to import ompd.ompd and stop modifying sys.path entirely. However, I do not know why this option was chosen in the first place, so I can't tell if this won't break something. Fixes #153954 Signed-off-by: Michał Górny <mgorny@gentoo.org> | 11 个月前 | |
[ompd] Fix strict aliasing violation in TargetValue::getValue() (#97739) For the case where baseTypeSize does not match the size of T, read the value into a separate char buffer first. This avoids accessing buf using two different types. Fixes https://github.com/llvm/llvm-project/issues/94616. | 2 年前 | |
[OpenMP][test] Support target= in tests (#142380) LLVM is moving towards the target=<target triple RE> syntax in XFAIL: etc., and I'll need the same in a subsequent patch. This patch adds the necessary infrastructure. Tested on sparc-sun-solaris2.11, sparcv9-sun-solaris2.11, sparc-unknown-linux-gnu, sparc64-unknown-linux-gnu, i386-pc-solaris2.11, amd64-pc-solaris2.11, i686-pc-linux-gnu, and x86_64-pc-linux-gnu. | 1 年前 | |
[OpenMP][OMPD] Implementation of OMPD debugging library - libompd. This is a continuation of the review: https://reviews.llvm.org/D100181 Creates a new directory "libompd" under openmp. "TargetValue" provides operational access to the OpenMP runtime memory for OMPD APIs. With TargetValue, using "pointer" a user can do multiple operations from casting, dereferencing to accessing an element for structure. The member functions are designed to concatenate the operations that are needed to access values from structures. e.g., _a[6]->_b._c would read like : TValue(ctx, "_a").cast("A",2) .getArrayElement(6).access("_b").cast("B").access("_c") For example: If you have a pointer "ThreadHandle" of a running program then you can access/retrieve "threadID" from the memory using TargetValue as below. TValue(context, thread_handle->th) /*__kmp_threads[t]->th*/ .cast("kmp_base_info_t") .access("th_info") /*__kmp_threads[t]->th.th_info*/ .cast("kmp_desc_t") .access("ds") /*__kmp_threads[t]->th.th_info.ds*/ .cast("kmp_desc_base_t") .access("ds_thread") /*__kmp_threads[t]->th.th_info.ds.ds_thread*/ .cast("kmp_thread_t") .getRawValue(thread_id, 1); Reviewed By: @hbae Differential Revision: https://reviews.llvm.org/D100182 | 4 年前 | |
[OpenMP] [OMPD] Enable OMPD Tests It was disabled due to different failures it different llvm bots. Reviewed By: ye-luo Differential Revision: https://reviews.llvm.org/D138411 | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 4 年前 | ||
| 3 年前 |