aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-09-14 14:06:33 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-09-14 14:06:33 +0000
commita1ea64a0443ca482821f87ca117af1daaa22c044 (patch)
tree985132645b896cad5a0d806400ea47aa2106160a /llvm/lib/CodeGen/StackProtector.cpp
parentac772c3c2f56639d4de27f6a31fc3bc29bfe1849 (diff)
downloadllvm-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