Commit graph

3 commits

Author SHA1 Message Date
Gary Guo
5467a398c2 Fix dso_local for external statics with linkage
The current code applies `dso_local` to the internal generated symbols
instead of the actually-externally one.
2025-12-29 19:26:34 +00:00
Gary Guo
1ff953d63e Fix and expand direct-access-external-data test
This test currently doesn't fulfill its purpose, as `external dso_local`
can still match `external {{.*}}`. Fix this by using CHECK-NOT directives.

Also, this test is expanded to all platforms where it makes sense, instead
of restricting to loongarch.
2025-12-29 19:26:34 +00:00
Guillaume Gomez
a27f3e3fd1 Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
Renamed from tests/codegen/direct-access-external-data.rs (Browse further)