[PATCH] D20759: Emit lifetime markers for asan builds

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 16:14:16 PDT 2016


vitalybuka created this revision.
vitalybuka added reviewers: kcc, eugenis, aizatsky.
vitalybuka added a subscriber: llvm-commits.

Add -fsanitize-address-use-after-scope flag
Asan can use life-time markers for use-after-scope check.

PR27453

http://reviews.llvm.org/D20759

Files:
  include/clang/Driver/Options.td
  include/clang/Driver/SanitizerArgs.h
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/BackendUtil.cpp
  lib/CodeGen/CGDecl.cpp
  lib/Driver/SanitizerArgs.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/lifetime-asan.c
  test/Driver/fsanitize.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20759.58860.patch
Type: text/x-patch
Size: 10604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160527/2cdb5903/attachment.bin>


More information about the llvm-commits mailing list