[Openmp-commits] [clang] [libc] [lld] [openmp] [llvm] [flang] [libcxx] [lldb] [compiler-rt] [clang-tools-extra] [PGO][OpenMP] Instrumentation for GPU devices (PR #76587)

Ethan Luis McDonough via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 4 20:45:10 PST 2024


================
@@ -58,6 +60,22 @@ class GlobalTy {
   void setPtr(void *P) { Ptr = P; }
 };
 
+typedef void *IntPtrT;
----------------
EthanLuisMcDonough wrote:

`IntPtrT` isn't defined in `profile/InstrProfData.inc`. There are multiple examples of this type being defined. before InstProfData.inc is included. I'm not entirely sure what its for, but I'm assuming its to account for different platforms with different integer sizes.

https://github.com/llvm/llvm-project/pull/76587


More information about the Openmp-commits mailing list