[llvm-commits] [PATCH] Make use of OpenBSD's libc routines for stack protector

Eli Friedman eli.friedman at gmail.com
Thu Aug 9 01:40:14 PDT 2012


On Thu, Aug 9, 2012 at 12:52 AM, Brad Smith <brad at comstyle.com> wrote:
> This makes LLVM use OpenBSD's libc routines for stack protector.

+#if defined(__OpenBSD__)

This is wrong; you want to check if the target is OpenBSD, not if the
host is OpenBSD.

-Eli



More information about the llvm-commits mailing list