@@ -1642,10 +1642,10 @@ void jl_dump_native_impl(void *native_code,
16421642
16431643 // let the compiler know we are going to internalize a copy of this,
16441644 // if it has a current usage with ExternalLinkage
1645- auto small_typeof_copy = dataM.getGlobalVariable (" small_typeof " );
1646- if (small_typeof_copy ) {
1647- small_typeof_copy ->setVisibility (GlobalValue::HiddenVisibility);
1648- small_typeof_copy ->setDSOLocal (true );
1645+ auto jl_small_typeof_copy = dataM.getGlobalVariable (" jl_small_typeof " );
1646+ if (jl_small_typeof_copy ) {
1647+ jl_small_typeof_copy ->setVisibility (GlobalValue::HiddenVisibility);
1648+ jl_small_typeof_copy ->setDSOLocal (true );
16491649 }
16501650 }
16511651
@@ -1721,21 +1721,21 @@ void jl_dump_native_impl(void *native_code,
17211721 auto shards = emit_shard_table (metadataM, T_size, T_psize, threads);
17221722 auto ptls = emit_ptls_table (metadataM, T_size, T_psize);
17231723 auto header = emit_image_header (metadataM, threads, nfvars, ngvars);
1724- auto AT = ArrayType::get (T_size, sizeof (small_typeof ) / sizeof (void *));
1725- auto small_typeof_copy = new GlobalVariable (metadataM, AT, false ,
1724+ auto AT = ArrayType::get (T_size, sizeof (jl_small_typeof ) / sizeof (void *));
1725+ auto jl_small_typeof_copy = new GlobalVariable (metadataM, AT, false ,
17261726 GlobalVariable::ExternalLinkage,
17271727 Constant::getNullValue (AT),
1728- " small_typeof " );
1729- small_typeof_copy ->setVisibility (GlobalValue::HiddenVisibility);
1730- small_typeof_copy ->setDSOLocal (true );
1728+ " jl_small_typeof " );
1729+ jl_small_typeof_copy ->setVisibility (GlobalValue::HiddenVisibility);
1730+ jl_small_typeof_copy ->setDSOLocal (true );
17311731 AT = ArrayType::get (T_psize, 5 );
17321732 auto pointers = new GlobalVariable (metadataM, AT, false ,
17331733 GlobalVariable::ExternalLinkage,
17341734 ConstantArray::get (AT, {
17351735 ConstantExpr::getBitCast (header, T_psize),
17361736 ConstantExpr::getBitCast (shards, T_psize),
17371737 ConstantExpr::getBitCast (ptls, T_psize),
1738- ConstantExpr::getBitCast (small_typeof_copy , T_psize),
1738+ ConstantExpr::getBitCast (jl_small_typeof_copy , T_psize),
17391739 ConstantExpr::getBitCast (target_ids, T_psize)
17401740 }),
17411741 " jl_image_pointers" );
0 commit comments