Skip to content

Commit d9b754d

Browse files
[test] Update test/IRGen/section_wasm.swift for new section flags
5298450 added @_used for the function and it added "R" flag (WASM_SEG_FLAG_RETAIN) to the section directive. This patch updates the test to match the new section flags.
1 parent d216486 commit d9b754d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/section_wasm.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// ASM-NOT: .section{{.*}}__TEXT,__mysection
88
// ASM: .section ".text.$s7section3fooyyF"
99
// ASM: $s7section3fooyyF:
10-
// ASM: .section ".text.$s7section8MyStructV3fooyyF","",@
10+
// ASM: .section ".text.$s7section8MyStructV3fooyyF","R",@
1111
// ASM: $s7section8MyStructV3fooyyF:
1212

1313
// Wasm places one-time init token on .bss section before each "__TEXT,__mysection"

0 commit comments

Comments
 (0)