Commit 9cb5e37
committed
[IRGen] Use PrivateLinkage for
`.swift_ast` section is now recognized as a "metadata" section by LLVM's
object emission. On WebAssembly, metadata symbols must not appear in the
object file symbol table. Therefore, change the linkage of the
`@__Swift_AST` global from InternalLinkage to PrivateLinkage to avoid
exposing the symbol.
swiftlang/llvm-project@555eaef@__Swift_AST global1 parent 2b6ea81 commit 9cb5e37
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1851 | 1851 | | |
1852 | 1852 | | |
1853 | 1853 | | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
1854 | 1858 | | |
1855 | | - | |
| 1859 | + | |
1856 | 1860 | | |
1857 | 1861 | | |
1858 | 1862 | | |
| |||
0 commit comments