File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -938,5 +938,6 @@ void IRGenModule::emitReflectionMetadataVersion() {
938
938
llvm::GlobalValue::LinkOnceODRLinkage,
939
939
Init,
940
940
" __swift_reflection_version" );
941
+ Version->setVisibility (llvm::GlobalValue::HiddenVisibility);
941
942
addUsedGlobal (Version);
942
943
}
Original file line number Diff line number Diff line change 22
22
23
23
// STRIP_REFLECTION_METADATA-NOT: @"\01l__swift3_reflection_metadata"
24
24
25
+ // CHECK-DAG: @__swift_reflection_version = linkonce_odr hidden constant i16 {{[0-9]+}}
25
26
// CHECK-DAG: private constant [2 x i8] c"i\00", section "{{[^"]*}}swift3_reflstr{{[^"]*}}"
26
27
// CHECK-DAG: private constant [3 x i8] c"ms\00", section "{{[^"]*}}swift3_reflstr{{[^"]*}}"
27
28
// CHECK-DAG: private constant [3 x i8] c"me\00", section "{{[^"]*}}swift3_reflstr{{[^"]*}}"
You can’t perform that action at this time.
0 commit comments