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/test/CoverageMapping/unused_function.cpp | |
| parent | de01668b14b45d97f038172aa7b076cc2985c737 (diff) | |
| download | bcm5719-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/test/CoverageMapping/unused_function.cpp')
0 files changed, 0 insertions, 0 deletions

