[clang] [compiler-rt] [llvm] [PGO][HIP] Fix HIP device profile collection and sections emission (PR #202095)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 02:25:25 PDT 2026


================
@@ -37,6 +38,10 @@ namespace {
 constexpr unsigned CudaFatMagic = 0x466243b1;
 constexpr unsigned HIPFatMagic = 0x48495046; // "HIPF"
 
+static std::string getOffloadProfilingNamesVarName(llvm::StringRef CUIDHash) {
----------------
arsenm wrote:

Construct the Twine inline where needed 

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


More information about the cfe-commits mailing list