Skip to content
Commit 1821c6c3 authored by Rafael Espindola's avatar Rafael Espindola
Browse files

Some optimizations done by globalopt are safe only for internal linkage, not

linkonce linkage. For example, it is not valid to add unnamed_addr.

This also fixes a crash in g++.dg/opt/static5.C.

llvm-svn: 158528
parent a15a224d
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