Is this related to coverage? If not, should the test go to sanitizer-ld.c instead?
Moved the testcase as suggested by @samitolvanen
-ffixed-x18 isn't needed after D145999. Can you drop the flag and land that patch first?
Perhaps CHECK-SHADOWCALLSTACK-ANDROID-RISCV64 to match the naming convention in the file?
Should we also check for -NOT: error: like the Fuchsia test below?
I'll fold this to D145999.
-ffixed-x18 isn't needed after D145999. Can you drop the flag and land that patch first?