Kuba Mracek dc36389ea8 [tsan] Fix crash in objc_sync_enter/objc_sync_exit when using an Obj-C tagged pointer
Objective-C tagged pointers (either bottom-most or top-most bit is 1) are valid Obj-C objects but are not valid pointers. Make sure we don't crash on them when used in objc_sync_enter/objc_sync_exit. Instead, let's synchronize on a global object.

Differential Revision: https://reviews.llvm.org/D49707

llvm-svn: 337837
2018-07-24 16:19:06 +00:00
..
2015-01-21 13:50:02 +00:00
2016-11-11 23:25:09 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2014-04-30 21:34:17 +00:00
2017-07-10 15:19:14 +00:00
2014-04-30 21:34:17 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-04-20 10:35:21 +00:00
2015-04-28 18:08:42 +00:00
2014-07-14 15:52:33 +00:00
2015-01-21 13:50:02 +00:00
2016-02-17 20:40:10 +00:00
2016-05-06 19:35:22 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2015-01-21 13:50:02 +00:00
2018-01-29 15:10:22 +00:00
2017-11-16 17:54:14 +00:00