aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2020-10-28 16:04:02 -0700
committerKostya Kortchinsky <kostyak@google.com>2020-10-29 15:51:13 -0700
commit3591721ada99810aeddfa3d4c83eea0dbeed7f18 (patch)
treef9752b0fc2fd52892bb0e0628e2d5faf70433a50 /llvm/lib/Object/MachOObjectFile.cpp
parenteaee608448c832e8f806faae30ae4100620c4688 (diff)
downloadllvm-3591721ada99810aeddfa3d4c83eea0dbeed7f18.zip
llvm-3591721ada99810aeddfa3d4c83eea0dbeed7f18.tar.gz
llvm-3591721ada99810aeddfa3d4c83eea0dbeed7f18.tar.bz2
[GWP-ASan] Add mutexes for Fuchsia
Mitch expressed a preference to not have `#ifdef`s in platform agnostic code, this change tries to accomodate this. I am not attached to the method this CL proposes, so if anyone has a suggestion, I am open. We move the platform specific member of the mutex into its own platform specific class that the main `Mutex` class inherits from. Functions are implemented in their respective platform specific compilation units. For Fuchsia, we use the sync APIs, as those are also the ones being used in Scudo. Differential Revision: https://reviews.llvm.org/D90351
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions