diff options
author | Roy Sundahl <rsundahl@apple.com> | 2022-07-10 19:55:10 -0700 |
---|---|---|
committer | Roy Sundahl <rsundahl@apple.com> | 2022-07-13 11:46:56 -0700 |
commit | 0aefc94651b0a0ae46741f622c7da276b3cfa698 (patch) | |
tree | 445840424d223e6b6e72813852bdc1f1a0704bac /lldb/source/Commands/CommandObjectThread.cpp | |
parent | b532dd545fcd03562b324d99eb28523f8510e821 (diff) | |
download | llvm-0aefc94651b0a0ae46741f622c7da276b3cfa698.zip llvm-0aefc94651b0a0ae46741f622c7da276b3cfa698.tar.gz llvm-0aefc94651b0a0ae46741f622c7da276b3cfa698.tar.bz2 |
[asan][ubsan][test] Add weak attributes for dyld Mach-O weak-def-coalescing
Apple's dynamic linker won't weak-def_coalesce from a file unless there is
at least one weak symbol in the compilation unit so local __ubsan_on_report
never has the chance to override the weak one even though the dynamic linker
may see it first. This works around the issue by adding an unused weak symbol.
(Amended: Remove excessive clang-format artifacts)
rdar://95244261
Differential Revision: https://reviews.llvm.org/D127929
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions