This is an archive of the discontinued LLVM Phabricator instance.

More explicit message when failing to find a mandatory cfi ressource file
ClosedPublic

Authored by serge-sans-paille on Feb 24 2022, 7:12 AM.

Details

Summary

Compiler-rt doesn't provide support file for cfi on s390x ad ppc64le (at least). When trying to use the flag, we get a file error.
This is an attempt at making the error more explicit, maybe we should also suggest passing -fno-sanitize-ignorelist?

Diff Detail

Event Timeline

serge-sans-paille requested review of this revision.Feb 24 2022, 7:12 AM
serge-sans-paille created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 24 2022, 7:12 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Updating test case / sorry for the delay

Herald added a project: Restricted Project. · View Herald TranscriptMay 31 2022, 6:07 AM
Herald added a subscriber: MaskRay. · View Herald Transcript
MaskRay accepted this revision.May 31 2022, 7:05 PM
MaskRay added inline comments.
clang/include/clang/Basic/DiagnosticDriverKinds.td
209

missing sanitizer ignorelist:

This revision is now accepted and ready to land.May 31 2022, 7:05 PM