[PATCH] D38405: [ThinLTO] Use decimal suffix for promoted values to match demanglers

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 08:57:21 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL314527: [ThinLTO] Use decimal suffix for promoted values to match demanglers (authored by tejohnson).

Repository:
  rL LLVM

https://reviews.llvm.org/D38405

Files:
  llvm/trunk/include/llvm/IR/ModuleSummaryIndex.h


Index: llvm/trunk/include/llvm/IR/ModuleSummaryIndex.h
===================================================================
--- llvm/trunk/include/llvm/IR/ModuleSummaryIndex.h
+++ llvm/trunk/include/llvm/IR/ModuleSummaryIndex.h
@@ -743,7 +743,7 @@
   static std::string getGlobalNameForLocal(StringRef Name, ModuleHash ModHash) {
     SmallString<256> NewName(Name);
     NewName += ".llvm.";
-    NewName += utohexstr(ModHash[0]); // Take the first 32 bits
+    NewName += utostr(ModHash[0]); // Take the first 32 bits
     return NewName.str();
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38405.117159.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170929/979cb615/attachment.bin>


More information about the llvm-commits mailing list