[all-commits] [llvm/llvm-project] add98b: [compiler-rt] Support FreeBSD standalone (boot) en...

Jessica Clarke via All-commits all-commits at lists.llvm.org
Wed Jan 27 07:30:48 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: add98b2462906a8b81f425cc820c0d165bf6ceca
      https://github.com/llvm/llvm-project/commit/add98b2462906a8b81f425cc820c0d165bf6ceca
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M compiler-rt/lib/builtins/int_lib.h
    M compiler-rt/lib/builtins/int_types.h

  Log Message:
  -----------
  [compiler-rt] Support FreeBSD standalone (boot) environment

FreeBSD uses -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface to
poison uses of floating point in its standalone environment. It also
deprecates machine/limits.h in favour of sys/limits.h and does not even
provide the former on newer architectures.

This is a cleaner reimplementation of equivalent patches in FreeBSD's
vendored copy of compiler-rt.

Reviewed By: dim

Differential Revision: https://reviews.llvm.org/D95264




More information about the All-commits mailing list