summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
diff options
context:
space:
mode:
authorAaron Puchert <aaronpuchert@alice-dsl.net>2018-10-03 11:58:19 +0000
committerAaron Puchert <aaronpuchert@alice-dsl.net>2018-10-03 11:58:19 +0000
commit7146b0032fa4f713da5e199e4b96cfa84a630119 (patch)
tree20c1321ca8f440fba0700fc4e32a5636315a73cc /lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
parentd5a39553ff3eafaab675e581d973f700a4d7a6b5 (diff)
downloadbcm5719-llvm-7146b0032fa4f713da5e199e4b96cfa84a630119.tar.gz
bcm5719-llvm-7146b0032fa4f713da5e199e4b96cfa84a630119.zip
Thread safety analysis: Unwrap __builtin_expect in getTrylockCallExpr
Summary: When people are really sure they'll get the lock they sometimes use __builtin_expect. It's also used by some assertion implementations. Asserting that try-lock succeeded is basically the same as asserting that the lock is not held by anyone else (and acquiring it). Reviewers: aaron.ballman, delesley Reviewed By: aaron.ballman Subscribers: kristina, cfe-commits Differential Revision: https://reviews.llvm.org/D52398 llvm-svn: 343681
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud