bjorn3 opened issue #8901:
Feature
See title
Benefit
This would allow the linker to deduplicate the strings. In addition some linker don't like mixing attributes between sections that get merged, so if the user of cg_clif specified that the data object needs to end up in
__TEXT/__cstring
, we will need to respect thecstring_literals
section type likely specified by the user too.Implementation
cranelift-jit can ignore this and cranelift-object can use
SectionKind::ReadOnlyString
.
Last updated: Nov 22 2024 at 16:03 UTC