Changes in src/Virtual/Tables.cc [aff7e86:b583113]
- File:
-
- 1 edited
-
src/Virtual/Tables.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Virtual/Tables.cc
raff7e86 rb583113 172 172 } 173 173 174 Attribute * linkonce( const std::string & subsection ) { 175 const std::string section = ".gnu.linkonce." + subsection; 176 return new Attribute( "section", { 177 new ConstantExpr( Constant::from_string( section ) ), 178 } ); 179 } 180 174 181 ObjectDecl * makeTypeIdInstance( StructInstType const * typeIdType ) { 175 182 assert( typeIdType ); … … 186 193 new AddressExpr( new NameExpr( "__cfatid_exception_t" ) ) 187 194 ) } ), 188 { new Attribute( "cfa_linkonce", {}) },195 { linkonce( typeid_name ) }, 189 196 noFuncSpecifiers 190 197 );
Note:
See TracChangeset
for help on using the changeset viewer.