freebsd-dev/contrib
Dimitry Andric c1a540709a Apply upstream lldb fix for unhandled Error causing abort
Merge commit 5033f0793fe6 from llvm git (by Dimitry Andric):

  [lldb] Avoid unhandled Error in TypeSystemMap::GetTypeSystemForLanguage

  When assertions are turned off, the `llvm::Error` value created at the
  start of this function is overwritten using the move-assignment
  operator, but the success value is never checked. Whenever a TypeSystem
  cannot be found or created, this can lead to lldb core dumping with:

      Program aborted due to an unhandled Error:
      Error value was Success. (Note: Success values must still be checked prior to being destroyed).

  Fix this by not creating a `llvm::Error` value in advance, and directly
  returning the result of `llvm::make_error` instead, whenever an error is
  encountered.

  See also: <https://bugs.freebsd.org/253881> and
  <https://bugs.freebsd.org/257829>.

  Reviewed By: teemperor

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

Reported by:	dmgk, ota@j.email.ne.jp
PR:		253881, 257829
MFC after:	3 days
2021-08-16 18:57:24 +02:00
..
arm-optimized-routines Import Arm Optimized Routines v21.02 2021-07-06 11:05:34 +01:00
atf Import atf 0.22 snapshot ca73d08c3fc1ecffc1f1c97458c31ab82c12bb01 2021-02-04 15:03:05 +00:00
bc usr.bin/ghä-bc, contrib/bc: update to version 5.0.0 2021-08-13 11:28:06 +02:00
bearssl
blacklist
bmake Update to bmake-20210621 2021-06-25 16:02:40 -07:00
bsnmp
byacc yacc: Regen test cases for the previous commit 2021-02-11 18:41:28 -05:00
bzip2
capsicum-test Re-enable network ioctls in capability mode 2021-04-23 09:22:49 -04:00
com_err
cortex-strings
dialog dialog: fix macro redefinition 2021-03-01 16:01:44 +01:00
diff
dma
ee ee: restore the stdin/stdout terminal check 2021-04-12 00:48:45 +03:00
elftoolchain readelf: return error in case of invalid file 2021-04-04 21:01:28 -04:00
expat
file
flex contrib/flex: Drop local __dead2 patch 2021-04-21 10:54:59 +01:00
gdtoa
googletest
hyperv/tools
ipfilter Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
jemalloc
kyua
ldns
ldns-host
less less: upgrade to v590. 2021-07-17 22:20:44 -07:00
lib9p
libarchive libarchive: Make test_read_append_filter_wrong_program pass again 2021-04-07 11:35:10 +01:00
libbegemot
libc-pwcache
libc-vis vis(3): avoid out-of-bounds stack buffer reads 2021-06-16 16:27:13 +01:00
libcxxrt Partially revert libcxxrt changes to avoid _Unwind_Exception change 2021-03-13 14:54:24 +01:00
libdivsufsort
libedit libedit: vendor import libedit 2021-03-28 2021-03-29 10:05:55 +02:00
libevent
libexecinfo
libpcap
libucl Fix build post a040967612. 2021-03-22 08:42:18 -07:00
libxo
llvm-project Apply upstream lldb fix for unhandled Error causing abort 2021-08-16 18:57:24 +02:00
lua
lutok
mandoc
mknod
mtree
ncurses ncurses: Apply a tputs() fix from patch 20210403 2021-08-11 13:08:23 -04:00
netbsd-tests libc/tests: Correctly compare si_status from wait6() 2021-07-25 22:19:18 +02:00
netcat
ngatm
ntp
nvi Allow building usr.bin/vi with MK_ASAN 2021-07-19 15:04:19 +01:00
ofed ibstat: Include prototype for sysctlbyname(). 2021-05-27 09:42:30 +02:00
one-true-awk awk: document updating 2021-08-01 11:31:50 -06:00
openbsm close_range: add audit support 2021-02-23 17:47:07 +00:00
opencsd/decoder
openpam
openresolv
opie
pam_modules/pam_passwdqc
pf ftp-proxy: Revert incorrect migration to libpfctl 2021-07-01 21:34:40 +02:00
pjdfstest
pnglite
pnpinfo
processor-trace
sendmail
smbfs
sqlite3 sqlite3: import sqlite3 3.35.5 2021-05-06 18:01:44 -07:00
tcp_wrappers
tcpdump tcpdump: decode packets on pfsync interfaces 2021-07-13 13:29:52 +02:00
tcsh tcsh: update to version 6.22.04. 2021-05-20 00:12:27 +03:00
telnet telnet(1): add quiet mode ("telnet -Q") 2021-06-21 17:11:57 +01:00
terminus
tnftp
traceroute
tzcode Remove duplicated lines in contrib/tzcode/stdtime/private.h 2021-05-31 16:03:37 -06:00
tzdata
unbound MFV d60fa10fd8: 2021-02-09 20:27:25 -08:00
unvis
vis Merge tag 'vendor/NetBSD/vis/20210621' into vis 2021-06-21 18:04:17 -06:00
wpa wpa: Add wpa_cli action file event 2021-08-12 07:13:25 -07:00
xz