[llvm] [RISCV] Let -data-sections also work on sbss/sdata sections (PR #87040)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 03:09:50 PDT 2024
KaiYG wrote:
> There's a change in semantics which I think is undesirable due to https://github.com/llvm/llvm-project/pull/87040/files#diff-16406b22032eaeb81527fc5cf1938dd0981c926fcad2f5b2e9a9f9db7d31f03cR79-R82
Good catch. But I patched this issue in another way, as I think `isGlobalInSmallSection` should still return `true` for explicit sdata/sbss sections, and `EmitUniquedSection` should be set to `false` instead.
https://github.com/llvm/llvm-project/pull/87040
More information about the llvm-commits
mailing list