diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-09-14 14:06:33 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-09-14 14:06:33 +0000 |
commit | a1ea64a0443ca482821f87ca117af1daaa22c044 (patch) | |
tree | 985132645b896cad5a0d806400ea47aa2106160a /llvm/lib/CodeGen/StackProtector.cpp | |
parent | ac772c3c2f56639d4de27f6a31fc3bc29bfe1849 (diff) | |
download | llvm-a1ea64a0443ca482821f87ca117af1daaa22c044.zip llvm-a1ea64a0443ca482821f87ca117af1daaa22c044.tar.gz llvm-a1ea64a0443ca482821f87ca117af1daaa22c044.tar.bz2 |
[asan] Enable -asan-use-private-alias on Darwin/Mach-O, add test for ODR false positive with LTO (llvm 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: 281470
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions