[PATCH] D38971: Enhance libsanitizer support for invalid-pointer-pair.

Martin Liška via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 23:04:47 PST 2017


marxin updated this revision to Diff 122031.
marxin added a comment.

Updated version, as we mix __asan_globals and GlobalAddressDescription in GlobalAddressDescription::PointsInsideTheSameVariable, I decided not to use lambdas.
Even though, hope it's readable.


https://reviews.llvm.org/D38971

Files:
  lib/asan/asan_descriptions.cc
  lib/asan/asan_descriptions.h
  lib/asan/asan_report.cc
  lib/asan/asan_thread.cc
  lib/asan/asan_thread.h
  test/asan/TestCases/invalid-pointer-pairs-compare-errors.cc
  test/asan/TestCases/invalid-pointer-pairs-compare-success.cc
  test/asan/TestCases/invalid-pointer-pairs-subtract-errors.cc
  test/asan/TestCases/invalid-pointer-pairs-subtract-success.cc
  test/asan/TestCases/invalid-pointer-pairs-threads.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38971.122031.patch
Type: text/x-patch
Size: 16626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171108/32548481/attachment.bin>


More information about the llvm-commits mailing list