NetBSD/pkgsrc-wip 3e7c52bcompiler-rt-netbsd distinfo, compiler-rt-netbsd/patches patch-lib_interception_interception__linux.cc

compiler-rt-netbsd: Handle sigaction syscall renaming

With this patch, llvm asan with with clang works.

$ cat test.c

int
main(int argc, char **argv)
{
        printf("%s", argv[argc+10000]);
        return 0;
}

$ /usr/pkg/bin/clang -fno-omit-frame-pointer -O0 -g -ggdb -U_FORTIFY_SOURCE -fsanitize=address -v test.c -o bin-czz

$  ./bin-czz
ASAN:DEADLYSIGNAL
=================================================================
==13478==ERROR: AddressSanitizer: SEGV on unknown address 0x1fefffed72f6
(pc 0x00000047fcb1 bp 0x7f7fff6a5ef0 sp 0x7f7fff6a5ed0 T0)
==13478==The signal is caused by a READ memory access.
    #0 0x47fcb0 in main /tmp/test.c:6:15
    #1 0x409dfa in ___start (/tmp/bin-czz+0x409dfa)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /tmp/test.c:6:15 in main
==13478==ABORTING

Sponsored by <The NetBSD Foundation>
DeltaFile
+23-2compiler-rt-netbsd/patches/patch-lib_interception_interception__linux.cc
+1-1compiler-rt-netbsd/distinfo
+24-32 files

UnifiedSplitRaw