[llvm-commits] [PATCH] Add support for Bitrig, an OpenBSD fork.

Eli Friedman eli.friedman at gmail.com
Wed Aug 1 17:05:22 PDT 2012


On Wed, Aug 1, 2012 at 7:30 AM, David Hill <dhill at mindcry.org> wrote:
> Hello,
>
> The attached patch allows LLVM to recognize Bitrig, an OpenBSD fork.
> Clang bits to come after this has been accepted.
>
> Please review.

I can't really review the autoconf changes.

+  // OpenBSD and Bitrig have buggy support for .quad in 32-bit mode, just split
+  // into two .words.
+  if ((T.getOS() == Triple::OpenBSD || T.getOS() == Triple::Bitrig) &&
+       T.getArch() == Triple::x86)

Does Bitrig actually have this bug?  If so, why don't you just fix it?

-Eli



More information about the llvm-commits mailing list