summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/HeaderMap.cpp
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2018-04-02 17:27:38 +0000
committerRong Xu <xur@google.com>2018-04-02 17:27:38 +0000
commit5a8d4c3357c9c7910ef2a39ea10d66c0a24f327d (patch)
tree9d8ef315c4bcc74a748ffa9e30b0d5f0d3b25037 /clang/lib/Lex/HeaderMap.cpp
parentde01668b14b45d97f038172aa7b076cc2985c737 (diff)
downloadbcm5719-llvm-5a8d4c3357c9c7910ef2a39ea10d66c0a24f327d.tar.gz
bcm5719-llvm-5a8d4c3357c9c7910ef2a39ea10d66c0a24f327d.zip
[DeadArgumentElim] Clone function level metadatas
Some Function level metadatas, such as function entry count, are not cloned in DeadArgumentElim. This happens a lot in lto/thinlto because of DeadArgumentElim after internalization. This patch clones the metadatas in the original function to the new function. Differential Revision: https://reviews.llvm.org/D44127 llvm-svn: 328991
Diffstat (limited to 'clang/lib/Lex/HeaderMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud