Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/LinkOnce.cc

    raff7e86 r4bb5d36  
    5353                                new ConstantExpr( Constant::from_string( section_name ) )
    5454                        );
     55
     56                        // Unconditionnaly add "visibility(default)" to anything with gnu.linkonce
     57                        // visibility is a mess otherwise
     58                        attributes.push_back(new Attribute("visibility", {new ConstantExpr( Constant::from_string( "default" ) )}));
     59
    5560                }
    5661                visit_children = false;
Note: See TracChangeset for help on using the changeset viewer.