[llvm] Add support for PSV EntryFunctionName (PR #86296)

Cooper Partin via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 08:45:49 PDT 2024


================
@@ -424,6 +424,22 @@ struct ResourceBindInfo : public v0::ResourceBindInfo {
 };
 
 } // namespace v2
+
+namespace v3 {
+struct RuntimeInfo : public v2::RuntimeInfo {
+  uint32_t EntryNameOffset;
+
+  void swapBytes() {
+    v2::RuntimeInfo::swapBytes();
----------------
coopp wrote:

This v2::RuntimeInfo::swapBytes( ) call is what was missing from my original PR.  This is why the ThreadsX/Y/Z were byte swapped incorrectly on Big Endian machines.

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


More information about the llvm-commits mailing list