Commit 1114df8
committed
[core] Use version script to hide symbols in libCling
We already use -fvisibility=hidden and -fvisibility-inlines-hidden
to generate symbols that are not exported from the shared object.
However, these two options don't apply for non-inline template
instantiations, which can still cause problems when a STL container
is instantiated with an LLVM type that may change size between LLVM
versions.
Fixes #198891 parent 7a5a5c6 commit 1114df8
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments