summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2017-12-21 13:55:34 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2017-12-21 13:55:34 +0000
commit4fe83593ebc4d3759e2119d6f6b20cfa6bde1910 (patch)
tree34f9b1229d7a8173b11dbde6843e1d6604cfbf5d /lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
parent0e2a2571ca4639c8b75286988217017fbc884c7b (diff)
downloadbcm5719-llvm-4fe83593ebc4d3759e2119d6f6b20cfa6bde1910.tar.gz
bcm5719-llvm-4fe83593ebc4d3759e2119d6f6b20cfa6bde1910.zip
[OMPT] Handle null pointer in set_callback to improve performance
We use the bitmap ompt_enabled thoughout the runtime, to avoid loading the vector of callback functions when testing if specific code should be executed. Before invoking an event callback function, the pointer is tested for NULL. This revision resets the corresponding bit in ompt_enabled to 0 if NULL is passed in set_callback. Differential Revision: https://reviews.llvm.org/D41171 llvm-svn: 321264
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud