diff options
author | Warren Ristow <warren.ristow@sony.com> | 2018-10-10 22:54:31 +0000 |
---|---|---|
committer | Warren Ristow <warren.ristow@sony.com> | 2018-10-10 22:54:31 +0000 |
commit | febfc4e89b61bc51526ce5a54e149f64c62f95ba (patch) | |
tree | 13f94ac3959ea5415817fea23a1051d87d3a886f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 335315697ac4079a9ec4a2e9911373ab4ba9dc2f (diff) | |
download | bcm5719-llvm-febfc4e89b61bc51526ce5a54e149f64c62f95ba.tar.gz bcm5719-llvm-febfc4e89b61bc51526ce5a54e149f64c62f95ba.zip |
[LTO] Account for overriding lib calls via the alias attribute
Given a library call that is represented as an llvm intrinsic call, but
later transformed to an actual call, if an overriding definition of that
library routine is provided indirectly via an alias, prevent LTO from
eliminating the definition.
This is a fix for PR38547.
Differential Revision: https://reviews.llvm.org/D52836
llvm-svn: 344198
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions