summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-11-07 16:31:08 +0000
committerDmitry Vyukov <dvyukov@google.com>2017-11-07 16:31:08 +0000
commit3cd4022c3931c422aa18bd6c80255b12250542ea (patch)
treeed7a44fa15cc05cf350cebfb9bf77a7b61ef115d /lldb/packages/Python/lldbsuite/test/expression_command
parentc6f0ade6c3fa747ec94abfda5e559f97c97f71db (diff)
downloadbcm5719-llvm-3cd4022c3931c422aa18bd6c80255b12250542ea.tar.gz
bcm5719-llvm-3cd4022c3931c422aa18bd6c80255b12250542ea.zip
tsan: allow usage of global vars with ctors in interceptors
We allow usage of global/per-thread data with non-trivial ctors/dtors throughout tsan code base by placing all global/per-thread data into Context/ThreadState and then explicitly constructing them with placement new. This greatly simplifies code by restricting the "linker initialized plague" to only these 2 objects. Do the same for interceptors data. This allows to use Vector instead of bunch of hand-written code in: https://reviews.llvm.org/D39619 Reviewed in: https://reviews.llvm.org/D39721 llvm-svn: 317587
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud