freebsd-dev/contrib
Dimitry Andric c3ca3130e2 Merge commit 30588a739 from llvm git (by Erich Keane):
Make target features check work with ctor and dtor-

  The problem was reported in PR45468, applying target features to an
  always_inline constructor/destructor runs afoul of GlobalDecl
  construction assert when checking for target-feature compatibility.

  The core problem is fixed by using the version of the check that
  takes a FunctionDecl rather than the GlobalDecl. However, while
  writing the test, I discovered that source locations weren't properly
  set for this check on ctors/dtors. This patch also fixes constructors
  and CALLED destructors.

  Unfortunately, it doesn't seem too possible to get a meaningful
  source location for a 'cleanup' destructor, so those are still
  'frontend' level errors unfortunately. A fixme was added to the test
  to cover that situation.

This should fix 'Assertion failed: (!isa<CXXConstructorDecl>(D) && "Use
other ctor with ctor decls!"), function Init, file
/usr/src/contrib/llvm-project/clang/include/clang/AST/GlobalDecl.h, line
45' when compiling the security/botan2 port.

PR:		245550
MFC after:	6 weeks
X-MFC-With:	358851
2020-04-12 16:06:59 +00:00
..
apr
apr-util
atf
bearssl
binutils gas: mark dwarf2_loc_mark_labels as extern 2020-03-28 03:58:57 +00:00
blacklist
bmake MFV r359442: bmake: import -fno-common fix build back from upstream 2020-03-30 16:22:16 +00:00
bsnmp Merge release 1.14 of bsnmp. 2020-04-01 15:25:16 +00:00
byacc
bzip2
capsicum-test
com_err
cortex-strings
dialog
diff
dma
ee
elftoolchain readelf: simplify Xen string note printing 2020-03-21 00:08:33 +00:00
expat
file
flex
gdb
gdtoa
googletest
hyperv/tools
ipfilter ipfilter: remove duplicate definition of 'thishost' 2020-03-29 02:26:58 +00:00
jemalloc Make jemalloc(3) default to retain:true on 64-bit platforms, 2020-03-31 13:48:06 +00:00
kyua Revert r359385-r359387 2020-03-29 02:40:03 +00:00
ldns
ldns-host
less
libarchive
libbegemot
libc-pwcache
libc-vis
libcxxrt
libdivsufsort
libedit
libevent
libexecinfo
libgnuregex
libpcap
libucl
libxo
llvm-project Merge commit 30588a739 from llvm git (by Erich Keane): 2020-04-12 16:06:59 +00:00
lua
lutok Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
mandoc
mknod
mtree
ncurses
netbsd-tests
netcat
ngatm
ntp ntpd: fix build with -fno-common 2020-04-06 23:11:43 +00:00
nvi
ofed
one-true-awk
openbsm MFV r359401: OpenBSM: import ee79d73e8df5: auditreduce: add a zone filter 2020-03-28 17:36:39 +00:00
opencsd/decoder
openpam
openresolv
opie
pam_modules/pam_passwdqc
pf
pjdfstest
pnpinfo
processor-trace
sendmail
serf
smbfs
sqlite3
subversion
tcp_wrappers
tcpdump
tcsh MFV r359393: tcsh: import 6974bc35a5cd 2020-03-28 15:00:55 +00:00
telnet telnet: kill off remaining duplicate definition 2020-03-28 20:43:15 +00:00
tnftp
traceroute
tzcode
tzdata
unbound
unvis
vis
wpa
xz MFV r359197: xz 5.2.5. 2020-03-22 01:27:38 +00:00