svn commit: r323344 - in projects/runtime-coverage: . bin/chflags bin/chflags/tests bin/mkdir bin/mkdir/tests bin/ps bin/rcp bin/rcp/tests bin/rmdir bin/rmdir/tests cddl/compat/opensolaris/misc cdd...
Ngie Cooper
ngie at FreeBSD.org
Sat Sep 9 05:42:29 UTC 2017
Author: ngie
Date: Sat Sep 9 05:42:23 2017
New Revision: 323344
URL: https://svnweb.freebsd.org/changeset/base/323344
Log:
MFhead at r323343
Added:
projects/runtime-coverage/bin/chflags/tests/
- copied from r323343, head/bin/chflags/tests/
projects/runtime-coverage/bin/mkdir/tests/
- copied from r323343, head/bin/mkdir/tests/
projects/runtime-coverage/bin/rcp/tests/
- copied from r323343, head/bin/rcp/tests/
projects/runtime-coverage/bin/rmdir/tests/
- copied from r323343, head/bin/rmdir/tests/
projects/runtime-coverage/cddl/lib/libdtrace/socket.d
- copied unchanged from r323343, head/cddl/lib/libdtrace/socket.d
projects/runtime-coverage/share/man/man4/amdsmn.4
- copied unchanged from r323343, head/share/man/man4/amdsmn.4
projects/runtime-coverage/share/man/man4/ntb.4
- copied unchanged from r323343, head/share/man/man4/ntb.4
projects/runtime-coverage/share/man/man4/ntb_hw_intel.4
- copied unchanged from r323343, head/share/man/man4/ntb_hw_intel.4
projects/runtime-coverage/share/man/man4/ntb_hw_plx.4
- copied unchanged from r323343, head/share/man/man4/ntb_hw_plx.4
projects/runtime-coverage/sys/arm/mv/armada38x/armada38x_rtc.c
- copied unchanged from r323343, head/sys/arm/mv/armada38x/armada38x_rtc.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/utilities/utstrsuppt.c
- copied unchanged from r323343, head/sys/contrib/dev/acpica/components/utilities/utstrsuppt.c
projects/runtime-coverage/sys/dev/amdsmn/
- copied from r323343, head/sys/dev/amdsmn/
projects/runtime-coverage/sys/dev/cxgbe/firmware/t4fw-1.16.59.0.bin.uu
- copied unchanged from r323343, head/sys/dev/cxgbe/firmware/t4fw-1.16.59.0.bin.uu
projects/runtime-coverage/sys/dev/cxgbe/firmware/t5fw-1.16.59.0.bin.uu
- copied unchanged from r323343, head/sys/dev/cxgbe/firmware/t5fw-1.16.59.0.bin.uu
projects/runtime-coverage/sys/dev/cxgbe/firmware/t6fw-1.16.59.0.bin.uu
- copied unchanged from r323343, head/sys/dev/cxgbe/firmware/t6fw-1.16.59.0.bin.uu
projects/runtime-coverage/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
- copied unchanged from r323343, head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
projects/runtime-coverage/sys/dev/ntb/ntb_hw/ntb_hw_intel.h
- copied unchanged from r323343, head/sys/dev/ntb/ntb_hw/ntb_hw_intel.h
projects/runtime-coverage/sys/dev/ntb/ntb_hw/ntb_hw_plx.c
- copied unchanged from r323343, head/sys/dev/ntb/ntb_hw/ntb_hw_plx.c
projects/runtime-coverage/sys/modules/amdsmn/
- copied from r323343, head/sys/modules/amdsmn/
projects/runtime-coverage/sys/modules/ntb/ntb_hw_intel/
- copied from r323343, head/sys/modules/ntb/ntb_hw_intel/
projects/runtime-coverage/sys/modules/ntb/ntb_hw_plx/
- copied from r323343, head/sys/modules/ntb/ntb_hw_plx/
projects/runtime-coverage/usr.sbin/efivar/efiutil.c
- copied unchanged from r323343, head/usr.sbin/efivar/efiutil.c
projects/runtime-coverage/usr.sbin/efivar/efiutil.h
- copied unchanged from r323343, head/usr.sbin/efivar/efiutil.h
Deleted:
projects/runtime-coverage/share/man/man4/ntb_hw.4
projects/runtime-coverage/sys/arm/mv/armada38x/rtc.c
projects/runtime-coverage/sys/dev/cxgbe/firmware/t4fw-1.16.45.0.bin.uu
projects/runtime-coverage/sys/dev/cxgbe/firmware/t5fw-1.16.45.0.bin.uu
projects/runtime-coverage/sys/dev/cxgbe/firmware/t6fw-1.16.45.0.bin.uu
projects/runtime-coverage/sys/dev/ntb/ntb_hw/ntb_hw.c
projects/runtime-coverage/sys/dev/ntb/ntb_hw/ntb_regs.h
projects/runtime-coverage/sys/modules/ntb/ntb_hw/
Modified:
projects/runtime-coverage/Makefile.inc1
projects/runtime-coverage/bin/chflags/Makefile
projects/runtime-coverage/bin/mkdir/Makefile
projects/runtime-coverage/bin/ps/print.c
projects/runtime-coverage/bin/ps/ps.1
projects/runtime-coverage/bin/rcp/Makefile
projects/runtime-coverage/bin/rmdir/Makefile
projects/runtime-coverage/cddl/compat/opensolaris/misc/zmount.c
projects/runtime-coverage/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
projects/runtime-coverage/cddl/lib/libdtrace/Makefile
projects/runtime-coverage/contrib/binutils/opcodes/i386-dis.c
projects/runtime-coverage/contrib/binutils/opcodes/i386-opc.h
projects/runtime-coverage/contrib/binutils/opcodes/i386-opc.tbl
projects/runtime-coverage/contrib/binutils/opcodes/i386-tbl.h
projects/runtime-coverage/contrib/file/src/readelf.c
projects/runtime-coverage/contrib/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
projects/runtime-coverage/contrib/llvm/lib/Analysis/PostDominators.cpp
projects/runtime-coverage/contrib/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
projects/runtime-coverage/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp
projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/AST/DeclCXX.h
projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Driver/Options.td
projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.def
projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.h
projects/runtime-coverage/contrib/llvm/tools/clang/lib/Basic/Version.cpp
projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/ABIInfo.h
projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp
projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp
projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp
projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.h
projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp
projects/runtime-coverage/contrib/llvm/tools/clang/lib/Driver/ToolChains/Clang.cpp
projects/runtime-coverage/contrib/llvm/tools/clang/lib/Format/WhitespaceManager.cpp
projects/runtime-coverage/contrib/llvm/tools/clang/lib/Format/WhitespaceManager.h
projects/runtime-coverage/contrib/llvm/tools/clang/lib/Frontend/CompilerInvocation.cpp
projects/runtime-coverage/contrib/llvm/tools/lldb/source/Host/common/TCPSocket.cpp
projects/runtime-coverage/contrib/unbound/validator/autotrust.c
projects/runtime-coverage/etc/mtree/BSD.tests.dist
projects/runtime-coverage/lib/clang/include/clang/Basic/Version.inc
projects/runtime-coverage/lib/clang/include/lld/Config/Version.inc
projects/runtime-coverage/lib/clang/include/llvm/Support/VCSRevision.h
projects/runtime-coverage/lib/csu/mips/crti.S
projects/runtime-coverage/lib/csu/mips/crtn.S
projects/runtime-coverage/lib/libc/locale/xlocale_private.h
projects/runtime-coverage/lib/libcompiler_rt/Makefile.inc
projects/runtime-coverage/lib/libefivar/Makefile
projects/runtime-coverage/lib/libefivar/efivar-dp-format.c
projects/runtime-coverage/lib/libefivar/efivar-dp-parse.c
projects/runtime-coverage/lib/libefivar/efivar-dp.h
projects/runtime-coverage/lib/libgeom/geom_util.c
projects/runtime-coverage/lib/libpmc/libpmc.c
projects/runtime-coverage/lib/libproc/_libproc.h
projects/runtime-coverage/lib/libproc/proc_rtld.c
projects/runtime-coverage/lib/libproc/proc_sym.c
projects/runtime-coverage/lib/libstand/nfs.c
projects/runtime-coverage/lib/libsysdecode/Makefile
projects/runtime-coverage/lib/libsysdecode/flags.c
projects/runtime-coverage/lib/libsysdecode/mktables
projects/runtime-coverage/lib/libsysdecode/sysdecode.h
projects/runtime-coverage/lib/libsysdecode/sysdecode_enum.3
projects/runtime-coverage/lib/libsysdecode/sysdecode_mask.3
projects/runtime-coverage/lib/msun/src/catrig.c
projects/runtime-coverage/lib/msun/src/catrigl.c
projects/runtime-coverage/lib/msun/src/s_csqrtl.c
projects/runtime-coverage/lib/msun/tests/csqrt_test.c
projects/runtime-coverage/libexec/getty/gettytab.5
projects/runtime-coverage/libexec/getty/gettytab.h
projects/runtime-coverage/libexec/getty/init.c
projects/runtime-coverage/libexec/getty/main.c
projects/runtime-coverage/libexec/rtld-elf/Makefile
projects/runtime-coverage/libexec/rtld-elf/rtld.1
projects/runtime-coverage/libexec/rtld-elf/rtld.c
projects/runtime-coverage/release/amd64/make-memstick.sh
projects/runtime-coverage/release/amd64/mkisoimages.sh
projects/runtime-coverage/release/i386/make-memstick.sh
projects/runtime-coverage/release/i386/mkisoimages.sh
projects/runtime-coverage/release/powerpc/make-memstick.sh
projects/runtime-coverage/release/powerpc/mkisoimages.sh
projects/runtime-coverage/release/sparc64/mkisoimages.sh
projects/runtime-coverage/release/tools/ec2.conf
projects/runtime-coverage/sbin/fsck_ffs/setup.c
projects/runtime-coverage/sbin/geom/class/virstor/geom_virstor.c
projects/runtime-coverage/sbin/geom/misc/subr.c
projects/runtime-coverage/sbin/mdconfig/mdconfig.8
projects/runtime-coverage/sbin/mdconfig/mdconfig.c
projects/runtime-coverage/sbin/newfs/mkfs.c
projects/runtime-coverage/sbin/nvmecontrol/identify.c
projects/runtime-coverage/share/man/man4/Makefile
projects/runtime-coverage/share/man/man4/amdtemp.4
projects/runtime-coverage/share/man/man4/hv_vss.4
projects/runtime-coverage/share/man/man4/if_ntb.4
projects/runtime-coverage/share/man/man4/ntb_transport.4
projects/runtime-coverage/share/man/man4/tty.4
projects/runtime-coverage/share/man/man5/tmpfs.5
projects/runtime-coverage/share/misc/committers-ports.dot
projects/runtime-coverage/share/misc/committers-src.dot
projects/runtime-coverage/share/misc/pci_vendors
projects/runtime-coverage/share/mk/bsd.lib.mk
projects/runtime-coverage/sys/amd64/conf/GENERIC
projects/runtime-coverage/sys/amd64/conf/NOTES
projects/runtime-coverage/sys/amd64/include/param.h
projects/runtime-coverage/sys/arm/arm/generic_timer.c
projects/runtime-coverage/sys/arm/broadcom/bcm2835/bcm2836_mp.c
projects/runtime-coverage/sys/arm/conf/ARMADA38X
projects/runtime-coverage/sys/arm/mv/armada38x/files.armada38x
projects/runtime-coverage/sys/arm64/arm64/identcpu.c
projects/runtime-coverage/sys/arm64/arm64/mp_machdep.c
projects/runtime-coverage/sys/arm64/conf/GENERIC
projects/runtime-coverage/sys/arm64/include/armreg.h
projects/runtime-coverage/sys/arm64/include/cpu.h
projects/runtime-coverage/sys/boot/efi/boot1/Makefile
projects/runtime-coverage/sys/boot/efi/boot1/boot1.c
projects/runtime-coverage/sys/boot/efi/include/efiapi.h
projects/runtime-coverage/sys/boot/efi/include/efichar.h
projects/runtime-coverage/sys/boot/efi/libefi/Makefile
projects/runtime-coverage/sys/boot/efi/libefi/efichar.c
projects/runtime-coverage/sys/boot/efi/loader/bootinfo.c
projects/runtime-coverage/sys/boot/forth/loader.conf
projects/runtime-coverage/sys/cam/ata/ata_da.c
projects/runtime-coverage/sys/cam/cam_ccb.h
projects/runtime-coverage/sys/cam/cam_xpt.c
projects/runtime-coverage/sys/cam/nvme/nvme_all.c
projects/runtime-coverage/sys/cam/nvme/nvme_all.h
projects/runtime-coverage/sys/cam/nvme/nvme_da.c
projects/runtime-coverage/sys/cam/nvme/nvme_xpt.c
projects/runtime-coverage/sys/cam/scsi/scsi_all.c
projects/runtime-coverage/sys/cam/scsi/scsi_da.c
projects/runtime-coverage/sys/cam/scsi/scsi_pass.c
projects/runtime-coverage/sys/cddl/compat/opensolaris/sys/mntent.h
projects/runtime-coverage/sys/cddl/contrib/opensolaris/common/zfs/zfs_prop.c
projects/runtime-coverage/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
projects/runtime-coverage/sys/cddl/dev/dtrace/mips/dtrace_asm.S
projects/runtime-coverage/sys/cddl/dev/dtrace/mips/dtrace_subr.c
projects/runtime-coverage/sys/cddl/dev/fbt/mips/fbt_isa.c
projects/runtime-coverage/sys/compat/cloudabi/cloudabi_fd.c
projects/runtime-coverage/sys/compat/cloudabi/cloudabi_file.c
projects/runtime-coverage/sys/compat/cloudabi/cloudabi_sock.c
projects/runtime-coverage/sys/compat/cloudabi32/cloudabi32_proto.h
projects/runtime-coverage/sys/compat/cloudabi32/cloudabi32_syscall.h
projects/runtime-coverage/sys/compat/cloudabi32/cloudabi32_syscalls.c
projects/runtime-coverage/sys/compat/cloudabi32/cloudabi32_sysent.c
projects/runtime-coverage/sys/compat/cloudabi32/cloudabi32_systrace_args.c
projects/runtime-coverage/sys/compat/cloudabi64/cloudabi64_proto.h
projects/runtime-coverage/sys/compat/cloudabi64/cloudabi64_syscall.h
projects/runtime-coverage/sys/compat/cloudabi64/cloudabi64_syscalls.c
projects/runtime-coverage/sys/compat/cloudabi64/cloudabi64_sysent.c
projects/runtime-coverage/sys/compat/cloudabi64/cloudabi64_systrace_args.c
projects/runtime-coverage/sys/compat/freebsd32/freebsd32.h
projects/runtime-coverage/sys/compat/freebsd32/freebsd32_ioctl.c
projects/runtime-coverage/sys/compat/freebsd32/freebsd32_ioctl.h
projects/runtime-coverage/sys/compat/freebsd32/freebsd32_misc.c
projects/runtime-coverage/sys/conf/files
projects/runtime-coverage/sys/conf/files.amd64
projects/runtime-coverage/sys/conf/files.arm64
projects/runtime-coverage/sys/conf/files.i386
projects/runtime-coverage/sys/conf/ldscript.amd64
projects/runtime-coverage/sys/conf/options
projects/runtime-coverage/sys/contrib/cloudabi/cloudabi_types_common.h
projects/runtime-coverage/sys/contrib/cloudabi/cloudabi_vdso_aarch64.S
projects/runtime-coverage/sys/contrib/cloudabi/cloudabi_vdso_armv6.S
projects/runtime-coverage/sys/contrib/cloudabi/cloudabi_vdso_i686.S
projects/runtime-coverage/sys/contrib/cloudabi/cloudabi_vdso_i686_on_64bit.S
projects/runtime-coverage/sys/contrib/cloudabi/cloudabi_vdso_x86_64.S
projects/runtime-coverage/sys/contrib/cloudabi/syscalls32.master
projects/runtime-coverage/sys/contrib/cloudabi/syscalls64.master
projects/runtime-coverage/sys/contrib/dev/acpica/changes.txt
projects/runtime-coverage/sys/contrib/dev/acpica/common/dmtbinfo.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslcompiler.h
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslcompiler.l
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/asldebug.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslerror.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslhelp.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslmain.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslmessages.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslmessages.h
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslresource.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslrules.y
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/asltree.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/aslutils.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/dtcompile.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/dtcompiler.h
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/dtfield.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/dtparser.y
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/dtutils.c
projects/runtime-coverage/sys/contrib/dev/acpica/compiler/prparser.y
projects/runtime-coverage/sys/contrib/dev/acpica/components/debugger/dbconvert.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/disassembler/dmresrc.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/dispatcher/dswexec.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/events/evgpe.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/executer/exconcat.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/executer/exconvrt.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/executer/exmisc.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/executer/exresop.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/hardware/hwgpe.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/hardware/hwregs.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/hardware/hwtimer.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/hardware/hwxface.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/namespace/nsconvert.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/tables/tbxface.c
projects/runtime-coverage/sys/contrib/dev/acpica/components/utilities/utstrtoul64.c
projects/runtime-coverage/sys/contrib/dev/acpica/include/acexcep.h
projects/runtime-coverage/sys/contrib/dev/acpica/include/achware.h
projects/runtime-coverage/sys/contrib/dev/acpica/include/acinterp.h
projects/runtime-coverage/sys/contrib/dev/acpica/include/acpixf.h
projects/runtime-coverage/sys/contrib/dev/acpica/include/actbl1.h
projects/runtime-coverage/sys/contrib/dev/acpica/include/actbl2.h
projects/runtime-coverage/sys/contrib/dev/acpica/include/acutils.h
projects/runtime-coverage/sys/dev/aac/aac.c
projects/runtime-coverage/sys/dev/acpica/acpi_cpu.c
projects/runtime-coverage/sys/dev/amdtemp/amdtemp.c
projects/runtime-coverage/sys/dev/amr/amr.c
projects/runtime-coverage/sys/dev/bhnd/cores/usb/bhnd_usb.c
projects/runtime-coverage/sys/dev/bnxt/bnxt.h
projects/runtime-coverage/sys/dev/bnxt/bnxt_hwrm.c
projects/runtime-coverage/sys/dev/bnxt/bnxt_hwrm.h
projects/runtime-coverage/sys/dev/bnxt/bnxt_sysctl.c
projects/runtime-coverage/sys/dev/bnxt/bnxt_sysctl.h
projects/runtime-coverage/sys/dev/bnxt/hsi_struct_def.h
projects/runtime-coverage/sys/dev/bnxt/if_bnxt.c
projects/runtime-coverage/sys/dev/cxgbe/adapter.h
projects/runtime-coverage/sys/dev/cxgbe/common/t4_hw.c
projects/runtime-coverage/sys/dev/cxgbe/firmware/t4fw_interface.h
projects/runtime-coverage/sys/dev/cxgbe/firmware/t6fw_cfg.txt
projects/runtime-coverage/sys/dev/cxgbe/iw_cxgbe/cm.c
projects/runtime-coverage/sys/dev/cxgbe/iw_cxgbe/qp.c
projects/runtime-coverage/sys/dev/cxgbe/offload.h
projects/runtime-coverage/sys/dev/cxgbe/t4_main.c
projects/runtime-coverage/sys/dev/cxgbe/t4_sge.c
projects/runtime-coverage/sys/dev/cxgbe/tom/t4_connect.c
projects/runtime-coverage/sys/dev/cxgbe/tom/t4_listen.c
projects/runtime-coverage/sys/dev/cxgbe/tom/t4_tom.c
projects/runtime-coverage/sys/dev/e1000/if_em.c
projects/runtime-coverage/sys/dev/hwpmc/hwpmc_core.c
projects/runtime-coverage/sys/dev/hwpmc/hwpmc_intel.c
projects/runtime-coverage/sys/dev/hwpmc/pmc_events.h
projects/runtime-coverage/sys/dev/hyperv/netvsc/hn_rndis.c
projects/runtime-coverage/sys/dev/hyperv/netvsc/if_hn.c
projects/runtime-coverage/sys/dev/ixgbe/if_ix.c
projects/runtime-coverage/sys/dev/md/md.c
projects/runtime-coverage/sys/dev/mfi/mfi.c
projects/runtime-coverage/sys/dev/mpr/mpr_pci.c
projects/runtime-coverage/sys/dev/mpr/mpr_sas.c
projects/runtime-coverage/sys/dev/mps/mps_pci.c
projects/runtime-coverage/sys/dev/mps/mps_sas.c
projects/runtime-coverage/sys/dev/ntb/ntb.c
projects/runtime-coverage/sys/dev/ntb/ntb.h
projects/runtime-coverage/sys/dev/ntb/ntb_transport.c
projects/runtime-coverage/sys/dev/nvme/nvme.c
projects/runtime-coverage/sys/dev/nvme/nvme.h
projects/runtime-coverage/sys/dev/nvme/nvme_ctrlr.c
projects/runtime-coverage/sys/dev/nvme/nvme_private.h
projects/runtime-coverage/sys/dev/nvme/nvme_qpair.c
projects/runtime-coverage/sys/dev/nvme/nvme_sim.c
projects/runtime-coverage/sys/dev/nvme/nvme_sysctl.c
projects/runtime-coverage/sys/dev/rtwn/if_rtwn_ridx.h
projects/runtime-coverage/sys/dev/rtwn/if_rtwn_rx.c
projects/runtime-coverage/sys/dev/rtwn/rtl8188e/r88e_chan.c
projects/runtime-coverage/sys/dev/rtwn/rtl8192c/r92c_chan.c
projects/runtime-coverage/sys/dev/rtwn/rtl8192c/r92c_fw.c
projects/runtime-coverage/sys/dev/rtwn/rtl8192c/r92c_priv.h
projects/runtime-coverage/sys/dev/rtwn/rtl8192c/r92c_rx.c
projects/runtime-coverage/sys/dev/rtwn/rtl8192c/r92c_tx.c
projects/runtime-coverage/sys/dev/rtwn/rtl8192e/r92e_chan.c
projects/runtime-coverage/sys/dev/rtwn/rtl8812a/r12a_chan.c
projects/runtime-coverage/sys/dev/rtwn/rtl8812a/r12a_rx.c
projects/runtime-coverage/sys/dev/rtwn/rtl8812a/r12a_tx.c
projects/runtime-coverage/sys/dev/usb/quirk/usb_quirk.c
projects/runtime-coverage/sys/dev/usb/usbdevs
projects/runtime-coverage/sys/dev/vxge/vxgehal/vxgehal-mrpcim.c
projects/runtime-coverage/sys/fs/msdosfs/msdosfs_fat.c
projects/runtime-coverage/sys/geom/eli/g_eli_integrity.c
projects/runtime-coverage/sys/geom/part/g_part_gpt.c
projects/runtime-coverage/sys/i386/conf/GENERIC
projects/runtime-coverage/sys/i386/conf/NOTES
projects/runtime-coverage/sys/i386/include/param.h
projects/runtime-coverage/sys/kern/kern_dtrace.c
projects/runtime-coverage/sys/kern/kern_lockstat.c
projects/runtime-coverage/sys/kern/kern_mutex.c
projects/runtime-coverage/sys/kern/kern_proc.c
projects/runtime-coverage/sys/kern/kern_rwlock.c
projects/runtime-coverage/sys/kern/kern_sx.c
projects/runtime-coverage/sys/kern/subr_bus_dma.c
projects/runtime-coverage/sys/kern/subr_vmem.c
projects/runtime-coverage/sys/kern/vfs_bio.c
projects/runtime-coverage/sys/kern/vfs_cache.c
projects/runtime-coverage/sys/kern/vfs_mountroot.c
projects/runtime-coverage/sys/kern/vfs_subr.c
projects/runtime-coverage/sys/mips/atheros/if_arge.c
projects/runtime-coverage/sys/mips/cavium/octeon_ebt3000_cf.c
projects/runtime-coverage/sys/mips/conf/ERL
projects/runtime-coverage/sys/mips/mips/elf_machdep.c
projects/runtime-coverage/sys/mips/mips/freebsd32_machdep.c
projects/runtime-coverage/sys/mips/mips/pm_machdep.c
projects/runtime-coverage/sys/mips/rmi/xls_ehci.c
projects/runtime-coverage/sys/modules/Makefile
projects/runtime-coverage/sys/modules/cxgbe/t4_firmware/Makefile
projects/runtime-coverage/sys/modules/cxgbe/t5_firmware/Makefile
projects/runtime-coverage/sys/modules/cxgbe/t6_firmware/Makefile
projects/runtime-coverage/sys/modules/dtrace/Makefile
projects/runtime-coverage/sys/modules/dtrace/dtraceall/Makefile
projects/runtime-coverage/sys/modules/dtrace/dtraceall/dtraceall.c
projects/runtime-coverage/sys/modules/ntb/Makefile
projects/runtime-coverage/sys/modules/nvme/Makefile
projects/runtime-coverage/sys/net/ieee8023ad_lacp.c
projects/runtime-coverage/sys/net/if.c
projects/runtime-coverage/sys/net/if.h
projects/runtime-coverage/sys/net/if_var.h
projects/runtime-coverage/sys/net/iflib.c
projects/runtime-coverage/sys/netinet/in_pcb.c
projects/runtime-coverage/sys/netinet/in_pcb.h
projects/runtime-coverage/sys/netinet/tcp_timer.c
projects/runtime-coverage/sys/netipsec/udpencap.c
projects/runtime-coverage/sys/ofed/drivers/infiniband/core/cma.c
projects/runtime-coverage/sys/powerpc/conf/GENERIC
projects/runtime-coverage/sys/powerpc/include/spr.h
projects/runtime-coverage/sys/powerpc/mpc85xx/mpc85xx.c
projects/runtime-coverage/sys/riscv/conf/GENERIC
projects/runtime-coverage/sys/security/audit/audit.c
projects/runtime-coverage/sys/sparc64/conf/GENERIC
projects/runtime-coverage/sys/sys/cdefs.h
projects/runtime-coverage/sys/sys/mdioctl.h
projects/runtime-coverage/sys/sys/param.h
projects/runtime-coverage/sys/sys/sockio.h
projects/runtime-coverage/sys/sys/systm.h
projects/runtime-coverage/sys/ufs/ffs/fs.h
projects/runtime-coverage/sys/vm/swap_pager.c
projects/runtime-coverage/sys/vm/swap_pager.h
projects/runtime-coverage/sys/vm/uma_core.c
projects/runtime-coverage/sys/vm/vm_fault.c
projects/runtime-coverage/sys/vm/vm_page.c
projects/runtime-coverage/sys/vm/vm_pageout.c
projects/runtime-coverage/sys/vm/vm_pager.c
projects/runtime-coverage/sys/vm/vm_phys.c
projects/runtime-coverage/sys/vm/vm_phys.h
projects/runtime-coverage/sys/x86/acpica/srat.c
projects/runtime-coverage/sys/x86/cpufreq/hwpstate.c
projects/runtime-coverage/sys/x86/include/apicreg.h
projects/runtime-coverage/sys/x86/include/apicvar.h
projects/runtime-coverage/sys/x86/include/specialreg.h
projects/runtime-coverage/sys/x86/include/x86_var.h
projects/runtime-coverage/sys/x86/iommu/intel_drv.c
projects/runtime-coverage/sys/x86/pci/qpi.c
projects/runtime-coverage/sys/x86/x86/identcpu.c
projects/runtime-coverage/sys/x86/x86/io_apic.c
projects/runtime-coverage/sys/x86/x86/mca.c
projects/runtime-coverage/tools/tools/nanobsd/embedded/common
projects/runtime-coverage/usr.bin/calendar/calendars/calendar.freebsd
projects/runtime-coverage/usr.bin/calendar/calendars/calendar.holiday
projects/runtime-coverage/usr.bin/calendar/calendars/de_DE.ISO8859-1/calendar.geschichte
projects/runtime-coverage/usr.bin/kdump/kdump.c
projects/runtime-coverage/usr.bin/netstat/main.c
projects/runtime-coverage/usr.bin/tail/extern.h
projects/runtime-coverage/usr.bin/tail/tests/tail_test.sh
projects/runtime-coverage/usr.bin/truss/extern.h
projects/runtime-coverage/usr.bin/truss/setup.c
projects/runtime-coverage/usr.bin/truss/syscall.h
projects/runtime-coverage/usr.bin/truss/syscalls.c
projects/runtime-coverage/usr.sbin/acpi/acpidb/Makefile
projects/runtime-coverage/usr.sbin/acpi/acpidump/acpi.c
projects/runtime-coverage/usr.sbin/acpi/iasl/Makefile
projects/runtime-coverage/usr.sbin/autofs/auto_master.5
projects/runtime-coverage/usr.sbin/binmiscctl/binmiscctl.8
projects/runtime-coverage/usr.sbin/crunch/crunchgen/crunched_main.c
projects/runtime-coverage/usr.sbin/crunch/crunchgen/crunchgen.c
projects/runtime-coverage/usr.sbin/efivar/Makefile
projects/runtime-coverage/usr.sbin/efivar/efivar.8
projects/runtime-coverage/usr.sbin/efivar/efivar.c
projects/runtime-coverage/usr.sbin/manctl/manctl.8
projects/runtime-coverage/usr.sbin/manctl/manctl.sh
Directory Properties:
projects/runtime-coverage/ (props changed)
projects/runtime-coverage/cddl/ (props changed)
projects/runtime-coverage/cddl/contrib/opensolaris/ (props changed)
projects/runtime-coverage/contrib/binutils/ (props changed)
projects/runtime-coverage/contrib/compiler-rt/ (props changed)
projects/runtime-coverage/contrib/file/ (props changed)
projects/runtime-coverage/contrib/libc++/ (props changed)
projects/runtime-coverage/contrib/llvm/ (props changed)
projects/runtime-coverage/contrib/llvm/tools/clang/ (props changed)
projects/runtime-coverage/contrib/llvm/tools/lld/ (props changed)
projects/runtime-coverage/contrib/llvm/tools/lldb/ (props changed)
projects/runtime-coverage/contrib/unbound/ (props changed)
projects/runtime-coverage/sys/cddl/contrib/opensolaris/ (props changed)
projects/runtime-coverage/sys/contrib/dev/acpica/ (props changed)
Modified: projects/runtime-coverage/Makefile.inc1
==============================================================================
--- projects/runtime-coverage/Makefile.inc1 Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/Makefile.inc1 Sat Sep 9 05:42:23 2017 (r323344)
@@ -1787,7 +1787,8 @@ update: .PHONY
# ELF Tool Chain libraries are needed for ELF tools and dtrace tools.
# r296685 fix cross-endian objcopy
-.if ${BOOTSTRAPPING} < 1100102
+# r310724 fixed PR 215350, a crash in libdwarf with objects built by GCC 6.2.
+.if ${BOOTSTRAPPING} < 1200020
_elftoolchain_libs= lib/libelf lib/libdwarf
.endif
Modified: projects/runtime-coverage/bin/chflags/Makefile
==============================================================================
--- projects/runtime-coverage/bin/chflags/Makefile Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/bin/chflags/Makefile Sat Sep 9 05:42:23 2017 (r323344)
@@ -4,4 +4,7 @@
PACKAGE=runtime
PROG= chflags
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
+
.include <bsd.prog.mk>
Modified: projects/runtime-coverage/bin/mkdir/Makefile
==============================================================================
--- projects/runtime-coverage/bin/mkdir/Makefile Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/bin/mkdir/Makefile Sat Sep 9 05:42:23 2017 (r323344)
@@ -4,4 +4,7 @@
PACKAGE=runtime
PROG= mkdir
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
+
.include <bsd.prog.mk>
Modified: projects/runtime-coverage/bin/ps/print.c
==============================================================================
--- projects/runtime-coverage/bin/ps/print.c Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/bin/ps/print.c Sat Sep 9 05:42:23 2017 (r323344)
@@ -262,9 +262,9 @@ state(KINFO *k, VARENT *ve __unused)
cp++;
if (!(flag & P_INMEM))
*cp++ = 'W';
- if (k->ki_p->ki_nice < NZERO)
+ if (k->ki_p->ki_nice < NZERO || k->ki_p->ki_pri.pri_class == PRI_REALTIME)
*cp++ = '<';
- else if (k->ki_p->ki_nice > NZERO)
+ else if (k->ki_p->ki_nice > NZERO || k->ki_p->ki_pri.pri_class == PRI_IDLE)
*cp++ = 'N';
if (flag & P_TRACED)
*cp++ = 'X';
@@ -274,6 +274,8 @@ state(KINFO *k, VARENT *ve __unused)
*cp++ = 'V';
if ((flag & P_SYSTEM) || k->ki_p->ki_lock > 0)
*cp++ = 'L';
+ if ((k->ki_p->ki_cr_flags & CRED_FLAG_CAPMODE) != 0)
+ *cp++ = 'C';
if (k->ki_p->ki_kiflag & KI_SLEADER)
*cp++ = 's';
if ((flag & P_CONTROLT) && k->ki_p->ki_pgid == k->ki_p->ki_tpgid)
Modified: projects/runtime-coverage/bin/ps/ps.1
==============================================================================
--- projects/runtime-coverage/bin/ps/ps.1 Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/bin/ps/ps.1 Sat Sep 9 05:42:23 2017 (r323344)
@@ -29,7 +29,7 @@
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd July 25, 2017
+.Dd September 7, 2017
.Dt PS 1
.Os
.Sh NAME
@@ -436,6 +436,10 @@ information:
The process is in the foreground process group of its control terminal.
.It Li <
The process has raised CPU scheduling priority.
+.It Li C
+The process is in
+.Xr capsicum 4
+capability mode.
.It Li E
The process is trying to exit.
.It Li J
@@ -541,7 +545,7 @@ short-term CPU usage factor (for scheduling)
.It Cm dsiz
data size (in Kbytes)
.It Cm emul
-system-call emulation environment
+system-call emulation environment (ABI)
.It Cm etime
elapsed running time, format
.Op days- Ns
Modified: projects/runtime-coverage/bin/rcp/Makefile
==============================================================================
--- projects/runtime-coverage/bin/rcp/Makefile Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/bin/rcp/Makefile Sat Sep 9 05:42:23 2017 (r323344)
@@ -11,4 +11,7 @@ PACKAGE=rcmds
BINOWN= root
BINMODE=4555
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
+
.include <bsd.prog.mk>
Modified: projects/runtime-coverage/bin/rmdir/Makefile
==============================================================================
--- projects/runtime-coverage/bin/rmdir/Makefile Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/bin/rmdir/Makefile Sat Sep 9 05:42:23 2017 (r323344)
@@ -4,4 +4,7 @@
PACKAGE=runtime
PROG= rmdir
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
+
.include <bsd.prog.mk>
Modified: projects/runtime-coverage/cddl/compat/opensolaris/misc/zmount.c
==============================================================================
--- projects/runtime-coverage/cddl/compat/opensolaris/misc/zmount.c Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/cddl/compat/opensolaris/misc/zmount.c Sat Sep 9 05:42:23 2017 (r323344)
@@ -74,7 +74,7 @@ zmount(const char *spec, const char *dir, int mflag, c
char *dataptr, int datalen, char *optptr, int optlen)
{
struct iovec *iov;
- char *optstr, *os, *p;
+ char *optstr, *os, *p, *tofree;
int iovlen, rv;
assert(spec != NULL);
@@ -87,7 +87,7 @@ zmount(const char *spec, const char *dir, int mflag, c
assert(optptr != NULL);
assert(optlen > 0);
- optstr = strdup(optptr);
+ tofree = optstr = strdup(optptr);
assert(optstr != NULL);
iov = NULL;
@@ -98,11 +98,9 @@ zmount(const char *spec, const char *dir, int mflag, c
build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, dir),
(size_t)-1);
build_iovec(&iov, &iovlen, "from", __DECONST(char *, spec), (size_t)-1);
- for (p = optstr; p != NULL; strsep(&p, ",/ ")) {
- if (*p != '\0')
- build_iovec(&iov, &iovlen, p, NULL, (size_t)-1);
- }
+ while ((p = strsep(&optstr, ",/")) != NULL)
+ build_iovec(&iov, &iovlen, p, NULL, (size_t)-1);
rv = nmount(iov, iovlen, 0);
- free(optstr);
+ free(tofree);
return (rv);
}
Modified: projects/runtime-coverage/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
==============================================================================
--- projects/runtime-coverage/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c Sat Sep 9 05:42:23 2017 (r323344)
@@ -963,7 +963,7 @@ dt_provmod_open(dt_provmod_t **provmod, dt_fdlist_t *d
(void) snprintf(path, sizeof (path), "/dev/dtrace/%s", p1);
- if ((fd = open(path, O_RDONLY)) == -1)
+ if ((fd = open(path, O_RDONLY | O_CLOEXEC)) == -1)
continue; /* failed to open driver; just skip it */
if (((prov = malloc(sizeof (dt_provmod_t))) == NULL) ||
@@ -1100,7 +1100,7 @@ dt_vopen(int version, int flags, int *errp,
*/
dt_provmod_open(&provmod, &df);
- dtfd = open("/dev/dtrace/dtrace", O_RDWR);
+ dtfd = open("/dev/dtrace/dtrace", O_RDWR | O_CLOEXEC);
err = errno; /* save errno from opening dtfd */
#if defined(__FreeBSD__)
/*
@@ -1116,7 +1116,7 @@ dt_vopen(int version, int flags, int *errp,
#ifdef illumos
ftfd = open("/dev/dtrace/provider/fasttrap", O_RDWR);
#else
- ftfd = open("/dev/dtrace/fasttrap", O_RDWR);
+ ftfd = open("/dev/dtrace/fasttrap", O_RDWR | O_CLOEXEC);
#endif
fterr = ftfd == -1 ? errno : 0; /* save errno from open ftfd */
@@ -1145,9 +1145,6 @@ dt_vopen(int version, int flags, int *errp,
}
return (set_open_errno(dtp, errp, err));
}
-
- (void) fcntl(dtfd, F_SETFD, FD_CLOEXEC);
- (void) fcntl(ftfd, F_SETFD, FD_CLOEXEC);
alloc:
if ((dtp = malloc(sizeof (dtrace_hdl_t))) == NULL) {
Modified: projects/runtime-coverage/cddl/lib/libdtrace/Makefile
==============================================================================
--- projects/runtime-coverage/cddl/lib/libdtrace/Makefile Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/cddl/lib/libdtrace/Makefile Sat Sep 9 05:42:23 2017 (r323344)
@@ -54,6 +54,7 @@ DSRCS= errno.d \
siftr.d \
signal.d \
tcp.d \
+ socket.d \
udp.d \
unistd.d
Copied: projects/runtime-coverage/cddl/lib/libdtrace/socket.d (from r323343, head/cddl/lib/libdtrace/socket.d)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/runtime-coverage/cddl/lib/libdtrace/socket.d Sat Sep 9 05:42:23 2017 (r323344, copy of r323343, head/cddl/lib/libdtrace/socket.d)
@@ -0,0 +1,301 @@
+/*
+ * Copyright (c) 2017 George V. Neville-Neil
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ *
+ * Translators and flags for the socket structure. FreeBSD specific code.
+ */
+
+#pragma D depends_on module kernel
+
+/*
+ * Option flags per-socket.
+ */
+#pragma D binding "1.13" SO_DEBUG
+inline int SO_DEBUG = 0x0001; /* turn on debugging info recording */
+#pragma D binding "1.13" SO_ACCEPTCONN
+inline int SO_ACCEPTCONN = 0x0002; /* socket has had listen() */
+#pragma D binding "1.13" SO_REUSEADDR
+inline int SO_REUSEADDR = 0x0004; /* allow local address reuse */
+#pragma D binding "1.13" SO_KEEPALIVE
+inline int SO_KEEPALIVE = 0x0008; /* keep connections alive */
+#pragma D binding "1.13" SO_DONTROUTE
+inline int SO_DONTROUTE = 0x0010; /* just use interface addresses */
+#pragma D binding "1.13" SO_BROADCAST
+inline int SO_BROADCAST = 0x0020; /* permit sending of broadcast msgs */
+#pragma D binding "1.13" SO_USELOOPBACK
+inline int SO_USELOOPBACK = 0x0040; /* bypass hardware when possible */
+#pragma D binding "1.13" SO_LINGER
+inline int SO_LINGER = 0x0080; /* linger on close if data present */
+#pragma D binding "1.13" SO_OOBINLINE
+inline int SO_OOBINLINE = 0x0100; /* leave received OOB data in line */
+#pragma D binding "1.13" SO_REUSEPORT
+inline int SO_REUSEPORT = 0x0200; /* allow local address & port reuse */
+#pragma D binding "1.13" SO_TIMESTAMP
+inline int SO_TIMESTAMP = 0x0400; /* timestamp received dgram traffic */
+#pragma D binding "1.13" SO_NOSIGPIPE
+inline int SO_NOSIGPIPE = 0x0800; /* no SIGPIPE from EPIPE */
+#pragma D binding "1.13" SO_ACCEPTFILTER
+inline int SO_ACCEPTFILTER = 0x1000; /* there is an accept filter */
+#pragma D binding "1.13" SO_BINTIME
+inline int SO_BINTIME = 0x2000; /* timestamp received dgram traffic */
+#pragma D binding "1.13" SO_NO_OFFLOAD
+inline int SO_NO_OFFLOAD = 0x4000; /* socket cannot be offloaded */
+#pragma D binding "1.13" SO_NO_DDP
+inline int SO_NO_DDP = 0x8000; /* disable direct data placement */
+
+/*
+ * Additional options, not kept in so_options.
+ */
+#pragma D binding "1.13" SO_SNDBUF
+inline int SO_SNDBUF = 0x1001; /* send buffer size */
+#pragma D binding "1.13" SO_RCVBUF
+inline int SO_RCVBUF = 0x1002; /* receive buffer size */
+#pragma D binding "1.13" SO_SNDLOWAT
+inline int SO_SNDLOWAT = 0x1003; /* send low-water mark */
+#pragma D binding "1.13" SO_RCVLOWAT
+inline int SO_RCVLOWAT = 0x1004; /* receive low-water mark */
+#pragma D binding "1.13" SO_SNDTIMEO
+inline int SO_SNDTIMEO = 0x1005; /* send timeout */
+#pragma D binding "1.13" SO_RCVTIMEO
+inline int SO_RCVTIMEO = 0x1006; /* receive timeout */
+#pragma D binding "1.13" SO_ERROR
+inline int SO_ERROR = 0x1007; /* get error status and clear */
+#pragma D binding "1.13" SO_TYPE
+inline int SO_TYPE = 0x1008; /* get socket type */
+#pragma D binding "1.13" SO_LABEL
+inline int SO_LABEL = 0x1009; /* socket's MAC label */
+#pragma D binding "1.13" SO_PEERLABEL
+inline int SO_PEERLABEL = 0x1010; /* socket's peer's MAC label */
+#pragma D binding "1.13" SO_LISTENQLIMIT
+inline int SO_LISTENQLIMIT = 0x1011; /* socket's backlog limit */
+#pragma D binding "1.13" SO_LISTENQLEN
+inline int SO_LISTENQLEN = 0x1012; /* socket's complete queue length */
+#pragma D binding "1.13" SO_LISTENINCQLEN
+inline int SO_LISTENINCQLEN = 0x1013; /* socket's incomplete queue length */
+#pragma D binding "1.13" SO_SETFIB
+inline int SO_SETFIB = 0x1014; /* use this FIB to route */
+#pragma D binding "1.13" SO_USER_COOKIE
+inline int SO_USER_COOKIE = 0x1015; /* user cookie (dummynet etc.) */
+#pragma D binding "1.13" SO_PROTOCOL
+inline int SO_PROTOCOL = 0x1016; /* get socket protocol (Linux name) */
+#pragma D binding "1.13" SO_PROTOTYPE
+inline int SO_PROTOTYPE = SO_PROTOCOL; /* alias for SO_PROTOCOL (SunOS name) */
+#pragma D binding "1.13" SO_TS_CLOCK
+inline int SO_TS_CLOCK = 0x1017; /* clock type used for SO_TIMESTAMP */
+#pragma D binding "1.13" SO_MAX_PACING_RATE
+inline int SO_MAX_PACING_RATE = 0x1018; /* socket's max TX pacing rate (Linux name) */
+
+#pragma D binding "1.13" SO_TS_REALTIME_MICRO
+inline int SO_TS_REALTIME_MICRO = 0; /* microsecond resolution, realtime */
+#pragma D binding "1.13" SO_TS_BINTIME
+inline int SO_TS_BINTIME = 1; /* sub-nanosecond resolution, realtime */
+#pragma D binding "1.13" SO_TS_REALTIME
+inline int SO_TS_REALTIME = 2; /* nanosecond resolution, realtime */
+#pragma D binding "1.13" SO_TS_MONOTONIC
+inline int SO_TS_MONOTONIC = 3; /* nanosecond resolution, monotonic */
+#pragma D binding "1.13" SO_TS_DEFAULT
+inline int SO_TS_DEFAULT = SO_TS_REALTIME_MICRO;
+#pragma D binding "1.13" SO_TS_CLOCK_MAX
+inline int SO_TS_CLOCK_MAX = SO_TS_MONOTONIC;
+
+#pragma D binding "1.13" AF_UNSPEC
+inline int AF_UNSPEC = 0; /* unspecified */
+#pragma D binding "1.13" AF_UNIX
+inline int AF_UNIX = 1; /* standardized name for AF_LOCAL */
+#pragma D binding "1.13" AF_LOCAL
+inline int AF_LOCAL = AF_UNIX; /* local to host (pipes, portals) */
+#pragma D binding "1.13" AF_INET
+inline int AF_INET = 2; /* internetwork: UDP, TCP, etc. */
+#pragma D binding "1.13" AF_IMPLINK
+inline int AF_IMPLINK = 3; /* arpanet imp addresses */
+#pragma D binding "1.13" AF_PUP
+inline int AF_PUP = 4; /* pup protocols: e.g. BSP */
+#pragma D binding "1.13" AF_CHAOS
+inline int AF_CHAOS = 5; /* mit CHAOS protocols */
+#pragma D binding "1.13" AF_NETBIOS
+inline int AF_NETBIOS = 6; /* SMB protocols */
+#pragma D binding "1.13" AF_ISO
+inline int AF_ISO = 7; /* ISO protocols */
+#pragma D binding "1.13" AF_OSI
+inline int AF_OSI = AF_ISO;
+#pragma D binding "1.13" AF_ECMA
+inline int AF_ECMA = 8; /* European computer manufacturers */
+#pragma D binding "1.13" AF_DATAKIT
+inline int AF_DATAKIT = 9; /* datakit protocols */
+#pragma D binding "1.13" AF_CCITT
+inline int AF_CCITT = 10; /* CCITT protocols, X.25 etc */
+#pragma D binding "1.13" AF_SNA
+inline int AF_SNA = 11; /* IBM SNA */
+#pragma D binding "1.13" AF_DECnet
+inline int AF_DECnet = 12; /* DECnet */
+#pragma D binding "1.13" AF_DLI
+inline int AF_DLI = 13; /* DEC Direct data link interface */
+#pragma D binding "1.13" AF_LAT
+inline int AF_LAT = 14; /* LAT */
+#pragma D binding "1.13" AF_HYLINK
+inline int AF_HYLINK = 15; /* NSC Hyperchannel */
+#pragma D binding "1.13" AF_APPLETALK
+inline int AF_APPLETALK = 16; /* Apple Talk */
+#pragma D binding "1.13" AF_ROUTE
+inline int AF_ROUTE = 17; /* Internal Routing Protocol */
+#pragma D binding "1.13" AF_LINK
+inline int AF_LINK = 18; /* Link layer interface */
+#pragma D binding "1.13" pseudo_AF_XTP
+inline int pseudo_AF_XTP = 19; /* eXpress Transfer Protocol (no AF) */
+#pragma D binding "1.13" AF_COIP
+inline int AF_COIP = 20; /* connection-oriented IP, aka ST II */
+#pragma D binding "1.13" AF_CNT
+inline int AF_CNT = 21; /* Computer Network Technology */
+#pragma D binding "1.13" pseudo_AF_RTIP
+inline int pseudo_AF_RTIP = 22; /* Help Identify RTIP packets */
+#pragma D binding "1.13" AF_IPX
+inline int AF_IPX = 23; /* Novell Internet Protocol */
+#pragma D binding "1.13" AF_SIP
+inline int AF_SIP = 24; /* Simple Internet Protocol */
+#pragma D binding "1.13" pseudo_AF_PIP
+inline int pseudo_AF_PIP = 25; /* Help Identify PIP packets */
+#pragma D binding "1.13" AF_ISDN
+inline int AF_ISDN = 26; /* Integrated Services Digital Network*/
+#pragma D binding "1.13" AF_E164
+inline int AF_E164 = AF_ISDN; /* CCITT E.164 recommendation */
+#pragma D binding "1.13" pseudo_AF_KEY
+inline int pseudo_AF_KEY = 27; /* Internal key-management function */
+#pragma D binding "1.13" AF_INET6
+inline int AF_INET6 = 28; /* IPv6 */
+#pragma D binding "1.13" AF_NATM
+inline int AF_NATM = 29; /* native ATM access */
+#pragma D binding "1.13" AF_ATM
+inline int AF_ATM = 30; /* ATM */
+#pragma D binding "1.13" pseudo_AF_HDRCMPLT
+inline int pseudo_AF_HDRCMPLT = 31; /* Used by BPF to not rewrite headers
+ * in interface output routine
+ */
+#pragma D binding "1.13" AF_NETGRAPH
+inline int AF_NETGRAPH = 32; /* Netgraph sockets */
+#pragma D binding "1.13" AF_SLOW
+inline int AF_SLOW = 33; /* 802.3ad slow protocol */
+#pragma D binding "1.13" AF_SCLUSTER
+inline int AF_SCLUSTER = 34; /* Sitara cluster protocol */
+#pragma D binding "1.13" AF_ARP
+inline int AF_ARP = 35; /* Address Resolution Protocol */
+#pragma D binding "1.13" AF_BLUETOOTH
+inline int AF_BLUETOOTH = 36; /* Bluetooth sockets */
+#pragma D binding "1.13" AF_IEEE80211
+inline int AF_IEEE80211 = 37; /* IEEE 802.11 protocol */
+#pragma D binding "1.13" AF_INET_SDP
+inline int AF_INET_SDP = 40; /* OFED Socket Direct Protocol ipv4 */
+#pragma D binding "1.13" AF_INET6_SDP
+inline int AF_INET6_SDP = 42; /* OFED Socket Direct Protocol ipv6 */
+#pragma D binding "1.13" AF_MAX
+inline int AF_MAX = 42;
+
+/*
+ * Protocol families, same as address families for now.
+ */
+#pragma D binding "1.13" PF_UNSPEC
+inline int PF_UNSPEC = AF_UNSPEC;
+#pragma D binding "1.13" PF_LOCAL
+inline int PF_LOCAL = AF_LOCAL;
+#pragma D binding "1.13" PF_UNIX
+inline int PF_UNIX = PF_LOCAL; /* backward compatibility */
+#pragma D binding "1.13" PF_INET
+inline int PF_INET = AF_INET;
+#pragma D binding "1.13" PF_IMPLINK
+inline int PF_IMPLINK = AF_IMPLINK;
+#pragma D binding "1.13" PF_PUP
+inline int PF_PUP = AF_PUP;
+#pragma D binding "1.13" PF_CHAOS
+inline int PF_CHAOS = AF_CHAOS;
+#pragma D binding "1.13" PF_NETBIOS
+inline int PF_NETBIOS = AF_NETBIOS;
+#pragma D binding "1.13" PF_ISO
+inline int PF_ISO = AF_ISO;
+#pragma D binding "1.13" PF_OSI
+inline int PF_OSI = AF_ISO;
+#pragma D binding "1.13" PF_ECMA
+inline int PF_ECMA = AF_ECMA;
+#pragma D binding "1.13" PF_DATAKIT
+inline int PF_DATAKIT = AF_DATAKIT;
+#pragma D binding "1.13" PF_CCITT
+inline int PF_CCITT = AF_CCITT;
+#pragma D binding "1.13" PF_SNA
+inline int PF_SNA = AF_SNA;
+#pragma D binding "1.13" PF_DECnet
+inline int PF_DECnet = AF_DECnet;
+#pragma D binding "1.13" PF_DLI
+inline int PF_DLI = AF_DLI;
+#pragma D binding "1.13" PF_LAT
+inline int PF_LAT = AF_LAT;
+#pragma D binding "1.13" PF_HYLINK
+inline int PF_HYLINK = AF_HYLINK;
+#pragma D binding "1.13" PF_APPLETALK
+inline int PF_APPLETALK = AF_APPLETALK;
+#pragma D binding "1.13" PF_ROUTE
+inline int PF_ROUTE = AF_ROUTE;
+#pragma D binding "1.13" PF_LINK
+inline int PF_LINK = AF_LINK;
+#pragma D binding "1.13" PF_XTP
+inline int PF_XTP = pseudo_AF_XTP; /* really just proto family, no AF */
+#pragma D binding "1.13" PF_COIP
+inline int PF_COIP = AF_COIP;
+#pragma D binding "1.13" PF_CNT
+inline int PF_CNT = AF_CNT;
+#pragma D binding "1.13" PF_SIP
+inline int PF_SIP = AF_SIP;
+#pragma D binding "1.13" PF_IPX
+inline int PF_IPX = AF_IPX;
+#pragma D binding "1.13" PF_RTIP
+inline int PF_RTIP = pseudo_AF_RTIP; /* same format as AF_INET */
+#pragma D binding "1.13" PF_PIP
+inline int PF_PIP = pseudo_AF_PIP;
+#pragma D binding "1.13" PF_ISDN
+inline int PF_ISDN = AF_ISDN;
+#pragma D binding "1.13" PF_KEY
+inline int PF_KEY = pseudo_AF_KEY;
+#pragma D binding "1.13" PF_INET6
+inline int PF_INET6 = AF_INET6;
+#pragma D binding "1.13" PF_NATM
+inline int PF_NATM = AF_NATM;
+#pragma D binding "1.13" PF_ATM
+inline int PF_ATM = AF_ATM;
+#pragma D binding "1.13" PF_NETGRAPH
+inline int PF_NETGRAPH = AF_NETGRAPH;
+#pragma D binding "1.13" PF_SLOW
+inline int PF_SLOW = AF_SLOW;
+#pragma D binding "1.13" PF_SCLUSTER
+inline int PF_SCLUSTER = AF_SCLUSTER;
+#pragma D binding "1.13" PF_ARP
+inline int PF_ARP = AF_ARP;
+#pragma D binding "1.13" PF_BLUETOOTH
+inline int PF_BLUETOOTH = AF_BLUETOOTH;
+#pragma D binding "1.13" PF_IEEE80211
+inline int PF_IEEE80211 = AF_IEEE80211;
+#pragma D binding "1.13" PF_INET_SDP
+inline int PF_INET_SDP= AF_INET_SDP;
+#pragma D binding "1.13" PF_INET6_SDP
+inline int PF_INET6_SDP= AF_INET6_SDP;
+#pragma D binding "1.13" PF_MAX
+inline int PF_MAX = AF_MAX;
Modified: projects/runtime-coverage/contrib/binutils/opcodes/i386-dis.c
==============================================================================
--- projects/runtime-coverage/contrib/binutils/opcodes/i386-dis.c Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/binutils/opcodes/i386-dis.c Sat Sep 9 05:42:23 2017 (r323344)
@@ -1302,7 +1302,7 @@ static const unsigned char twobyte_uses_REPZ_prefix[25
/* 70 */ 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1, /* 7f */
/* 80 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 8f */
/* 90 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 9f */
- /* a0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* af */
+ /* a0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0, /* af */
/* b0 */ 0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0, /* bf */
/* c0 */ 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0, /* cf */
/* d0 */ 0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0, /* df */
@@ -1793,10 +1793,10 @@ static const struct dis386 grps[][8] = {
},
/* GRP15 */
{
- { "fxsave", { Ev } },
- { "fxrstor", { Ev } },
- { "ldmxcsr", { Ev } },
- { "stmxcsr", { Ev } },
+ { "fxsave", { { OP_0fae, v_mode } } },
+ { "fxrstor", { { OP_0fae, v_mode } } },
+ { "ldmxcsr", { { OP_0fae, v_mode } } },
+ { "stmxcsr", { { OP_0fae, v_mode } } },
{ "xsave", { Ev } },
{ "xrstor", { { OP_0fae, v_mode } } },
{ "xsaveopt", { { OP_0fae, v_mode } } },
@@ -5997,19 +5997,34 @@ OP_0fae (int bytemode, int sizeflag)
{
if (modrm.mod == 3)
{
- if (modrm.reg == 7)
- strcpy (obuf + strlen (obuf) - sizeof ("clflush") + 1, "sfence");
- else if (modrm.reg == 6)
- strcpy (obuf + strlen (obuf) - sizeof ("xsaveopt") + 1, "mfence");
- else if (modrm.reg == 5)
- strcpy (obuf + strlen (obuf) - sizeof ("xrstor") + 1, "lfence");
-
- if (modrm.reg < 5 || modrm.rm != 0)
+ if (modrm.reg >= 5 && modrm.reg <= 7 && modrm.rm == 0)
{
- BadOp (); /* bad sfence, mfence, or lfence */
+ if (modrm.reg == 7)
+ strcpy (obuf + strlen (obuf) - sizeof ("clflush") + 1, "sfence");
+ else if (modrm.reg == 6)
+ strcpy (obuf + strlen (obuf) - sizeof ("xsaveopt") + 1, "mfence");
+ else if (modrm.reg == 5)
+ strcpy (obuf + strlen (obuf) - sizeof ("xrstor") + 1, "lfence");
+ bytemode = 0;
+ }
+ else if (modrm.reg <= 3 && (prefixes & PREFIX_REPZ) != 0)
+ {
+ if (modrm.reg == 0)
+ strcpy (obuf + strlen (obuf) - sizeof ("fxsave") + 1, "rdfsbase");
+ else if (modrm.reg == 1)
+ strcpy (obuf + strlen (obuf) - sizeof ("fxrstor") + 1, "rdgsbase");
+ else if (modrm.reg == 2)
+ strcpy (obuf + strlen (obuf) - sizeof ("ldmxcsr") + 1, "wrfsbase");
+ else if (modrm.reg == 3)
+ strcpy (obuf + strlen (obuf) - sizeof ("stmxcsr") + 1, "wrgsbase");
+ used_prefixes |= PREFIX_REPZ;
+ bytemode = dq_mode;
+ }
+ else
+ {
+ BadOp ();
return;
}
- bytemode = 0;
}
OP_E (bytemode, sizeflag);
Modified: projects/runtime-coverage/contrib/binutils/opcodes/i386-opc.h
==============================================================================
--- projects/runtime-coverage/contrib/binutils/opcodes/i386-opc.h Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/binutils/opcodes/i386-opc.h Sat Sep 9 05:42:23 2017 (r323344)
@@ -81,6 +81,7 @@ typedef struct template
#define CpuPCLMUL 0x10000000 /* Carry-less Multiplication extensions */
#define CpuRdRnd 0x20000000 /* Intel Random Number Generator extensions */
#define CpuSMAP 0x40000000 /* Intel Supervisor Mode Access Prevention */
+#define CpuFSGSBase 0x80000000 /* Read/write fs/gs segment base registers */
/* SSE4.1/4.2 Instructions required */
#define CpuSSE4 (CpuSSE4_1|CpuSSE4_2)
@@ -89,7 +90,8 @@ typedef struct template
#define CpuUnknownFlags (Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686 \
|CpuP4|CpuSledgehammer|CpuMMX|CpuMMX2|CpuSSE|CpuSSE2|CpuSSE3|CpuVMX \
|Cpu3dnow|Cpu3dnowA|CpuK6|CpuPadLock|CpuSVME|CpuSSSE3|CpuSSE4_1 \
- |CpuSSE4_2|CpuABM|CpuSSE4a|CpuXSAVE|CpuAES|CpuPCLMUL|CpuRdRnd|CpuSMAP)
+ |CpuSSE4_2|CpuABM|CpuSSE4a|CpuXSAVE|CpuAES|CpuPCLMUL|CpuRdRnd|CpuSMAP \
+ |CpuFSGSBase)
/* the bits in opcode_modifier are used to generate the final opcode from
the base_opcode. These bits also are used to detect alternate forms of
Modified: projects/runtime-coverage/contrib/binutils/opcodes/i386-opc.tbl
==============================================================================
--- projects/runtime-coverage/contrib/binutils/opcodes/i386-opc.tbl Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/binutils/opcodes/i386-opc.tbl Sat Sep 9 05:42:23 2017 (r323344)
@@ -1525,3 +1525,13 @@ pclmulhqhqdq, 2, 0x660f3a44, 0x11, CpuPCLMUL, Modrm|Ig
// Intel Random Number Generator extensions
rdrand, 1, 0x0fc7, 0x6, CpuRdRnd, Modrm|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_xSuf, { Reg16|Reg32|Reg64 }
rdseed, 1, 0x0fc7, 0x7, CpuRdRnd, Modrm|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_xSuf, { Reg16|Reg32|Reg64 }
+
+// Intel Supervisor Mode Access Prevention extensions
+clac, 0, 0x0f01, 0xca, CpuSMAP, NoSuf|ImmExt, { 0 }
+stac, 0, 0x0f01, 0xcb, CpuSMAP, NoSuf|ImmExt, { 0 }
+
+// Read/write fs/gs segment base registers
+rdfsbase, 1, 0xf30fae, 0x0, CpuFSGSBase|Cpu64, Modrm|No_bSuf|No_wSuf|No_sSuf|No_xSuf, { Reg32|Reg64 }
+rdgsbase, 1, 0xf30fae, 0x1, CpuFSGSBase|Cpu64, Modrm|No_bSuf|No_wSuf|No_sSuf|No_xSuf, { Reg32|Reg64 }
+wrfsbase, 1, 0xf30fae, 0x2, CpuFSGSBase|Cpu64, Modrm|No_bSuf|No_wSuf|No_sSuf|No_xSuf, { Reg32|Reg64 }
+wrgsbase, 1, 0xf30fae, 0x3, CpuFSGSBase|Cpu64, Modrm|No_bSuf|No_wSuf|No_sSuf|No_xSuf, { Reg32|Reg64 }
Modified: projects/runtime-coverage/contrib/binutils/opcodes/i386-tbl.h
==============================================================================
--- projects/runtime-coverage/contrib/binutils/opcodes/i386-tbl.h Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/binutils/opcodes/i386-tbl.h Sat Sep 9 05:42:23 2017 (r323344)
@@ -4400,6 +4400,20 @@ const template i386_optab[] =
NoSuf|ImmExt, { 0, 0, 0 } },
{"stac", 0, 0x0f01, 0xcb, CpuSMAP,
NoSuf|ImmExt, { 0, 0, 0 } },
+
+ /* Read/write fs/gs segment base registers */
+ {"rdfsbase", 1, 0xf30fae, 0x0, CpuFSGSBase|Cpu64,
+ Modrm|No_bSuf|No_wSuf|No_sSuf|No_xSuf,
+ { Reg32|Reg64 } },
+ {"rdgsbase", 1, 0xf30fae, 0x1, CpuFSGSBase|Cpu64,
+ Modrm|No_bSuf|No_wSuf|No_sSuf|No_xSuf,
+ { Reg32|Reg64 } },
+ {"wrfsbase", 1, 0xf30fae, 0x2, CpuFSGSBase|Cpu64,
+ Modrm|No_bSuf|No_wSuf|No_sSuf|No_xSuf,
+ { Reg32|Reg64 } },
+ {"wrgsbase", 1, 0xf30fae, 0x3, CpuFSGSBase|Cpu64,
+ Modrm|No_bSuf|No_wSuf|No_sSuf|No_xSuf,
+ { Reg32|Reg64 } },
{ NULL, 0, 0, 0, 0, 0, { 0 } }
};
Modified: projects/runtime-coverage/contrib/file/src/readelf.c
==============================================================================
--- projects/runtime-coverage/contrib/file/src/readelf.c Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/file/src/readelf.c Sat Sep 9 05:42:23 2017 (r323344)
@@ -509,7 +509,7 @@ do_bid_note(struct magic_set *ms, unsigned char *nbuf,
size_t noff, size_t doff, int *flags)
{
if (namesz == 4 && strcmp((char *)&nbuf[noff], "GNU") == 0 &&
- type == NT_GNU_BUILD_ID && (descsz >= 4 || descsz <= 20)) {
+ type == NT_GNU_BUILD_ID && (descsz >= 4 && descsz <= 20)) {
uint8_t desc[20];
const char *btype;
uint32_t i;
Modified: projects/runtime-coverage/contrib/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
==============================================================================
--- projects/runtime-coverage/contrib/llvm/include/llvm/CodeGen/SelectionDAGNodes.h Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/include/llvm/CodeGen/SelectionDAGNodes.h Sat Sep 9 05:42:23 2017 (r323344)
@@ -801,7 +801,8 @@ class SDNode : public FoldingSetNode, public ilist_nod
/// if DAG changes.
static bool hasPredecessorHelper(const SDNode *N,
SmallPtrSetImpl<const SDNode *> &Visited,
- SmallVectorImpl<const SDNode *> &Worklist) {
+ SmallVectorImpl<const SDNode *> &Worklist,
+ unsigned int MaxSteps = 0) {
if (Visited.count(N))
return true;
while (!Worklist.empty()) {
@@ -816,6 +817,8 @@ class SDNode : public FoldingSetNode, public ilist_nod
}
if (Found)
return true;
+ if (MaxSteps != 0 && Visited.size() >= MaxSteps)
+ return false;
}
return false;
}
Modified: projects/runtime-coverage/contrib/llvm/lib/Analysis/PostDominators.cpp
==============================================================================
--- projects/runtime-coverage/contrib/llvm/lib/Analysis/PostDominators.cpp Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/lib/Analysis/PostDominators.cpp Sat Sep 9 05:42:23 2017 (r323344)
@@ -23,8 +23,6 @@ using namespace llvm;
#define DEBUG_TYPE "postdomtree"
-template class llvm::DominatorTreeBase<BasicBlock, true>; // PostDomTreeBase
-
//===----------------------------------------------------------------------===//
// PostDominatorTree Implementation
//===----------------------------------------------------------------------===//
Modified: projects/runtime-coverage/contrib/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
==============================================================================
--- projects/runtime-coverage/contrib/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Sat Sep 9 05:42:23 2017 (r323344)
@@ -1118,22 +1118,30 @@ SDValue DAGCombiner::PromoteIntBinOp(SDValue Op) {
SDValue RV =
DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, NN0, NN1));
- // New replace instances of N0 and N1
- if (Replace0 && N0 && N0.getOpcode() != ISD::DELETED_NODE && NN0 &&
- NN0.getOpcode() != ISD::DELETED_NODE) {
+ // We are always replacing N0/N1's use in N and only need
+ // additional replacements if there are additional uses.
+ Replace0 &= !N0->hasOneUse();
+ Replace1 &= (N0 != N1) && !N1->hasOneUse();
+
+ // Combine Op here so it is presreved past replacements.
+ CombineTo(Op.getNode(), RV);
+
+ // If operands have a use ordering, make sur we deal with
+ // predecessor first.
+ if (Replace0 && Replace1 && N0.getNode()->isPredecessorOf(N1.getNode())) {
+ std::swap(N0, N1);
+ std::swap(NN0, NN1);
+ }
+
+ if (Replace0) {
AddToWorklist(NN0.getNode());
ReplaceLoadWithPromotedLoad(N0.getNode(), NN0.getNode());
}
-
- if (Replace1 && N1 && N1.getOpcode() != ISD::DELETED_NODE && NN1 &&
- NN1.getOpcode() != ISD::DELETED_NODE) {
+ if (Replace1) {
AddToWorklist(NN1.getNode());
ReplaceLoadWithPromotedLoad(N1.getNode(), NN1.getNode());
}
-
- // Deal with Op being deleted.
- if (Op && Op.getOpcode() != ISD::DELETED_NODE)
- return RV;
+ return Op;
}
return SDValue();
}
@@ -12599,25 +12607,37 @@ void DAGCombiner::getStoreMergeCandidates(
}
}
-// We need to check that merging these stores does not cause a loop
-// in the DAG. Any store candidate may depend on another candidate
+// We need to check that merging these stores does not cause a loop in
+// the DAG. Any store candidate may depend on another candidate
// indirectly through its operand (we already consider dependencies
// through the chain). Check in parallel by searching up from
// non-chain operands of candidates.
+
bool DAGCombiner::checkMergeStoreCandidatesForDependencies(
SmallVectorImpl<MemOpLink> &StoreNodes, unsigned NumStores) {
+
+ // FIXME: We should be able to truncate a full search of
+ // predecessors by doing a BFS and keeping tabs the originating
+ // stores from which worklist nodes come from in a similar way to
+ // TokenFactor simplfication.
+
SmallPtrSet<const SDNode *, 16> Visited;
SmallVector<const SDNode *, 8> Worklist;
- // search ops of store candidates
+ unsigned int Max = 8192;
+ // Search Ops of store candidates.
for (unsigned i = 0; i < NumStores; ++i) {
SDNode *n = StoreNodes[i].MemNode;
// Potential loops may happen only through non-chain operands
for (unsigned j = 1; j < n->getNumOperands(); ++j)
Worklist.push_back(n->getOperand(j).getNode());
}
- // search through DAG. We can stop early if we find a storenode
+ // Search through DAG. We can stop early if we find a store node.
for (unsigned i = 0; i < NumStores; ++i) {
- if (SDNode::hasPredecessorHelper(StoreNodes[i].MemNode, Visited, Worklist))
+ if (SDNode::hasPredecessorHelper(StoreNodes[i].MemNode, Visited, Worklist,
+ Max))
+ return false;
+ // Check if we ended early, failing conservatively if so.
+ if (Visited.size() >= Max)
return false;
}
return true;
Modified: projects/runtime-coverage/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp
==============================================================================
--- projects/runtime-coverage/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp Sat Sep 9 05:42:23 2017 (r323344)
@@ -30942,11 +30942,40 @@ static bool checkBoolTestAndOrSetCCCombine(SDValue Con
return true;
}
+// When legalizing carry, we create carries via add X, -1
+// If that comes from an actual carry, via setcc, we use the
+// carry directly.
+static SDValue combineCarryThroughADD(SDValue EFLAGS) {
+ if (EFLAGS.getOpcode() == X86ISD::ADD) {
+ if (isAllOnesConstant(EFLAGS.getOperand(1))) {
+ SDValue Carry = EFLAGS.getOperand(0);
+ while (Carry.getOpcode() == ISD::TRUNCATE ||
+ Carry.getOpcode() == ISD::ZERO_EXTEND ||
+ Carry.getOpcode() == ISD::SIGN_EXTEND ||
+ Carry.getOpcode() == ISD::ANY_EXTEND ||
+ (Carry.getOpcode() == ISD::AND &&
+ isOneConstant(Carry.getOperand(1))))
+ Carry = Carry.getOperand(0);
+ if (Carry.getOpcode() == X86ISD::SETCC ||
+ Carry.getOpcode() == X86ISD::SETCC_CARRY) {
+ if (Carry.getConstantOperandVal(0) == X86::COND_B)
+ return Carry.getOperand(1);
+ }
+ }
+ }
+
+ return SDValue();
+}
+
/// Optimize an EFLAGS definition used according to the condition code \p CC
/// into a simpler EFLAGS value, potentially returning a new \p CC and replacing
/// uses of chain values.
static SDValue combineSetCCEFLAGS(SDValue EFLAGS, X86::CondCode &CC,
SelectionDAG &DAG) {
+ if (CC == X86::COND_B)
+ if (SDValue Flags = combineCarryThroughADD(EFLAGS))
+ return Flags;
+
if (SDValue R = checkBoolTestSetCCCombine(EFLAGS, CC))
return R;
return combineSetCCAtomicArith(EFLAGS, CC, DAG);
@@ -34989,27 +35018,13 @@ static SDValue combineSIntToFP(SDNode *N, SelectionDAG
return SDValue();
}
-// Optimize RES, EFLAGS = X86ISD::ADD LHS, RHS
-static SDValue combineX86ADD(SDNode *N, SelectionDAG &DAG,
- X86TargetLowering::DAGCombinerInfo &DCI) {
- // When legalizing carry, we create carries via add X, -1
- // If that comes from an actual carry, via setcc, we use the
- // carry directly.
- if (isAllOnesConstant(N->getOperand(1)) && N->hasAnyUseOfValue(1)) {
- SDValue Carry = N->getOperand(0);
- while (Carry.getOpcode() == ISD::TRUNCATE ||
- Carry.getOpcode() == ISD::ZERO_EXTEND ||
- Carry.getOpcode() == ISD::SIGN_EXTEND ||
- Carry.getOpcode() == ISD::ANY_EXTEND ||
- (Carry.getOpcode() == ISD::AND &&
- isOneConstant(Carry.getOperand(1))))
- Carry = Carry.getOperand(0);
-
- if (Carry.getOpcode() == X86ISD::SETCC ||
- Carry.getOpcode() == X86ISD::SETCC_CARRY) {
- if (Carry.getConstantOperandVal(0) == X86::COND_B)
- return DCI.CombineTo(N, SDValue(N, 0), Carry.getOperand(1));
- }
+static SDValue combineSBB(SDNode *N, SelectionDAG &DAG) {
+ if (SDValue Flags = combineCarryThroughADD(N->getOperand(2))) {
+ MVT VT = N->getSimpleValueType(0);
+ SDVTList VTs = DAG.getVTList(VT, MVT::i32);
+ return DAG.getNode(X86ISD::SBB, SDLoc(N), VTs,
+ N->getOperand(0), N->getOperand(1),
+ Flags);
}
return SDValue();
@@ -35038,6 +35053,14 @@ static SDValue combineADC(SDNode *N, SelectionDAG &DAG
return DCI.CombineTo(N, Res1, CarryOut);
}
+ if (SDValue Flags = combineCarryThroughADD(N->getOperand(2))) {
+ MVT VT = N->getSimpleValueType(0);
+ SDVTList VTs = DAG.getVTList(VT, MVT::i32);
+ return DAG.getNode(X86ISD::ADC, SDLoc(N), VTs,
+ N->getOperand(0), N->getOperand(1),
+ Flags);
+ }
+
return SDValue();
}
@@ -35677,7 +35700,7 @@ SDValue X86TargetLowering::PerformDAGCombine(SDNode *N
case X86ISD::CMOV: return combineCMov(N, DAG, DCI, Subtarget);
case ISD::ADD: return combineAdd(N, DAG, Subtarget);
case ISD::SUB: return combineSub(N, DAG, Subtarget);
- case X86ISD::ADD: return combineX86ADD(N, DAG, DCI);
+ case X86ISD::SBB: return combineSBB(N, DAG);
case X86ISD::ADC: return combineADC(N, DAG, DCI);
case ISD::MUL: return combineMul(N, DAG, DCI, Subtarget);
case ISD::SHL:
Modified: projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/AST/DeclCXX.h
==============================================================================
--- projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/AST/DeclCXX.h Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/AST/DeclCXX.h Sat Sep 9 05:42:23 2017 (r323344)
@@ -2028,7 +2028,10 @@ class CXXMethodDecl : public FunctionDecl { (public)
/// \brief Returns the type of the \c this pointer.
///
- /// Should only be called for instance (i.e., non-static) methods.
+ /// Should only be called for instance (i.e., non-static) methods. Note
+ /// that for the call operator of a lambda closure type, this returns the
+ /// desugared 'this' type (a pointer to the closure type), not the captured
+ /// 'this' type.
QualType getThisType(ASTContext &C) const;
unsigned getTypeQualifiers() const {
Modified: projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Driver/Options.td
==============================================================================
--- projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Driver/Options.td Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Driver/Options.td Sat Sep 9 05:42:23 2017 (r323344)
@@ -694,6 +694,9 @@ def fbuiltin : Flag<["-"], "fbuiltin">, Group<f_Group>
def fbuiltin_module_map : Flag <["-"], "fbuiltin-module-map">, Group<f_Group>,
Flags<[DriverOption]>, HelpText<"Load the clang builtins module map file.">;
def fcaret_diagnostics : Flag<["-"], "fcaret-diagnostics">, Group<f_Group>;
+def fclang_abi_compat_EQ : Joined<["-"], "fclang-abi-compat=">, Group<f_clang_Group>,
+ Flags<[CC1Option]>, MetaVarName<"<version>">, Values<"<major>.<minor>,latest">,
+ HelpText<"Attempt to match the ABI of Clang <version>">;
def fclasspath_EQ : Joined<["-"], "fclasspath=">, Group<f_Group>;
def fcolor_diagnostics : Flag<["-"], "fcolor-diagnostics">, Group<f_Group>,
Flags<[CoreOption, CC1Option]>, HelpText<"Use colors in diagnostics">;
Modified: projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.def
==============================================================================
--- projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.def Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.def Sat Sep 9 05:42:23 2017 (r323344)
@@ -120,6 +120,10 @@ CODEGENOPT(NoZeroInitializedInBSS , 1, 0) ///< -fno-ze
ENUM_CODEGENOPT(ObjCDispatchMethod, ObjCDispatchMethodKind, 2, Legacy)
CODEGENOPT(OmitLeafFramePointer , 1, 0) ///< Set when -momit-leaf-frame-pointer is
///< enabled.
+
+/// A version of Clang that we should attempt to be ABI-compatible with.
+ENUM_CODEGENOPT(ClangABICompat, ClangABI, 4, ClangABI::Latest)
+
VALUE_CODEGENOPT(OptimizationLevel, 2, 0) ///< The -O[0-3] option specified.
VALUE_CODEGENOPT(OptimizeSize, 2, 0) ///< If -Os (==1) or -Oz (==2) is specified.
Modified: projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.h
==============================================================================
--- projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.h Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.h Sat Sep 9 05:42:23 2017 (r323344)
@@ -69,6 +69,23 @@ class CodeGenOptions : public CodeGenOptionsBase { (pu
LocalExecTLSModel
};
+ /// Clang versions with different platform ABI conformance.
+ enum class ClangABI {
+ /// Attempt to be ABI-compatible with code generated by Clang 3.8.x
+ /// (SVN r257626). This causes <1 x long long> to be passed in an
+ /// integer register instead of an SSE register on x64_64.
+ Ver3_8,
+
+ /// Attempt to be ABI-compatible with code generated by Clang 4.0.x
+ /// (SVN r291814). This causes move operations to be ignored when
+ /// determining whether a class type can be passed or returned directly.
+ Ver4,
+
+ /// Conform to the underlying platform's C and C++ ABIs as closely
+ /// as we can.
+ Latest
+ };
+
enum StructReturnConventionKind {
SRCK_Default, // No special option was passed.
SRCK_OnStack, // Small structs on the stack (-fpcc-struct-return).
Modified: projects/runtime-coverage/contrib/llvm/tools/clang/lib/Basic/Version.cpp
==============================================================================
--- projects/runtime-coverage/contrib/llvm/tools/clang/lib/Basic/Version.cpp Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/tools/clang/lib/Basic/Version.cpp Sat Sep 9 05:42:23 2017 (r323344)
@@ -36,7 +36,7 @@ std::string getClangRepositoryPath() {
// If the SVN_REPOSITORY is empty, try to use the SVN keyword. This helps us
// pick up a tag in an SVN export, for example.
- StringRef SVNRepository("$URL: https://llvm.org/svn/llvm-project/cfe/branches/release_50/lib/Basic/Version.cpp $");
+ StringRef SVNRepository("$URL: https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_500/final/lib/Basic/Version.cpp $");
if (URL.empty()) {
URL = SVNRepository.slice(SVNRepository.find(':'),
SVNRepository.find("/lib/Basic"));
Modified: projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/ABIInfo.h
==============================================================================
--- projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/ABIInfo.h Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/ABIInfo.h Sat Sep 9 05:42:23 2017 (r323344)
@@ -24,6 +24,7 @@ namespace llvm {
namespace clang {
class ASTContext;
+ class CodeGenOptions;
class TargetInfo;
namespace CodeGen {
@@ -68,6 +69,7 @@ namespace swiftcall {
llvm::LLVMContext &getVMContext() const;
const llvm::DataLayout &getDataLayout() const;
const TargetInfo &getTarget() const;
+ const CodeGenOptions &getCodeGenOpts() const;
/// Return the calling convention to use for system runtime
/// functions.
Modified: projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp
==============================================================================
--- projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp Sat Sep 9 05:42:23 2017 (r323344)
@@ -3260,7 +3260,7 @@ void CGDebugInfo::EmitInlineFunctionStart(CGBuilderTy
llvm::DISubprogram *SP = nullptr;
if (FI != SPCache.end())
SP = dyn_cast_or_null<llvm::DISubprogram>(FI->second);
- if (!SP)
+ if (!SP || !SP->isDefinition())
SP = getFunctionStub(GD);
FnBeginRegionCount.push_back(LexicalBlockStack.size());
LexicalBlockStack.emplace_back(SP);
Modified: projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp
==============================================================================
--- projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp Sat Sep 9 05:42:23 2017 (r323344)
@@ -22,6 +22,7 @@
#include "CodeGenPGO.h"
#include "TargetInfo.h"
#include "clang/AST/ASTContext.h"
+#include "clang/AST/ASTLambda.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/StmtCXX.h"
@@ -983,11 +984,22 @@ void CodeGenFunction::StartFunction(GlobalDecl GD,
}
// Check the 'this' pointer once per function, if it's available.
- if (CXXThisValue) {
+ if (CXXABIThisValue) {
SanitizerSet SkippedChecks;
SkippedChecks.set(SanitizerKind::ObjectSize, true);
QualType ThisTy = MD->getThisType(getContext());
- EmitTypeCheck(TCK_Load, Loc, CXXThisValue, ThisTy,
+
+ // If this is the call operator of a lambda with no capture-default, it
+ // may have a static invoker function, which may call this operator with
+ // a null 'this' pointer.
+ if (isLambdaCallOperator(MD) &&
+ cast<CXXRecordDecl>(MD->getParent())->getLambdaCaptureDefault() ==
+ LCD_None)
+ SkippedChecks.set(SanitizerKind::Null, true);
+
+ EmitTypeCheck(isa<CXXConstructorDecl>(MD) ? TCK_ConstructorCall
+ : TCK_MemberCall,
+ Loc, CXXABIThisValue, ThisTy,
getContext().getTypeAlignInChars(ThisTy->getPointeeType()),
SkippedChecks);
}
Modified: projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp
==============================================================================
--- projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp Sat Sep 9 05:12:14 2017 (r323343)
+++ projects/runtime-coverage/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp Sat Sep 9 05:42:23 2017 (r323344)
@@ -44,6 +44,10 @@ CodeGenTypes::~CodeGenTypes() {
delete &*I++;
}
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-projects
mailing list