aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-06-25 14:30:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-06-25 14:30:31 +0000
commit540c3d23df1fa0c0e369be768e9ff08bd87799ae (patch)
tree3828e23886b338b7c42bd10e0304bcfb2897bd60 /llvm/lib/Support/Path.cpp
parent9ed4f506bb8aac05286828402d3602959420af21 (diff)
downloadllvm-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