Avoid false-positive MSan error for thread_local
thread_local variables in shared libraries are initialized at load-time,
but this is not observed by MemorySanitizer if the loader itself was not
instrumented, leading to false-positive unitialized variable errors.
Bug: b/155148722
Bug: b/157525646
Change-Id: Ib6b865a44678af83d94499d3764e5134607328c4
Signed-off-by: Nicolas Capens <capn@google.com># Please enter the commit message for your changes. Lines starting
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/49548Tested-by:
Nicolas Capens <nicolascapens@google.com>
Reviewed-by:
Ben Clayton <bclayton@google.com>
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Showing
Please
register
or
sign in
to comment