summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-03-11 10:22:49 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-03-11 10:22:49 +0000
commitb4faf13c15596473468293d92940500dd16784b7 (patch)
treed3a542d9eb94f7c82e6dc8283ab1b562a2fe9fb1 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentc1263534738a5bf464f01942c6f34c21ea6293e1 (diff)
downloadbcm5719-llvm-b4faf13c15596473468293d92940500dd16784b7.tar.gz
bcm5719-llvm-b4faf13c15596473468293d92940500dd16784b7.zip
[PM] Implement the final conclusion as to how the analysis IDs should
work in the face of the limitations of DLLs and templated static variables. This requires passes that use the AnalysisBase mixin provide a static variable themselves. So as to keep their APIs clean, I've made these private and befriended the CRTP base class (which is the common practice). I've added documentation to AnalysisBase for why this is necessary and at what point we can go back to the much simpler system. This is clearly a better pattern than the extern template as it caught *numerous* places where the template magic hadn't been applied and things were "just working" but would eventually have broken mysteriously. llvm-svn: 263216
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud