[all-commits] [llvm/llvm-project] e2bcc3: Change `asan/TestCases/Darwin/malloc_zone-protecte...

danliew via All-commits all-commits at lists.llvm.org
Mon Dec 16 16:38:00 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e2bcc33b50f6ca8f37ce2d501b88119fc21eb783
      https://github.com/llvm/llvm-project/commit/e2bcc33b50f6ca8f37ce2d501b88119fc21eb783
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp

  Log Message:
  -----------
  Change `asan/TestCases/Darwin/malloc_zone-protected.cpp` to call abort so that it **always crashes**.

Summary:
This is needed because on some platforms we can't install signal
handlers and so the application just traps (i.e. crashes) rather than being intercepted
by ASan's signal handler which in the default Darwin config doesn't
exit with a crashing exit code.

rdar://problem/57984547

Reviewers: yln, kubamracek, jfb

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D71573




More information about the All-commits mailing list