diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-09-14 14:09:18 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-09-14 14:09:18 +0000 |
commit | 410dbbd296dcefcd22ee2eac1e7a99f6d377025b (patch) | |
tree | c747c0cc5665e8413a4fe828a97b70d3c9a85870 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | ba325e3a732423ffa14e0346e491434b04d78016 (diff) | |
download | llvm-410dbbd296dcefcd22ee2eac1e7a99f6d377025b.zip llvm-410dbbd296dcefcd22ee2eac1e7a99f6d377025b.tar.gz llvm-410dbbd296dcefcd22ee2eac1e7a99f6d377025b.tar.bz2 |
[asan] Enable -asan-use-private-alias on Darwin/Mach-O, add test for ODR false positive with LTO (compiler-rt part)
The '-asan-use-private-alias’ option (disabled by default) option is currently only enabled for Linux and ELF, but it also works on Darwin and Mach-O. This option also fixes a known problem with LTO on Darwin (https://github.com/google/sanitizers/issues/647). This patch enables the support for Darwin (but still keeps it off by default) and adds the LTO test case.
Differential Revision: https://reviews.llvm.org/D24292
llvm-svn: 281472
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions