diff options
author | Rong Xu <xur@google.com> | 2018-04-02 17:27:38 +0000 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2018-04-02 17:27:38 +0000 |
commit | 5a8d4c3357c9c7910ef2a39ea10d66c0a24f327d (patch) | |
tree | 9d8ef315c4bcc74a748ffa9e30b0d5f0d3b25037 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | de01668b14b45d97f038172aa7b076cc2985c737 (diff) | |
download | llvm-5a8d4c3357c9c7910ef2a39ea10d66c0a24f327d.zip llvm-5a8d4c3357c9c7910ef2a39ea10d66c0a24f327d.tar.gz llvm-5a8d4c3357c9c7910ef2a39ea10d66c0a24f327d.tar.bz2 |
[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/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions