about summary refs log tree commit diff
path: root/tests/run-make/symbols-all-mangled
AgeCommit message (Collapse)AuthorLines
2025-08-06Revert "Preserve the .debug_gdb_scripts section"bjorn3-21/+14
This reverts commit 868bdde25b030e0b71a29a5dbc04a891036e702e.
2025-08-05Preserve the .debug_gdb_scripts sectionSebastian Poeplau-14/+21
Make sure that compiler and linker don't optimize the section's contents away by adding the global holding the data to "llvm.used". The volatile load in the main shim is retained because "llvm.used", which translates to SHF_GNU_RETAIN on ELF targets, requires a reasonably recent linker; emitting the volatile load ensures compatibility with older linkers, at least when libstd is used. Pretty printers in dylib dependencies are now emitted by the main crate instead of the dylib; apart from matching how rlibs are handled, this approach has the advantage that `omit_gdb_pretty_printer_section` keeps working with dylib dependencies.
2025-06-16Change __rust_no_alloc_shim_is_unstable to be a functionDaniel Paoliello-8/+0
2025-04-12tests: produce target artifacts and/or require crate type / ignore cross-compileJieyou Xu-0/+2
Some tests fail on cross-compiled targets due to various linker problems on cross-compiled target, and having test coverage for these against cross-compiled targets is nice but not necessary.
2025-03-20tests: accept some noise from LLVM 21 in symbols-all-mangledAugie Fackler-2/+14
I'm not entirely sure this is correct, but it doesn't feel obviously-wrong so I figured I'd just start by sending a PR rather than filing a bug and letting it linger. @rustbot label llvm-main
2025-03-17Only run symbols-all-mangled test on ELF targetsbjorn3-0/+1
2025-03-17Ignore symbols that don't contain rust as substring for executablesbjorn3-8/+7
For staticlib we still keep checking symbols that don't contain rust as substring.
2025-03-17Add test that all symbols we expect to be mangled are actually mangledbjorn3-0/+88