[all-commits] [llvm/llvm-project] 918ba9: [libc++] Build the dylib with -faligned-allocation

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Jul 23 11:04:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 918ba933673a515240db867ce9467879ceb4da9f
      https://github.com/llvm/llvm-project/commit/918ba933673a515240db867ce9467879ceb4da9f
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M libcxx/CMakeLists.txt

  Log Message:
  -----------
  [libc++] Build the dylib with -faligned-allocation

This avoids issues when building the dylib for deployment targets that
don't support aligned allocation, where Clang normally triggers an
error to warn users their code would break at runtime when back-deployed.
Since we're building the dylib itself, which contains the aligned
allocation functions, we don't want to trigger that error.

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




More information about the All-commits mailing list