summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorJun Bum Lim <junbuml@codeaurora.org>2017-06-23 16:12:37 +0000
committerJun Bum Lim <junbuml@codeaurora.org>2017-06-23 16:12:37 +0000
commit506cfb7ab745c49841675e969b01ea2ec3707df2 (patch)
tree6d8f07e2d3fbb79fcd9948ebd1556d72a432d1a0 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parenteaf0051ba30a6d3262cd6f9d0fbccd93f0949305 (diff)
downloadbcm5719-llvm-506cfb7ab745c49841675e969b01ea2ec3707df2.tar.gz
bcm5719-llvm-506cfb7ab745c49841675e969b01ea2ec3707df2.zip
[InlineCost] Do not take INT_MAX when Cost is negative
Summary: visitSwitchInst should not take INT_MAX when Cost is negative. Instead of INT_MAX , we also use a valid upperbound cost when overflow occurs in Cost. Reviewers: hans, echristo, dmgreen Reviewed By: dmgreen Subscribers: mcrosier, javed.absar, llvm-commits, eraman Differential Revision: https://reviews.llvm.org/D34436 llvm-svn: 306118
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud