Fixes PR37898.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 19605 Build 19605: arc lint + arc unit
Event Timeline
Comment Actions
Another option is to add a special case to blacklist logic to make it not apply to __cfi_check_fail.
Yet another option is to make blacklist not apply to functions without a source location, but that seems to be done intentionally here:
http://llvm-cs.pcc.me.uk/tools/clang/lib/CodeGen/CodeGenModule.cpp#1827
Comment Actions
__cfi_check_fail certainly seems like a special case in that its behaviour is controlled only by flags and not the blacklist.
Maybe a simpler fix would be to add this to the top of EmitCfiCheckFail?
SanOpts = CGM.getLangOpts().Sanitize;