[PATCH] D149002: [compiler-rt][interception][asan][win] Improve error reporting

Alvin Wong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 30 06:59:54 PDT 2023


alvinhochun updated this revision to Diff 518305.
alvinhochun retitled this revision from "[compiler-rt][interception][win] Improve error reporting" to "[compiler-rt][interception][asan][win] Improve error reporting".
alvinhochun edited the summary of this revision.
alvinhochun added a comment.

Split the bit making unknown instructions non-fatal into D149549 <https://reviews.llvm.org/D149549>, and change the way errors are reported to avoid direct dependency from interception to sanitizer_common. Now asan registers a callback in interceptor to call `__sanitizer::Report`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149002/new/

https://reviews.llvm.org/D149002

Files:
  compiler-rt/lib/asan/asan_interceptors.cpp
  compiler-rt/lib/asan/asan_interceptors.h
  compiler-rt/lib/asan/asan_linux.cpp
  compiler-rt/lib/asan/asan_mac.cpp
  compiler-rt/lib/asan/asan_win.cpp
  compiler-rt/lib/interception/interception_win.cpp
  compiler-rt/lib/interception/interception_win.h
  compiler-rt/lib/interception/tests/interception_win_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149002.518305.patch
Type: text/x-patch
Size: 6911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230430/e68cbbe1/attachment.bin>


More information about the llvm-commits mailing list