fix(build): run guest_unused_import_dependencies without the ASan link order check #9238
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9238"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-21T16:11:41Z.
What
In an
ANYPS5_ENABLE_ASANbuild,guest_unused_import_dependenciesfails before its guest runs:The test loads
guest_module_args_hostinto a relinked guest, likeguest_module_args,guest_deferred_dependencies,guest_module_finiandguest_zero_initializer. #7147 gave those testsverify_asan_link_order=0throughadd_asan_test_options, which explains why. #6903 added this test two days later, without the option. It now gets the option too.add_asan_test_optionsdoes nothing outside an ASan build, so other builds don't change.Tested
Ubuntu 24.04, GCC 13.3, on
maincecb540a63.ANYPS5_ENABLE_ASANbuild,ctest -R '^guest_unused_import_dependencies$':main: fails 3 of 3 with the message above.ASAN_OPTIONS.It came up in an ASan sweep of the CPU-side tests on
main. #9236 fixes a test buffer over-read found in the same sweep.Not tested: Windows, macOS (where
add_asan_test_optionsadds nothing unless ASan is on).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code