Changeset 4bb5d36 for src/CodeGen


Ignore:
Timestamp:
May 16, 2022, 12:09:52 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
fa2a3b1
Parents:
c18bf9e
Message:

Visibility stragglers.
cfa_linkonce always means visibility default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/LinkOnce.cc

    rc18bf9e 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.