]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r227062 from upstream clang trunk (by Renato Golin):
authordim <dim@FreeBSD.org>
Mon, 26 Jan 2015 21:19:24 +0000 (21:19 +0000)
committerdim <dim@FreeBSD.org>
Mon, 26 Jan 2015 21:19:24 +0000 (21:19 +0000)
commit52823954cb9d9d77e7956603c9e078beff92dabe
tree2309e16a6e6404cd6734b655851dc94927a5df0d
parentbb27da195ab212045bbaa5c453f4098eec853128
Pull in r227062 from upstream clang trunk (by Renato Golin):

  Allows Clang to use LLVM's fixes-x18 option

  This patch allows clang to have llvm reserve the x18
  platform register on AArch64. FreeBSD will use this in the kernel for
  per-cpu data but has no need to reserve this register in userland so
  will need this flag to reserve it.

  This uses llvm r226664 to allow this register to be reserved.

  Patch by Andrew Turner.

Requested by: andrew
contrib/llvm/tools/clang/include/clang/Driver/Options.td
contrib/llvm/tools/clang/lib/Driver/Tools.cpp