HomePhabricator

test/Driver/fsanitize.c: delete -target x86_64-linux-gnu from tests that should…

Description

test/Driver/fsanitize.c: delete -target x86_64-linux-gnu from tests that should always be available

Follow-up of D64317/r365587.

Details

Committed
MaskRayJul 11 2019, 10:51 PM
Parents
rL365871: [AMDGPU] Fixed comment. NFC.
Branches
Unknown
Tags
Unknown

Event Timeline

Looks like the default implementation of getSupportedSanitizers explicitly masks out SanitizerKind::Vptr, which would cause this error for any systems which have a default target that do not support the sanitizer.
If it's just this specific sanitizer, the fix should be to trivially revert the change presented here.

Looks like the default implementation of getSupportedSanitizers explicitly masks out SanitizerKind::Vptr, which would cause this error for any systems which have a default target that do not support the sanitizer.
If it's just this specific sanitizer, the fix should be to trivially revert the change presented here.

Thanks for fixing.

clang: error: unsupported option '-fsanitize=vptr' for target '<target>'

vptr isn't always available.