DescriptionAdd Static Initializer for leak detector TLS
This is optional for running leak detector on browser process, but later
it will be necessary to run on renderer process. By initializing the
pthread TLS system early, we avoid initializing it from within an alloc
hook function, in which case it would go into a recursive call loop.
BUG=chromium:615223
Committed: https://crrev.com/386a3c02dede8c906afd6dbda83e28da48c93f8f
Cr-Commit-Position: refs/heads/master@{#397834}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Renamed Init function; added comments; ignore_result; call from chrome/app #Patch Set 3 : Include protobuf header in unittest; Browser publicly depends on leak_detector #
Messages
Total messages: 20 (9 generated)
|