summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-05-26 07:11:09 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-05-26 07:11:09 +0000
commit474512576ef75d3e400f8ac3d6109524e9cc053b (patch)
treeed9fa7a51a8bcbf95a9627c51e265f0aa5f8a62e /lldb/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp
parent4f7bbf617be016c5e1381a3289b7b5d361055d43 (diff)
downloadbcm5719-llvm-474512576ef75d3e400f8ac3d6109524e9cc053b.tar.gz
bcm5719-llvm-474512576ef75d3e400f8ac3d6109524e9cc053b.zip
[MergedLoadStoreMotion] Don't transform across may-throw calls
It is unsafe to hoist a load before a function call which may throw, the throw might prevent a pointer dereference. Likewise, it is unsafe to sink a store after a call which may throw. The caller might be able to observe the difference. This fixes PR27858. llvm-svn: 270828
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud