Displaying 1 50 of 4,849,004 commits (0.286s)

LLVM — llvm/trunk/include/llvm/ADT Optional.h, llvm/trunk/unittests/ADT OptionalTest.cpp

[ADT] Split optional to only include copy mechanics and dtor for non-trivial types.

This makes uses of Optional more transparent to the compiler (and
clang-tidy) and generates slightly smaller code.

This is a re-land of r317019, which had issues with GCC 4.8 back then.
Those issues don't reproduce anymore, but I'll watch the buildbots
closely in case anything goes wrong.

FreeBSD — head/sys/amd64/amd64 pmap.c, head/sys/amd64/include cpu.h

Fix compilation with gcc.

etext is already declared in machine/cpu.h, move kernphys declaration
there too.

Based on the patch by:        bde
MFC after:        13 days

FreeBSD — head/sys/amd64/include asmacros.h

Fix compilation with gas.

Submitted by:        bde
MFC after:        13 days
Delta File
+1 -1 head/sys/amd64/include/asmacros.h
+1 -1 1 file

LLVM — llvm/branches/release_60/lib/Target/X86 X86ISelLowering.cpp, llvm/branches/release_60/test/CodeGen/X86 pr35972.ll

Merging r322724:
------------------------------------------------------------------------
r322724 | ctopper | 2018-01-17 10:46:01 -0800 (Wed, 17 Jan 2018) | 7 lines

[X86] When legalizing (v64i1 select i8, v64i1, v64i1) make sure not to introduce bitcasts 
to i64 in 32-bit mode

We legalize selects of masks with scalar conditions using a bitcast to an integer type. 
But if we are in 32-bit mode we can't convert v64i1 to i64. So instead split the v64i1 to 
v32i1 and concat it back together. Each half will then be legalized by bitcasting to i32 
which is fine.

The test case is a little indirect. If we have the v64i1 select in IR it will get 
legalized by legalize vector ops which has a run of type legalization after it. That type 
legalization run is able to fix this i64 bitcast. So in order to avoid that we need a 
build_vector of a splat which legalize vector ops will ignore. Legalize DAG will then turn 
that into a select via LowerBUILD_VECTORvXi1. And the select will get legalized. In this 
case there is no type legalizer run to cleanup the bitcast.

This fixes pr35972.
------------------------------------------------------------------------

FreeBSD Ports — head/editors/codelite files, head/editors/codelite/files patch-sdk_codelite__cppcheck_CMakeLists.txt

editors/codelite: Fix build when devel/check is installed.
Set correct include-path if devel/check is installed for check.h

PR:                218297
Submitted by:        w.schwarzenfeld at utanet.at
Reported by:        w.schwarzenfeld at utanet.at
Delta File
+14 -0 head/editors/codelite/files/patch-sdk_codelite__cppcheck_CMakeLists.txt
+0 -0 head/editors/codelite/files/
+14 -0 2 files

LLVM — lldb/trunk/include/lldb/Utility Log.h

Fix logging test on windows

Refactor in r322653 broke the logging test on windows because MSVC uses
a fully qualified name as the value of __FUNCTION__, which is not what
we were expecting. I'm changing the code to use the more portable
__func__, which behaves the same as on clang/gcc.

The standard still says that the value of __func__ is implementation
defined, so if we run into problems with this test again we may just
need to drop it.

LLVM — lldb/branches/release_60/lit CMakeLists.txt lit.site.cfg.in

Merging r322081:
------------------------------------------------------------------------
r322081 | mgorny | 2018-01-09 06:44:04 -0800 (Tue, 09 Jan 2018) | 10 lines

[test] Fix tests to use more portable LLVM_ENABLE_ZLIB

The HAVE_LIBZ variable is not exported by LLVM, and therefore is not
available in stand-alone builds of other tools. Use LLVM_ENABLE_ZLIB
which is the name under which the effective value is exported.

Additional, use llvm_canonicalize_cmake_booleans() to make sure that
a correct (Python-safe) boolean value is passed down to lit.

Differential Revision: https://reviews.llvm.org/D41725
------------------------------------------------------------------------

LLVM — lldb/branches/release_60/lit lit.cfg

Merging r321932:
------------------------------------------------------------------------
r321932 | mgorny | 2018-01-06 02:20:25 -0800 (Sat, 06 Jan 2018) | 12 lines

[test] Use full PATH lookup for tools

Use full PATH when looking up test tools rather than just llvm tools
directory. r320813 has added a lookup for 'lldb-test' which is part
of LLDB tools rather than LLVM, and therefore is not present
in llvm_tools_dir before LLDB is installed.

While technically we could introduce separate per-directory lookup
logic, there is no real reason not to use the PATH formed earlier here,
and this is what other tools are doing.

Differential Revision: https://reviews.llvm.org/D41726
------------------------------------------------------------------------

FreeBSD — user/pho/stress2/tools setup.sh

Initial version of a simple setup script.

Sponsored by:        Dell EMC Isilon
Delta File
+28 -0 user/pho/stress2/tools/setup.sh
+28 -0 1 file

FreeBSD — user/pho/stress2/testcases/link link.c

Remove redundant test and added style fixes while here.

Sponsored by:        Dell EMC Isilon
Delta File
+12 -14 user/pho/stress2/testcases/link/link.c
+12 -14 1 file

FreeBSD — head/sys/amd64/amd64 pmap.c

Remove the 'last' argument from the pmap_pti_free_page().

It is in fact unused.

Noted and reviewed by:        markj
Sponsored by:        The FreeBSD Foundation
MFC after:        13 days
Delta File
+12 -13 head/sys/amd64/amd64/pmap.c
+12 -13 1 file

FreeBSD — head/sys/arm64/arm64 pmap.c

Add a pmap invalidate that doesn't call sched_pin.

When demoting DMAP pages curthread may be pointing to data within the
page we are demoting. Create a new invalidate that doesn't pin and use
it in the demote case.

As the demote has both interrupts disabled, and is within a critical section
this is safe from having the scheduler from switching to another CPU.

Reported by:        loos
Reviewed by:        loos
Sponsored by:        DARPA, AFRL
Differential Revision:        https://reviews.freebsd.org/D13955
Delta File
+10 -3 head/sys/arm64/arm64/pmap.c
+10 -3 1 file

LLVM — llvm/trunk/test/CodeGen/X86 schedule-x86-64-shld.ll

A new test to demostrate the current SHLD/SHRD code generation.

OPNsense — . Makefile README.md, misc/theme-rebellion Makefile pkg-descr

misc/theme-rebellion: post-op care

FreeBSD Ports — head/misc/translate pkg-descr Makefile

Remove remnants of the switch from Altavista Babelfish to Google Translate
in r459036 and generally improve port description; while here, add missing
`perl5' to CATEGORIES.

FreeBSD Ports — head/databases/mariadb102-client Makefile pkg-plist, head/databases/mariadb102-server pkg-plist Makefile

databases/mariadb102-client: Fix build of dependent ports

 - Move headers to -client port

FreeBSD Ports — head/emulators/frodo Makefile, head/multimedia/sabbu Makefile

- set BROKEN for FreeBSD-12

LLVM — cfe/trunk/docs LibASTMatchersReference.html, cfe/trunk/include/clang/ASTMatchers ASTMatchers.h

[ASTMatcher] Add isScoped matcher for enumDecl.

Summary:

Reviewers: bkramer, aaron.ballman

Subscribers: aaron.ballman, cfe-commits, klimek

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

FreeBSD Ports — head/editors/openoffice-4 Makefile

Remove some leftovers from an earlier version of the $HOME fix.

LLVM — llvm/trunk/test/CodeGen/RISCV div.ll mul.ll

[RISCV][NFC] Add nounwind to functions in div.ll and mul.ll

Committing this separately to minimise irrelevant changes for an upcoming 
patch.

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp

[SelectionDAG] Convert assert to condtion

Follow-up to r322120 which can cause assertions for AArch64 because
v1f64 and v1i64 are legal types.

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

FreeBSD — user/jeff/numa/sys/vm vm_page.c

This call to lock should've been unlock.

Reported by:        pho
Delta File
+1 -1 user/jeff/numa/sys/vm/vm_page.c
+1 -1 1 file

NAS4Free — trunk/build/ports/devcpu-data Makefile, trunk/build/ports/devcpu-data/files ucode-tool.c Makefile

update port to 1.15

FreeBSD Ports — head/textproc/rubygem-iso-639 pkg-descr

- Fix WWW:

Approved by:        portmgr blanket

OPNsense — src/etc/inc filter.inc, src/opnsense/scripts/filter update_tables.py

firewall: fix booting alias resolve for #2102

While here, also honour ssl_no_verify and plug in force
usage in the right spot (currently unused but still).

(cherry picked from commit 947718b44bbe7509b2e9193d593603fcdaffb547)

OPNsense — src/etc/inc filter.inc, src/opnsense/scripts/filter update_tables.py

firewall: fix booting alias resolve for #2102

While here, also honour ssl_no_verify and plug in force
usage in the right spot (currently unused but still).

NAS4Free — trunk/build/ports/options/files emulators_virtualbox-ose-options emulators_virtualbox-ose-additions-options

update port option files

FreeBSD — head/sys/powerpc/powerpc mp_machdep.c

Call platform_smp_ap_init before decr_ap_init

    In platform_smp_ap_init we are doing some crucial code (eg. set LPCR register)
    which have influence over further execution.

    Practiculary in PowerNV platform we have experienced Data Storage Interrupt
    before we set apropriate LPCR. It caused code execution from location which was
    legal in bootloader (petitboot based on linux) but illegal in FreeBSD

HardenedBSD — sys/powerpc/powerpc mp_machdep.c

Call platform_smp_ap_init before decr_ap_init

    In platform_smp_ap_init we are doing some crucial code (eg. set LPCR register)
    which have influence over further execution.

    Practiculary in PowerNV platform we have experienced Data Storage Interrupt
    before we set apropriate LPCR. It caused code execution from location which was
    legal in bootloader (petitboot based on linux) but illegal in FreeBSD
Delta File
+3 -3 sys/powerpc/powerpc/mp_machdep.c
+3 -3 1 file

NAS4Free — trunk/build/ports/options/files security_sudo-options

update port option file

NAS4Free — trunk/build/ports/php72 Makefile, trunk/build/ports/php72/files patch-configure.in

Replace USE_AUTOTOOLS with USES=autoreconf:build

NAS4Free — trunk/build/ports/options/files devel_oniguruma-options

update port option file

LLVM — llvm/trunk/lib/Target/X86 X86InstrAVX512.td X86InstrVecCompiler.td, llvm/trunk/test/CodeGen/X86 x86-interleaved-access.ll avg.ll

[X86] Use vmovdqu64/vmovdqa64 for unmasked integer vector stores for consistency with 
loads.

Previously we used 64 for vXi64 stores and 32 for everything else. This change uses 64 for 
everything just like do for loads.

LLVM — llvm/trunk/lib/Target/X86 X86InstrAVX512.td, llvm/trunk/test/CodeGen/X86 avx512-shuffle-schedule.ll vector-shuffle-combining-avx512bw.ll

[X86] Remove isel patterns for using unmasked vmovdqa32/vmovdqu32 for integer vector 
loads.

These patterns were just looking for a vXi64 bitcasted to vXi32, but there is no advantage 
to using vmovdqa32 over vmovdqa64.

FreeBSD — head/sys/powerpc/powerpc vm_machdep.c swtch64.S

PPC64: fix TOC behavior on process initialization

Set stack pointer to correct value after thread's stack pointer restore

Restoring new thread's stack pointer caused stack corruption because
restored stack pointer didn't point to callee (cpu_switch) stack frame but
caller stack frame.

As a result we had mysterious errors in caller function (sched_switch).

Solution: simply set stack pointer to correct value

Also, initialize TOC to a valid pointer once the thread is being
created.

Created by:            Patryk Duda <pdk at semihalf.com>
Submitted by:          Wojciech Macek <wma at semihalf.com>
Obtained from:         Semihalf
Reviewed by:           nwhitehorn
Differential revision: https://reviews.freebsd.org/D13947
Sponsored by:          QCM Technologies

HardenedBSD — sys/powerpc/powerpc vm_machdep.c swtch64.S

PPC64: fix TOC behavior on process initialization

Set stack pointer to correct value after thread's stack pointer restore

Restoring new thread's stack pointer caused stack corruption because
restored stack pointer didn't point to callee (cpu_switch) stack frame but
caller stack frame.

As a result we had mysterious errors in caller function (sched_switch).

Solution: simply set stack pointer to correct value

Also, initialize TOC to a valid pointer once the thread is being
created.

Created by:            Patryk Duda <pdk at semihalf.com>
Submitted by:          Wojciech Macek <wma at semihalf.com>
Obtained from:         Semihalf
Reviewed by:           nwhitehorn
Differential revision: https://reviews.freebsd.org/D13947
Sponsored by:          QCM Technologies

HardenedBSD — sys/powerpc/powerpc machdep.c

PPC: machdep, zero BSS always but BookE

Zero BSS always. The only case when this operation is
ommitted is when booting on BookE.

Created by:            Wojciech Macek <wma at semihalf.com>
Obtained from:         Semihalf
Reviewed by:           imp, nwhitehorn
Differential revision: https://reviews.freebsd.org/D13948
Sponsored by:          QCM Technologies
Delta File
+9 -8 sys/powerpc/powerpc/machdep.c
+9 -8 1 file

FreeBSD — head/sys/powerpc/powerpc machdep.c

PPC: machdep, zero BSS always but BookE

Zero BSS always. The only case when this operation is
ommitted is when booting on BookE.

Created by:            Wojciech Macek <wma at semihalf.com>
Obtained from:         Semihalf
Reviewed by:           imp, nwhitehorn
Differential revision: https://reviews.freebsd.org/D13948
Sponsored by:          QCM Technologies

HardenedBSD — sys/kern subr_kdb.c

KDB: restart only CPUs stopped by KDB

There is a case when not all CPUs went online. In that situation,
restart only APs which were operational before entering KDB.

Created by:            Wojciech Macek <wma at semihalf.com>
Obtained from:         Semihalf
Reviewed by:           nwhitehorn
Differential revision: https://reviews.freebsd.org/D13949
Sponsored by:          QCM Technologies
Delta File
+3 -1 sys/kern/subr_kdb.c
+3 -1 1 file

FreeBSD — head/sys/kern subr_kdb.c

KDB: restart only CPUs stopped by KDB

There is a case when not all CPUs went online. In that situation,
restart only APs which were operational before entering KDB.

Created by:            Wojciech Macek <wma at semihalf.com>
Obtained from:         Semihalf
Reviewed by:           nwhitehorn
Differential revision: https://reviews.freebsd.org/D13949
Sponsored by:          QCM Technologies
Delta File
+3 -1 head/sys/kern/subr_kdb.c
+3 -1 1 file

FreeBSD Ports — head/editors/openoffice-4 Makefile, head/editors/openoffice-4/files patch-solenv_inc_unxfbsd.mk patch-solenv_gbuild_platform_freebsd.mk

Fix editors/openoffice-4 build with clang 6.0.0 by compiling with
-std=gnu++98 since that was the default for the compilers historically
used for the build.  It turns out that -std=c++98 does not work
because the vigra headers depend on LLONG_MAX and friends, which
are not defined without the GNU extensions.

Compensate for a recent poudriere change by overriding $HOME and
setting it to /tmp if $HOME is not writeable.  Some of the test
code run during the build wants to use mkstemp() to create temporary
directories under $HOME, which does not work for the "nobody" user
which points $HOME at /nonexistent.

No PORTREVISION bump since this is a build fix and there is no
change to the package.

PR:                225129
Reported by:        jbeich

LLVM — llvm/trunk/include/llvm/ADT ArrayRef.h, llvm/trunk/unittests/ADT ArrayRefTest.cpp

Revert "Add a value_type to ArrayRef."

clang OOMs on arm.

This reverts commit a272b2f2ef63f7f602c9ef4d9e10dc4eb9f00aa1.

pkgsrc — doc CHANGES-2018

doc: this mornings updates
Delta File
+99 -1 doc/CHANGES-2018
+99 -1 1 file

LLVM — llvm/trunk/test/CodeGen/X86/avx512-shuffles partial_permute.ll

[X86] Remove windows line endings from a test file. NFC

FreeBSD — head/sys/powerpc/conf GENERIC64

PPC64: add AHCI back to GENERIC64

> Description of fields to fill in above:                     76 columns --|
> PR:                       If a GNATS PR is affected by the change.
> Submitted by:             If someone else sent in the change.
> Reviewed by:              If someone else reviewed your modification.
> Approved by:              If you needed approval for this commit.
> Obtained from:            If the change is from a third party.
> MFC after:                N [day[s]|week[s]|month[s]].  Request a reminder email.
> MFH:                      Ports tree branch name.  Request approval for merge.
> Relnotes:                 Set to 'yes' for mention in release notes.
> Security:                 Vulnerability reference (one per line) or description.
> Sponsored by:             If the change was sponsored by an organization.
> Differential Revision:    https://reviews.freebsd.org/D### (*full* phabric URL needed).
> Empty fields above will be automatically removed.

M    sys/powerpc/conf/GENERIC64
Delta File
+1 -1 head/sys/powerpc/conf/GENERIC64
+1 -1 1 file

HardenedBSD — sys/powerpc/conf GENERIC64

    PPC64: add AHCI back to GENERIC64
    
    > Description of fields to fill in above:                     76 columns --|
    > PR:                       If a GNATS PR is affected by the change.
    > Submitted by:             If someone else sent in the change.
    > Reviewed by:              If someone else reviewed your modification.
    > Approved by:              If you needed approval for this commit.
    > Obtained from:            If the change is from a third party.
    > MFC after:                N [day[s]|week[s]|month[s]].  Request a reminder email.
    > MFH:                      Ports tree branch name.  Request approval for merge.
    > Relnotes:                 Set to 'yes' for mention in release notes.
    > Security:                 Vulnerability reference (one per line) or description.
    > Sponsored by:             If the change was sponsored by an organization.
    > Differential Revision:    https://reviews.freebsd.org/D### (*full* phabric URL 
needed).
    > Empty fields above will be automatically removed.
    
    M    sys/powerpc/conf/GENERIC64
Delta File
+1 -1 sys/powerpc/conf/GENERIC64
+1 -1 1 file

LLVM — cfe/trunk/lib/Driver/ToolChains Gnu.cpp, cfe/trunk/test/Driver riscv-gnutools.c

Revert rC322769: [RISCV] Propagate -mabi and -march values to GNU assembler.

Temporarily revert rC322769 due to buildbot failurs.

HardenedBSD — sbin/geom/class/nop gnop.8 geom_nop.c, sys/geom/nop g_nop.c g_nop.h

gnop(8): add the ability to set a nop provider's physical path

While I'm here, expand the existing tests a bit.

MFC after:        3 weeks
Differential Revision:        https://reviews.freebsd.org/D13579

FreeBSD — head/sbin/geom/class/nop gnop.8 geom_nop.c, head/sys/geom/nop g_nop.c g_nop.h

gnop(8): add the ability to set a nop provider's physical path

While I'm here, expand the existing tests a bit.

MFC after:        3 weeks
Differential Revision:        https://reviews.freebsd.org/D13579

LLVM — lld/trunk/test/ELF/lto setting-dso-local.ll

Add a lld test for a llvm fix.

This is tested in llvm, but it seems reasonable to have a small
integration test in lld.