diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-06-25 14:30:31 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-06-25 14:30:31 +0000 |
commit | 540c3d23df1fa0c0e369be768e9ff08bd87799ae (patch) | |
tree | 3828e23886b338b7c42bd10e0304bcfb2897bd60 /llvm/lib/Support/Path.cpp | |
parent | 9ed4f506bb8aac05286828402d3602959420af21 (diff) | |
download | llvm-540c3d23df1fa0c0e369be768e9ff08bd87799ae.zip llvm-540c3d23df1fa0c0e369be768e9ff08bd87799ae.tar.gz llvm-540c3d23df1fa0c0e369be768e9ff08bd87799ae.tar.bz2 |
If a constant or a function has linkonce_odr linkage and unnamed_addr, mark it
hidden. Being linkonce_odr guarantees that it is available in every dso that
needs it. Being a constant/function with unnamed_addr guarantees that the
copies don't have to be merged.
llvm-svn: 159136
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions