[PATCH] D32724: [Modules] Handle sanitizer feature mismatches when importing modules

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 13:00:14 PDT 2017


vsk updated this revision to Diff 98343.
vsk retitled this revision from "[Modules] Include the enabled sanitizers in the module hash" to "[Modules] Handle sanitizer feature mismatches when importing modules".
vsk edited the summary of this revision.
vsk added a comment.

If compatible differences between a CU's lang opts and an imported module's lang opts are not allowed, issue an error when there is a mismatch in the set of enabled, non-modular sanitizers.


https://reviews.llvm.org/D32724

Files:
  include/clang/Basic/Sanitizers.h
  lib/Basic/LangOptions.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Serialization/ASTReader.cpp
  test/Modules/Inputs/check-for-sanitizer-feature/check.h
  test/Modules/Inputs/check-for-sanitizer-feature/map
  test/Modules/check-for-sanitizer-feature.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32724.98343.patch
Type: text/x-patch
Size: 7318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170509/d1ee8e3f/attachment.bin>


More information about the cfe-commits mailing list