summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2018-07-24 16:19:06 +0000
committerKuba Mracek <mracek@apple.com>2018-07-24 16:19:06 +0000
commitdc36389ea8adbcc60db3055ed9999937a0b5b601 (patch)
tree13110a86c2a8115826fcae4da5024bcc40d87e1b /llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h
parent634f851766eeead719dbf971b8d449921f3a0bdb (diff)
downloadbcm5719-llvm-dc36389ea8adbcc60db3055ed9999937a0b5b601.tar.gz
bcm5719-llvm-dc36389ea8adbcc60db3055ed9999937a0b5b601.zip
[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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud