• Ian Lance Taylor's avatar
    cmd/link: add -msan option · 7b4b96f2
    Ian Lance Taylor authored
    The -msan option causes the linker to link against the runtime/msan
    package in order to use the C/C++ memory sanitizer.
    
    This CL passes tests but is not usable by itself.  The actual
    runtime/msan package, and support for -msan in the go tool and the
    compiler, and tests, are in separate CLs.
    
    Change-Id: I02c097393b98c5b80e40ee3dbc167a8b4d23efe0
    Reviewed-on: https://go-review.googlesource.com/16161
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: 's avatarDavid Crawshaw <crawshaw@golang.org>
    7b4b96f2
pobj.go 8.46 KB