]> granicus.if.org Git - llvm/commit
[ThinLTO] Use decimal suffix for promoted values to match demanglers
authorTeresa Johnson <tejohnson@google.com>
Fri, 29 Sep 2017 15:55:42 +0000 (15:55 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 29 Sep 2017 15:55:42 +0000 (15:55 +0000)
commitd21bc491edfee149072b6fe62a930f36b2ce9a80
treecd2db768f7baf96906779b55fc351c7dc8ce0ee4
parent0fbd59fa1265d5e03a95ec6ec7561b965ae453b8
[ThinLTO] Use decimal suffix for promoted values to match demanglers

Summary:
Demanglers such as libiberty know how to strip suffixes of the form
\.[a-zA-Z]+\.\d+, but our current promoted value suffixes are
.llvm.${modulehash}, where the module hash is in hex. Change the
module hash to decimal to allow demanglers to handle this.

Reviewers: danielcdh

Subscribers: llvm-commits, inglorion

Differential Revision: https://reviews.llvm.org/D38405

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314527 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/ModuleSummaryIndex.h