Displaying 1 50 of 5,090,132 commits (0.265s)

LLVM — lld/trunk/ELF Target.h Writer.cpp, lld/trunk/wasm Symbols.h

[ELF] Fix typo. NFC

FreeBSD — head/sys/vm uma_core.c

uma: whack main zone counter update in the slow path

Cached counters are typically zero at this point so it performs
avoidable atomics. Everything reading them also reads the cached
ones, thus there is really no point.

Reviewed by:                jeff
Delta File
+0 -8 head/sys/vm/uma_core.c
+0 -8 1 file

FreeBSD — head/sys/sys vmmeter.h, head/sys/vm vm_meter.c

vm: move vm_cnt to __read_mostly now that it is not written to

While here whack unused locking keys for the struct.

Discussed with:                jeff

FreeBSD — head/sys/arm/conf GENERIC

Revert r333035 due broken booting on !Marvell GENERIC platforms

Reported by: manu
Delta File
+1 -18 head/sys/arm/conf/GENERIC
+1 -18 1 file

FreeBSD Ports — head/www/qt5-webengine Makefile, head/www/qt5-webengine/files patch-archgit_qtwebengine-ffmpeg4

LLVM — cfe/trunk/include/clang/Basic SourceManager.h

Fix typo.

LLVM — cfe/trunk/lib/CodeGen CGCall.cpp CodeGenFunction.h, cfe/trunk/test/CodeGenObjCXX arc-special-member-functions.mm lambda-expressions.mm

[CodeGen] Avoid destructing a callee-destructued struct type in a
function if a function delegates to another function.

Fix a bug introduced in r328731, which caused a struct with ObjC __weak
fields that was passed to a function to be destructed twice, once in the
callee function and once in another function the callee function
delegates to. To prevent this, keep track of the callee-destructed
structs passed to a function and disable their cleanups at the point of
the call to the delegated function.

rdar://problem/39194693

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

LLVM — llvm/trunk/include/llvm/Analysis ScalarEvolution.h, llvm/trunk/lib/Analysis ScalarEvolution.cpp

[SCEV] Introduce bulk umin creation utilities

Add new umin creation method which accepts a list of operands.

SCEV does not represents umin which is required in getExact, so
it transforms umin to umax with not. As a result the transformation of
tree of max to max with several operands does not work.
We just use the new introduced method for creation umin from several operands.

Reviewers: sanjoy, mkazantsev
Reviewed By: sanjoy
Subscribers: javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D46047

FreeBSD Ports — branches/2018Q2/mail/opensmtpd Makefile, branches/2018Q2/mail/opensmtpd-devel Makefile

MFH: r468319

- Pet MDA part, add brackets around Return-Path as per RFC5322 §3.6.6.

Missing brackets lead to a panic when a malformed address line
is fed to dovecot-lda

Submitted by:        gahr
Reported by:        brnrd via dovecot ML
Obtained from:        
https://github.com/OpenSMTPD/OpenSMTPD/pull/847/commits/725ba4fa2ddf23bbcd1ff9ec92e86bbfaa6825c8

Approved by:        portmgr (adamw)

FreeBSD Ports — head/databases Makefile R-cran-RPostgreSQL, head/databases/R-cran-RPostgreSQL Makefile pkg-descr

- Add new port: databases/R-cran-RPostgreSQL

  Database interface and 'PostgreSQL' driver for 'R'. This package
  provides a Database Interface 'DBI' compliant driver for 'R' to
  access 'PostgreSQL' database systems. In order to build and install
  this package from source, 'PostgreSQL' itself must be present your
  system to provide 'PostgreSQL' functionality via its libraries and
  header files. These files are provided as 'postgresql-devel' package
  under some Linux distributions. On 'macOS' and 'Microsoft Windows'
  system the attached 'libpq' library source will be used.

  WWW: https://cran.r-project.org/web/packages/RPostgreSQL/

HardenedBSD — stand/pc98/boot2 boot2.c, stand/pc98/libpc98 biosdisk.c bioscd.c

whitespace changes to reduce diffs from i386.
still broken pc98 boot.

FreeBSD — stable/11/stand/pc98/boot2 boot2.c, stable/11/stand/pc98/libpc98 biosdisk.c bioscd.c

whitespace changes to reduce diffs from i386.
still broken pc98 boot.

LLVM — cfe/trunk/lib/StaticAnalyzer/Core ExprEngine.cpp, cfe/trunk/test/Analysis new.cpp

[analyzer] Fix operator delete[] array-type-sub-expression handling.

Avoid crash when the sub-expression of operator delete[] is of array type.

This is not the same as simply using a delete[] syntax.

We're still not properly calling destructors in this case in the analyzer.

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

LLVM — cfe/trunk/include/clang/Basic DiagnosticParseKinds.td, cfe/trunk/include/clang/Parse Parser.h

Parse A::template B as an identifier rather than as a template-id with no
template arguments.

This fixes some cases where we'd incorrectly accept "A::template B" when B is a
kind of template that requires template arguments (in particular, a variable
template or a concept).

LLVM — lldb/trunk/source/Target Process.cpp

Fix a thinko in the iteration over StructuredDataPlugin Create functions.

The code was grabbing the first plugin, and then never getting
another one.

<rdar://problem/39779438>

LLVM — llvm/trunk/include/llvm/Analysis TargetLibraryInfo.def, llvm/trunk/include/llvm/Transforms/Utils BuildLibCalls.h SimplifyLibCalls.h

Revert "[SimplifyLibcalls] Replace locked IO with unlocked IO"

This reverts r331002 due to sanitizer bot breakage.

FreeBSD Ports — head/multimedia/emby-server distinfo Makefile

multimedia/emby-server: Update to 3.3.1.0

Changes this release:
  https://github.com/MediaBrowser/Emby/releases/tag/3.3.1.0

LLVM — cfe/trunk/lib/Driver/ToolChains Clang.cpp, cfe/trunk/test/Driver cxa-atexit.cpp

[Driver] Don't enable "-fregister-global-dtors-with-atexit" by default
when compiling the kernel or kexts.

Destructors should be registered with atexit by default only when we are
compiling userland code.

FreeBSD — stable/11/stand/i386 Makefile.inc

MFC r332090: stand: pass --no-rosegment for i386 bits when linking with lld

btxld does not correctly handle input with other than 2 PT_LOAD
segments.  Passing --no-rosegment lets lld produce output eqivalent to
ld.bfd: 2 PT_LOAD segments and no PT_GNU_RELRO.

PR:                225775
Sponsored by:        The FreeBSD Foundation
Delta File
+5 -0 stable/11/stand/i386/Makefile.inc
+5 -0 1 file

HardenedBSD — stand/i386 Makefile.inc

MFC r332090: stand: pass --no-rosegment for i386 bits when linking with lld

btxld does not correctly handle input with other than 2 PT_LOAD
segments.  Passing --no-rosegment lets lld produce output eqivalent to
ld.bfd: 2 PT_LOAD segments and no PT_GNU_RELRO.

PR:                225775
Sponsored by:        The FreeBSD Foundation
Delta File
+5 -0 stand/i386/Makefile.inc
+5 -0 1 file

LLVM — llvm/trunk/lib/Transforms/IPO LowerTypeTests.cpp, llvm/trunk/test/Transforms/LowerTypeTests function.ll function-arm-thumb.ll

[LowerTypeTests] Mark .cfi.jumptable nounwind.

It doesn't unwind, and the wrong marking leads to the creation of an
.eh_frame section when it isn't necessary.

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

LLVM — llvm/trunk/lib/Target/AArch64 AArch64InstrInfo.cpp, llvm/trunk/test/CodeGen/AArch64 machine-outliner.ll

[MachineOutliner] Don't outline from functions with a section marking.

The program might have unusual expectations for functions; for example,
the Linux kernel's build system warns if it finds references from .text
to .init.data.

I'm not sure this is something we actually want to make any guarantees
about (there isn't any explicit rule that would disallow outlining
in this case), but we might want to be conservative anyway.

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

LLVM — llvm/trunk/lib/Object WasmObjectFile.cpp, llvm/trunk/test/Object/Inputs trivial-object-test.wasm

typo

LLVM — llvm/trunk/lib/MC WasmObjectWriter.cpp, llvm/trunk/lib/Object WasmObjectFile.cpp

[WebAssembly] Section symbols must have local binding

Summary: Also test for symbols information in test/MC/WebAssembly/debug-info.ll.

Subscribers: jfb, dschuff, jgravelle-google, aheejin, sunfish, JDevlieghere, llvm-commits

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

FreeBSD Ports — head/www/xpi-adblock_plus pkg-plist Makefile

Update to 3.0.4

FreeBSD — head/sys/dev/extres/clk clk.c, head/sys/kern kern_mib.c

clk: Put the sysctls under hw.clock instead of clock

This is more consistant with hw.regulator and other hardware related
sysctls.

LLVM — lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server TestGdbRemoteGPacket.py, lldb/trunk/tools/debugserver/source/MacOSX/x86_64 DNBArchImplX86_64.cpp

[debugserver] Fix handling of the 'g' packet

LLDB doesn't use this packet so we never hit this, but it looks like
some other projects talk to debugserver and are hitting an assert
(https://github.com/derekparker/delve/issues/1015).

We had an off by 1 in the accounting of the FPU structure sizes.
I added a test that basically just check that 'g' doesn't return
an error (currently it assert in debug builds). I didn't make
it an lldb-server test because it looks like lldb-server doesn't
implement the g packet.

NetBSD — sys/net if_ipsec.c

Fix "how" argument of MGET(). Pointed out by maxv at n.o, thanks.

MGET() does not have M_ZERO flag, so add memset when it is required.
Delta File
+10 -8 sys/net/if_ipsec.c
+10 -8 1 file

FreeBSD — head/sys/amd64/conf NOTES, head/sys/conf NOTES

move smartpqi(4) controller out of NOTES and into sys/amd64/NOTES to
appease LINT

Submitted by:        rpokala
Reported by:        npn

LLVM — llvm/trunk/include/llvm/Analysis TargetLibraryInfo.def, llvm/trunk/include/llvm/Transforms/Utils BuildLibCalls.h SimplifyLibCalls.h

[SimplifyLibcalls] Replace locked IO with unlocked IO

Summary: If file stream arg is not captured and source is fopen, we could replace IO calls 
by unlocked IO ("_unlocked" function variants) to gain better speed,

Reviewers: efriedma, RKSimon, spatel, sanjoy, hfinkel, majnemer

Subscribers: lebedev.ri, llvm-commits

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

LLVM — llvm/trunk/tools/llvm-mca Scheduler.cpp Scheduler.h

[MCA] [NFC] Remove unused Index formal from ResourceManager::issueInstruction

Summary: The instruction index was never referenced in the body.  Just a minor cleanup.

Reviewers: andreadb

Reviewed By: andreadb

Subscribers: javed.absar, gbedwell, llvm-commits

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

FreeBSD Ports — branches/2018Q2/devel/cxxtools Makefile, branches/2018Q2/devel/cxxtools/files patch-src_settingswriter.cpp

MFH: r468390

devel/cxxtools: unbreak with libc++ 6.0

In file included from settingswriter.cpp:28:
In file included from ./settingswriter.h:31:
In file included from ../include/cxxtools/char.h:32:
In file included from /usr/include/c++/v1/string:477:
/usr/include/c++/v1/string_view:211:5: error: static_assert failed due to requirement 
'is_pod<value_type>::value' "Character type of basic_string_view must be a POD"
    static_assert(is_pod<value_type>::value, "Character type of basic_string_view must be 
a POD");
    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~
settingswriter.cpp:42:21: note: in instantiation of template class 
'std::__1::basic_string_view<cxxtools::Char, std::__1::char_traits<cxxtools::Char> >' 
requested here
            *_os << std::endl;
                    ^

Reported by:        pkg-fallout
Approved by:        ports-secteam blanket

LLVM — lld/trunk/ELF Options.td

[ELF] Clarify help wording for --symbol-ordering-file

The input file for this option should contain a list of symbols, not a
list of sections, so explicitly refer to ordering symbols (but keep the
reference to laying out sections, since that's how the option must
operate). Referring to the file itself as the "symbol ordering file" is
consistent with --warn-symbol-ordering and less ambiguous than "symbol
file" (albeit slightly redundant).

Differential Revision: https://reviews.llvm.org/D46099
Delta File
+1 -1 lld/trunk/ELF/Options.td
+1 -1 1 file

FreeBSD Ports — head/devel/cxxtools Makefile, head/devel/cxxtools/files patch-src_settingswriter.cpp

devel/cxxtools: unbreak with libc++ 6.0

In file included from settingswriter.cpp:28:
In file included from ./settingswriter.h:31:
In file included from ../include/cxxtools/char.h:32:
In file included from /usr/include/c++/v1/string:477:
/usr/include/c++/v1/string_view:211:5: error: static_assert failed due to requirement 
'is_pod<value_type>::value' "Character type of basic_string_view must be a POD"
    static_assert(is_pod<value_type>::value, "Character type of basic_string_view must be 
a POD");
    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~
settingswriter.cpp:42:21: note: in instantiation of template class 
'std::__1::basic_string_view<cxxtools::Char, std::__1::char_traits<cxxtools::Char> >' 
requested here
            *_os << std::endl;
                    ^

Reported by:        pkg-fallout

LLVM — libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals pbackfail.pass.cpp seekoff.pass.cpp

[libcxx] [test] Remove non-portable assertions from filebuf tests

seekoff.pass.cpp:
libc++'s tests are asserting things about the buffer passed to pubsetbuf. 
[filebuf.virtuals]/12 says that what the filebuf does with the buffer you give it is 
completely implementation defined. The MSVC++ implementation takes that buffer and hands 
it off to the CRT (by calling ::setvbuf) and the CRT doesn't necessarily follow the 
pattern this test wants.
This change simply makes asserts against the buffer's contents use LIBCPP_ASSERT instead 
of assert.

pbackfail.pass.cpp:
libc++'s tests are asserting about what characters will and will not be available in the 
putback area. [filebuf.virtuals]/9 says "The function can alter the number of putback 
positions available as a result of any call." This change LIBCPP_ASSERTS libc++'s 
behavior, but checks invariants of the putback area independently.

FreeBSD — head/sys/arm64/rockchip rk_gpio.c

arm64: rockchip: rk_gpio fix rk_gpio_pin_config32

Pointy Hat to:         me
Delta File
+5 -2 head/sys/arm64/rockchip/rk_gpio.c
+5 -2 1 file

FreeBSD — projects/pnfs-planb-server/sys/fs/nfs nfs_commonport.c, projects/pnfs-planb-server/sys/fs/nfsclient nfs_clrpcops.c

Fix the NFSv4.1 pNFS fex file mirror client's setting of vfs.nfs.pnfsiothreads
so that the default isn't "disabled". Setting it negative makes it use a default
number of 4 * ncpus, whereas setting it to 0 disables the use of threads for
mirror I/O.

FreeBSD Ports — head/www/ilias distinfo Makefile

- Update to 5.3.4

FreeBSD Ports — head/www/nginx-devel distinfo Makefile.extmod

Cleanup Makefile.extmod file.
Upgrade third-party modules to their recent versions.

Bump PORTREVISION.

FreeBSD — head/sys/dev/cxgbe t4_main.c adapter.h, head/sys/dev/cxgbe/tom t4_tom.c t4_tom.h

cxgbe(4): Move release_tid to the base NIC driver for future consumers.

Sponsored by:        Chelsio Communications.

LLVM — llvm/trunk/include/llvm/Analysis AssumptionCache.h TypeMetadataUtils.h, llvm/trunk/include/llvm/CodeGen GCStrategy.h Passes.h

[Docs] Escape the @ symbol, so that it appears in documentation output. [NFC]

Summary:
The '@' character is a special character in Doxygen.  In a handful of cases we were not 
escaping this character which resulted in llvm intrinsics not being rendered properly.  
Specifically, the @llvm part was removed.  

For example, see https://llvm.org/doxygen/classllvm_1_1AssumptionCache.html.  There are a 
few references to '.assume' without the @llvm. prefix.  This patch corrects this.

Reviewers: sanjoy

Reviewed By: sanjoy

Subscribers: llvm-commits, sanjoy

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

LLVM — cfe/trunk/lib/CodeGen CGBuiltin.cpp, cfe/trunk/test/CodeGen avx512vlbw-builtins.c avx512bw-builtins.c

[x86] Revert r330322 (& r330323): Lowering x86 adds/addus/subs/subus intrinsics

The LLVM commit introduces a crash in LLVM's instruction selection.

I filed http://llvm.org/PR37260 with the test case.

FreeBSD Ports — head/www/unit distinfo Makefile

Upgrade from 1.0 to the latest bugfix release 1.1.

<ChangeLog>

*) Bugfix: Python applications that use the write() callable did not
   work.

*) Bugfix: virtual environments created with Python 3.3 or above might
   not have worked.

*) Bugfix: the request.Read() function in Go applications did not
   produce EOF when the whole body was read.

*) Bugfix: a segmentation fault might have occurred while access log
   reopening.

*) Bugfix: in parsing of IPv6 control socket addresses.

*) Bugfix: loading of application modules was broken on OpenBSD.

*) Bugfix: a segmentation fault might have occurred when there were two
   modules with the same type and version; the bug had appeared in 1.0.

*) Bugfix: alerts "freed pointer points to non-freeble page" might have
   appeared in log on 32-bit platforms.

    [2 lines not shown]

HardenedBSD — share/man/man4 rk_gpio.4 Makefile, sys/arm64/rockchip rk_gpio.c

arm64: rockchip: Add gpio controller driver

Add a driver that match on 'rockchip,gpio-bank', this compatible
string is found on almost all RockChip SoC so this driver is compatible
with almost all of the RockChip SoCs.

The only features missing for this driver are :
- Interrupts support
- Debouncing

FreeBSD — head/share/man/man4 rk_gpio.4 Makefile, head/sys/arm64/rockchip rk_gpio.c

arm64: rockchip: Add gpio controller driver

Add a driver that match on 'rockchip,gpio-bank', this compatible
string is found on almost all RockChip SoC so this driver is compatible
with almost all of the RockChip SoCs.

The only features missing for this driver are :
- Interrupts support
- Debouncing

LLVM — llvm/trunk/test/Transforms/InstCombine or-xor.ll

[InstCombine][NFC] Regenerate checks in or-xor.ll

HardenedBSD — sys/netinet tcp_var.h

This change re-arranges the fields within the tcp-pcb so that
they are more in order of cache line use as one passes
through the tcp_input/output paths (non-errors most likely path). This
helps speed up cache line optimization so that the tcp stack runs
a bit more efficently.

Sponsored by:        Netflix Inc.
Differential Revision:        https://reviews.freebsd.org/D15136
Delta File
+61 -63 sys/netinet/tcp_var.h
+61 -63 1 file

FreeBSD — head/sys/netinet tcp_var.h

This change re-arranges the fields within the tcp-pcb so that
they are more in order of cache line use as one passes
through the tcp_input/output paths (non-errors most likely path). This
helps speed up cache line optimization so that the tcp stack runs
a bit more efficently.

Sponsored by:        Netflix Inc.
Differential Revision:        https://reviews.freebsd.org/D15136
Delta File
+61 -63 head/sys/netinet/tcp_var.h
+61 -63 1 file

FreeBSD — head/sys/arm64/rockchip/clk rk3328_cru.c

arm64: rockchip: RK3328 CRU Add gpio gates

Add the gates for the gpio controller in order to properly support them.