[PATCH] D54469: Introduce new `disable_init` ASan option that is only supported on platforms where `SANITIZER_SUPPORTS_DISABLED_INIT` is true. Currently this is only supported on Darwin.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 14 06:36:48 PST 2018


delcypher updated this revision to Diff 174031.
delcypher added a comment.

- Rename macro and support functions to explicitly mention dlopen.
- Introduce `InitIsViaDlopen()` function and remove the `disable_init` ASan option.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D54469

Files:
  lib/asan/asan_internal.h
  lib/asan/asan_mac.cc
  lib/asan/asan_malloc_mac.cc
  lib/asan/asan_rtl.cc
  lib/sanitizer_common/sanitizer_platform.h
  test/asan/TestCases/Darwin/init_for_dlopen.cc
  test/sanitizer_common/ios_commands/iossim_run.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54469.174031.patch
Type: text/x-patch
Size: 5759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181114/73697eca/attachment-0001.bin>


More information about the llvm-commits mailing list