Skip to content
Commit 540c3d23 authored by Rafael Espindola's avatar Rafael Espindola
Browse files

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
parent 9ed4f506
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment