Commit 3232bdf
authored
teach aot emitter/loader about .srodata and .srodata.cst* sections (#4240)
LLVM 19 and later started to use srodata ("small read only data")
sections for RISCV. cf. llvm/llvm-project#82214
this commit makes our aot emitter/loader deal with those sections.
an alternative would be to disable small data sections completely by
setting the "SmallDataLimit" module attribute to zero. however, i feel
this commit is more straightforward and consisitent as we are already
dealing with sdata sections.1 parent 9773390 commit 3232bdf
2 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3189 | 3189 | | |
3190 | 3190 | | |
3191 | 3191 | | |
3192 | | - | |
3193 | | - | |
| 3192 | + | |
| 3193 | + | |
3194 | 3194 | | |
3195 | 3195 | | |
| 3196 | + | |
| 3197 | + | |
3196 | 3198 | | |
3197 | 3199 | | |
3198 | 3200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3270 | 3270 | | |
3271 | 3271 | | |
3272 | 3272 | | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
3273 | 3277 | | |
3274 | 3278 | | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
3275 | 3284 | | |
3276 | 3285 | | |
3277 | 3286 | | |
| |||
0 commit comments