ports/devel/llvm60/files/patch-head-r336970.diff
Dimitry Andric a702c15488 Add all patches from base llvm/clang/lld/lldb 6.0 to devel/llvm60
This adds all the patches that were applied in the past to head, under
contrib/llvm.  After these, there only minimal diffs left between the
port sources and the base sources.

Most of these remaining diffs are due to #ifdef shortcuts in the base
sources, because we don't compile certain features in.  Other diffs are
because the port has applied a few changes that we don't have in base.

While here, use Makefile.LICENSE from the devel/llvm-devel port.

Approved by:	brooks (maintainer)
Reviewed by:	brooks
PR:		212343, 225128, 225471, 226388, 226658, 226872, 229050, 230444, 230604, 231355
MFH:		2018Q4
Differential Revision: https://reviews.freebsd.org/D17702
2018-10-26 21:20:02 +00:00

24 lines
929 B
Diff

r336970 | emaste | 2018-07-31 16:14:41 +0200 (Tue, 31 Jul 2018) | 9 lines
llvm: [ARM] Complete enumeration values for Tag_ABI_VFP_args
The LLD implementation of Tag_ABI_VFP_args needs to check the rarely
seen values of 3 (toolchain specific) and 4 compatible with both Base
and VFP. Add the missing enumeration values so that LLD can refer to
them without having to use the raw numbers.
Obtained from: llvm r338373 by Peter Smith
Index: include/llvm/Support/ARMBuildAttributes.h
===================================================================
--- include/llvm/Support/ARMBuildAttributes.h (revision 336969)
+++ include/llvm/Support/ARMBuildAttributes.h (revision 336970)
@@ -213,6 +213,8 @@ enum {
// Tag_ABI_VFP_args, (=28), uleb128
BaseAAPCS = 0,
HardFPAAPCS = 1,
+ ToolChainFPPCS = 2,
+ CompatibleFPAAPCS = 3,
// Tag_FP_HP_extension, (=36), uleb128
AllowHPFP = 1, // Allow use of Half Precision FP