Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/external/gpl3/gcc



Module Name:    src
Committed By:   kamil
Date:           Fri Sep 11 01:05:28 UTC 2020

Modified Files:
        src/external/gpl3/gcc/dist/libsanitizer/lsan: lsan_common.h
            lsan_linux.cc
        src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: Makefile.am
            Makefile.in sanitizer_netbsd.cc sanitizer_posix.h
        src/external/gpl3/gcc/lib: Makefile.sanitizer
Added Files:
        src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common:
            sanitizer_stoptheworld_netbsd_libcdep.cc

Log Message:
Add NetBSD LSan support

Cherry-pick and adapt:

commit 983d7ddd0b278b45d815cbac9197205b39c4860a
Author: Kamil Rytarowski <n54%gmx.com@localhost>
Date:   Thu Jul 11 06:22:35 2019 +0000

    Add NetBSD LSan support

    Summary:
    Combine few relatively small changes into one:

     - implement internal_ptrace() and internal_clone() for NetBSD
     - add support for stoptheworld based on the ptrace(2) API
     - define COMPILER_RT_HAS_LSAN for NetBSD
     - enable tests for NetBSD/amd64

    Inspired by the original implementation by Christos Zoulas in netbsd/src for GCC.

    The implementation is in theory CPU independent through well defined macros
    across all NetBSD ports, however only the x86_64 version was tested.

    Reviewers: mgorny, dvyukov, vitalybuka, joerg, jfb

    Reviewed By: vitalybuka

    Subscribers: dexonsmith, jfb, srhines, kubamracek, llvm-commits, christos

    Tags: #llvm

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

    llvm-svn: 365735


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_linux.cc
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/Makefile.am \
    src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/Makefile.in
cvs rdiff -u -r1.6 -r1.7 \
    src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_netbsd.cc
cvs rdiff -u -r1.1.1.6 -r1.2 \
    src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_posix.h
cvs rdiff -u -r0 -r1.1 \
    src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_stoptheworld_netbsd_libcdep.cc
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/lib/Makefile.sanitizer

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index