Re: CVS commit: src/external/gpl3/gcc/dist/libsanitizer

2018-02-05 Thread Kamil Rytarowski
On 05.02.2018 23:04, matthew green wrote:
> Module Name:  src
> Committed By: mrg
> Date: Mon Feb  5 22:04:54 UTC 2018
> 
> Modified Files:
>   src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common:
>   sanitizer_linux.cc sanitizer_platform_limits_posix.cc
>   src/external/gpl3/gcc/dist/libsanitizer/ubsan: ubsan_platform.h
> 
> Log Message:
> - enable powerpc and arm support.
> - port GetPcSpBp() to netbsd/powerpc* and netbsd/arm.
> 
> 

Upstream for the sanitizers is located in LLVM compiler-rt/lib (it's
equivalent to libsanitier in GCC with added wrappers for GCC).

https://github.com/llvm-mirror/compiler-rt

8snapshot contains a decent part of the upstreamed NetBSD work (at least
ASan, UBSan, partial TSan).

I think that we should upgrade libsanitizer to 8snapshot as-is, instead
of repeating the porting effort for 6.x. Or even better upgrade to HEAD
from LLVM directly (TSan, MSan + other fixes).

I will pickup the !amd64 patches added here and upstream to LLVM directly.



signature.asc
Description: OpenPGP digital signature


Re: CVS commit: src/sys/ddb

2018-02-05 Thread Pierre Pronchery
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi Matthew,

On 04/02/2018 10:17, matthew green wrote:
> Module Name:  src Committed By:   mrg Date:   Sun Feb  4 
> 09:17:54 UTC
> 2018
> 
> Modified Files: src/sys/ddb: db_access.c
> 
> Log Message: avoid leftshift of an unsigned value

Did you really mean "a signed value" instead?

Cheers,
- -- 
khorben
-BEGIN PGP SIGNATURE-

iQJHBAEBCAAxFiEEjPEp1wC4bxBrX8svMDjL25iGlwMFAlp4QjsTHGtob3JiZW5A
ZGVmb3JhLm9yZwAKCRAwOMvbmIaXAzlZEACn+oBbwFad9HHZLls6S/vDW9/Wact2
uluVVU04z5cCHTvCk3/JrrzsTC4WouFxs9/TCxEo0MNnYhtVJYLFun7DS77e/RKk
WUzRUEwqGShr16XZlOUqqQU8NmP7G+N6lALG2Zmi38QQCWuvXf9oqVmd8RWuke6o
YpcSJbsiEAQTGsfTygKTW1urpZOg7yYxbo0kvrDs73EiGc91bN7s3OkJDRInN9k/
aAxxUovvvIycPejsF8FNdJBv9eSjGqE6yQQjyB7jTcXr/HqUy3IN7ahcBpqda7fr
4zFTENC47t3WbuFgfjiwihplxNS5wbiUgAtrLTp7qNC875iH4sFYody/HxvXmJ36
xiIrBbWusYEelNoiGhhPS8pzDhD8EUkgF0klhfql5vZ5uy5NLjzRvI8I+D7/Zj8g
+t8GajfJSa8IHCXPu6QWqw9Pyx6EsxlJAeaPJA+HMFBuTGBWyTWmHFSLLdLfDxTO
QQmb2pcj2o3U5ECqQYpvRCJ3Ltto+QOmHCTKlG+PRHXTYfP/RQeCLeMZ9LxsAPhe
9Ht6qcpMGwEDUcyiORXaByDPztEx8w6h6ZauVgt0+Kg7nnF1Nnog8nwMfuZB7cLT
LjKcz6Xh9mmdg88hJWWYl1ybah7Ku02HF7jJte8X9UdJEazGkRBpqRAD/In06qDx
4vl2/zpbZrDpWw==
=Y54J
-END PGP SIGNATURE-