[dfsan] Rename and fix an internal test issue for mmap+calloc
authorJianzhou Zhao <jianzhouzh@google.com>
Fri, 30 Apr 2021 17:18:05 +0000 (17:18 +0000)
committerJianzhou Zhao <jianzhouzh@google.com>
Fri, 7 May 2021 00:57:21 +0000 (00:57 +0000)
commit87a6325fbe4315f3f24555797f216e96539a9397
treed93b555eb08771c71e1d99fdda32cca3c882df64
parentc4ed142e695f14ba5675ec6d12226ee706329a0f
[dfsan] Rename and fix an internal test issue for mmap+calloc

The linker suggests using -Wl,-z,notext.

Replaced assert by exit also fixed this.

After renaming, interceptor.c would be used to test interceptors in general by D101204.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D101649
compiler-rt/test/dfsan/mmap_at_init.c [moved from compiler-rt/test/dfsan/interceptors.c with 86% similarity]