[PATCH] D136601: [OpenMP] [OMPIRBuilder] Create a new datatype to hold the unique target region info

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 15:27:06 PDT 2022


vitalybuka added inline comments.


================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:3031
+        OrderedEntries[E.getOrder()] =
+            std::make_tuple(&E, Loc, EntryInfo.ParentName);
+        ParentFunctions[E.getOrder()] = EntryInfo.ParentName;
----------------
mikerice wrote:
> Needed StringRef(EntryInfo.ParentName) for this to compile for me.
StringRef(EntryInfo.ParentName) is ref to the scope-local EntryInfo info, so you have HWASAN report here


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136601/new/

https://reviews.llvm.org/D136601



More information about the llvm-commits mailing list