LLVM/llvm 354371zorg/trunk/zorg/jenkins/jobs/jobs lldb-cmake-standalone

[green-dragon] fix syntax error

FreeBSD/src 344292head/sys/dev/acpica acpi_battery.c

Fix style after r340832

Reported by:    jhb
Reviewed by:    jhb, jtl
Approved by:    jtl (mentor)
MFC after:      3 days
Differential Revision:  https://reviews/freebsd.org/D18354

FreeNAS/freenas 53856f0src/freenas/etc/directoryservice rc.ActiveDirectory rc.DomainController

[directoryservice] Fix shell errors

When Active Directory isn't working, the timeout can be empty.  We
should default to a timeout of 0 in this case.

Ticket: #74848

XigmaNAS/svn 6508branches/11.2.0.4/etc/inc/services/ctld/lun row_properties.php extended_properties.php, trunk/etc/inc/services/ctld/lun extended_properties.php row_properties.php

code changes, refacorting and optimisation

LLVM/llvm 354370openmp/trunk/runtime/test/misc_bugs cancellation_for_sections.c, openmp/trunk/runtime/test/ompt/cancel cancel_worksharing.c

[OpenMP] Remove XFAIL for cancellation tests using gcc

LLVM/llvm 354369zorg/trunk/zorg/jenkins/jobs/jobs lldb-cmake-standalone

[green-dragon] force using the system Python

XigmaNAS/svn 6507branches/11.2.0.4/etc/inc/common/sphere grid.php root.php, trunk/etc/inc/common/sphere grid.php root.php

update inheritance

LLVM/llvm 354368openmp/trunk/runtime/src kmp_ftn_entry.h kmp_ftn_os.h, openmp/trunk/runtime/src/include/50 omp_lib.f.var omp_lib.h.var

[OpenMP 5.0] Add omp_get_supported_active_levels()

This patch adds the new 5.0 API function omp_get_supported_active_levels().

Patch by Terry Wilmarth

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

FreeBSD/src 344291stable 11, stable/11/stand/arm loader

MFC r335125-r335127, r335148, r335224

r335125:
libsa: cstyle cleanup for open/close/read/write sources

r335126:
libsa: f_rabuf could be NULL

It is possible that we will not get RA buffer from open(), therefore
we must validate RA.

r335127:
libsa: remobe unneeded check before free()

free() is checking for NULL, remove duplicate check.

r335148:
libsa: open() should use NULL instead of typecasted 0

r335224:
Remove empty directory

XigmaNAS/svn 6506branches/11.2.0.4/etc/inc updatenotify.inc, trunk/etc/inc updatenotify.inc

add function name of notification processor to db.

FreeBSD/src 344290stable/11/stand/common bootstrap.h, stable/11/stand/efi/loader main.c

MFC r335117: stand bootprog_info consolidation

bootprog_info is generated in vers.c. Move it's definition to
bootstrap.h and remove all the redundant copies.

LLVM/llvm 354367openmp/trunk/runtime/src kmp_barrier.cpp kmp_gsupport.cpp

[OpenMP] Adding GOMP compatible cancellation

Remove fatal error messages from the cancellation API for GOMP
Add __kmp_barrier_gomp_cancel() to implement cancellation of parallel regions.
This new function uses the linear barrier algorithm with a cancellable
nonsleepable wait loop.

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

FreeBSD/src 344289stable/11/stand ficl.mk loader.mk, stable/11/stand/efi/loader main.c

MFC r335069-r335071, r335110, r335116: stand housecleaning

r335069:
Remove fail: label. It's unused.

r335070:
Remove unused variables.

[kevans@: removed ufs.c modifications; those depend on ufs rewrite bits]

r335071:
Initialize variables we later free so they aren't used
uninitialized in the error path.
Remove unused variables.

r335110:
Remove redundant defs.mk includes. They aren't needed.

r335116:
Use bool for vargood, since it's a boolean.

LLVM/llvm 354366compiler-rt/trunk/lib/sanitizer_common sanitizer_suppressions.cc

[sanitizer] fix a memory safety bug (!!!) in sanitizer suppressions code, discovered by 
Aaron Jacobs

FreeBSD/src 344288stable 11, stable/11/stand/libsa ufs.c

MFC r334868: Add st_mtime, st_ino and st_dev for ufs_stat

FreeBSD/src 344287stable 11

MFC r333365, r333471:

r333365:
We don't use f_devdata, so don't set it. Should that need to change
later, we can. This leaves ZFS as the only irregular f_devdata
user in the tree.

r333471:
Revert r333365

Even though we don't use it, it appears something else requires it to
be != 0 to work. This breaks tftp boot in loader.efi, so revert until
that can be sorted out.
DeltaFile
+0-0stable/11/
+0-01 files

FreeBSD/src 344286stable 11, stable/11/stand/common commands.c bootstrap.h

MFC r332557-r332558, r332560, r332565: loader command cleanup-lite

r332557:
loader: make sure we use snprintf() in commands.c

Safeguard against memory corruptions.

r332558:
loader: command_errmsg should be const

Use const char * for command_errmsg.

r332560:
loader: make sure we do not return garbage from help_getnext

Since we do free subtopic and desc in help_getnext(), we need to set them also
NULL, so we make sure we dont get double free().

r332565:
loader: cstyle cleanup of command.c

just clean it up. no functional changes intended.

FreeBSD/src 344285stable 11, stable/11/stand/common commands.c

MFC r332555: loader: provide values in help_getnext()

With r328289 we attempt to make sure we free the resources allocated in
help_getnext(), however, it is possible that we get no resources allocated
and help_getnext() will return early.

Make sure we have pointers set to NULL early in help_getnext().

FreeBSD/ports 493375head/www/qupzilla-qt5 Makefile

www/qupzilla-qt5: mark deprecated (-> use www/falkon)

The project continues upstream as Falkon browser, part of KDE.

FreeBSD/src 344284stable 11

MFC r332270, r332272, r332275, r332413: nop

r332270:
loader: include efi.4th only if we do have uefi

Also simplify efi.4th.

r332272:
loader: 332270 did use wrong path for efi.4th

The correct  path is still /boot/efi.4th

r332275:
loader: 332270 did left out stand/i386/loader/loader.rc

we have 2 instances of loader.rc...

r332413:
Revert r332275, r332272, r332270

There's problems with them. The order of efi stuff isn't quite right,
and there's various problems. Revert until thos problems can be fixed.
DeltaFile
+0-0stable/11/
+0-01 files

FreeBSD/src 344283stable 11, stable/11/stand/common interp_lua.c

MFC r330757: stand/interp_lua: correct errorr => error

FreeBSD/src 344282stable 11, stable/11/sys/netinet if_ether.c

MFC r344061:

garp: Fix vnet related panic for gratuitous arp

Gratuitous ARP packets are sent from a timer, which means we don't have a vnet
context set. As a result we panic trying to send the packet.

Set the vnet context based on the interface associated with the interface
address.

To reproduce:
sysctl net.link.ether.inet.garp_rexmit_count=2
ifconfig vtnet1 10.0.0.1/24 up

PR:            235699
Reviewed by:    vangyzen@

FreeBSD/src 344281stable 12, stable/12/sys/netinet if_ether.c

MFC r344061:

garp: Fix vnet related panic for gratuitous arp

Gratuitous ARP packets are sent from a timer, which means we don't have a vnet
context set. As a result we panic trying to send the packet.

Set the vnet context based on the interface associated with the interface
address.

To reproduce:
sysctl net.link.ether.inet.garp_rexmit_count=2
ifconfig vtnet1 10.0.0.1/24 up

PR:            235699
Reviewed by:    vangyzen@

LLVM/llvm 354365llvm/trunk/cmake/modules HandleLLVMOptions.cmake, llvm/trunk/include/llvm/Config config.h.cmake

Annotate timeline in Instruments with passes and other timed regions.

Summary:
Instruments is a useful tool for finding performance issues in LLVM but it can
be difficult to identify regions of interest on the timeline that we can use
to filter the profiler or allocations instrument. Xcode 10 and the latest
macOS/iOS/etc. added support for the os_signpost() API which allows us to
annotate the timeline with information that's meaningful to LLVM.

This patch causes timer start and end events to emit signposts. When used with
-time-passes, this causes the passes to be annotated on the Instruments timeline.
In addition to visually showing the duration of passes on the timeline, it also
allows us to filter the profile and allocations instrument down to an individual
pass allowing us to find the issues within that pass without being drowned out
by the noise from other parts of the compiler.

Using this in conjunction with the Time Profiler (in high frequency mode) and
the Allocations instrument is how I found the SparseBitVector that should have
been a BitVector and the DenseMap that could be replaced by a sorted vector a
couple months ago. I added NamedRegionTimers to TableGen and used the resulting
annotations to identify the slow portions of the Register Info Emitter. Some of
these were placed according to educated guesses while others were placed
according to hot functions from a previous profile. From there I filtered the
profile to a slow portion and the aforementioned issues stood out in the
profile.

    [19 lines not shown]

NetBSD/src edpTGGbcommon/lib/libc/arch/mips/atomic atomic_cas.S

   Add atomic_cas_64_ni alias

LLVM/llvm 354364llvm/trunk/lib/Object ArchiveWriter.cpp

[libObject][NFC] Use sys::path::convert_to_slash.

Summary: As suggested in rL353995

Reviewers: compnerd

Reviewed By: compnerd

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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

NetBSD/pkgsrc f1Rr9wOdoc CHANGES-2019

   doc: Updated net/youtube-dl to 20190218
VersionDeltaFile
1.819+2-1doc/CHANGES-2019
+2-11 files

NetBSD/pkgsrc ASyIwWSnet/youtube-dl distinfo PLIST

   youtube-dl: Update to 20190218

   Changes:
   version 2019.02.18

   Extractors
   * [tvp:website] Fix and improve extraction
   + [tvp] Detect unavailable videos
   * [tvp] Fix description extraction and make thumbnail optional
   + [linuxacademy] Add support for linuxacademy.com (#12207)
   * [bilibili] Update keys (#19233)
   * [udemy] Extend URL regular expressions (#14330, #15883)
   * [udemy] Update User-Agent and detect captcha (#14713, #15839, #18126)
   * [noovo] Fix extraction (#19230)
   * [rai] Relax URL regular expression (#19232)
   + [vshare] Pass Referer to download request (#19205, #19221)
   + [openload] Add support for oload.live (#19222)
   * [imgur] Use video id as title fallback (#18590)
   + [twitch] Add new source format detection approach (#19193)
   * [tvplayhome] Fix video id extraction (#19190)
   * [tvplayhome] Fix episode metadata extraction (#19190)
   * [rutube:embed] Fix extraction (#19163)
   + [rutube:embed] Add support private videos (#19163)
   + [soundcloud] Extract more metadata
   + [trunews] Add support for trunews.com (#19153)
   + [linkedin:learning] Extract chapter_number and chapter_id (#19162)

LLVM/llvm 354363llvm/trunk/lib/Target/X86 X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 vector-shuffle-256-v32.ll oddshuffles.ll

[X86][SSE] Generalize X86ISD::BLENDI support to more value types

D42042 introduced the ability for the ExecutionDomainFixPass to more easily change between 
BLENDPD/BLENDPS/PBLENDW as the domains required.

With this ability, we can avoid most bitcasts/scaling in the DAG that was occurring with 
X86ISD::BLENDI lowering/combining, blend with the vXi32/vXi64 vectors directly and use 
isel patterns to lower to the float vector equivalent vectors.

This helps the shuffle combining and SimplifyDemandedVectorElts be more aggressive as we 
lose track of fewer UNDEF elements than when we go up/down through bitcasts.

I've introduced a basic blend(bitcast(x),bitcast(y)) -> bitcast(blend(x,y)) fold, there 
are more generalizations I can do there (e.g. widening/scaling and handling the tricky 
v16i16 repeated mask case).

The vector-reduce-smin/smax regressions will be fixed in a future improvement to 
SimplifyDemandedBits to peek through bitcasts and support X86ISD::BLENDV.

Reapplied after reversion at rL353699 - AVX2 isel fix was applied at rL354358, additional 
test at rL354360/rL354361

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

LLVM/llvm 354362llvm/trunk/include/llvm/ADT Optional.h

[NFC] Remove unused headers in Optional.h

LLVM/llvm 354361llvm/trunk/test/CodeGen/X86 commute-blend-sse41.ll

Fix stupid assembly comment typo

OpenBSD/ports sp4pmV6graphics/giflib Makefile distinfo, graphics/giflib/patches patch-Makefile patch-tests_makefile

   update to giflib-5.1.6

LLVM/llvm 354360llvm/trunk/test/CodeGen/X86 commute-blend-sse41.ll

[X86][SSE] Add pblendw commuted load test case

Reduced test case for the regression caused in D57888/rL353610

FreeNAS/freenas b414eeasrc/freenas/etc/directoryservice rc.ActiveDirectory rc.DomainController

Merge pull request #2546 from freenas/fix-74848

[directoryservice] Fix shell errors

NetBSD/pkgsrc sZaPEhGsecurity/py-nacl Makefile

   py-nacl: Fix correct name of the package (remove py-prefix)
VersionDeltaFile
1.4+2-2security/py-nacl/Makefile
+2-21 files

HardenedBSD/hardenedbsd 4799962usr.sbin/freebsd-update freebsd-update.8 freebsd-update.sh

freebsd-update: Clarify help text

Improve help text to include example release numbers for reference
and clarify the -F option.

PR:            231185, 214619
Submitted by:   Gerald Aryeetey <aryeeteygerald_rogers.com>
Reviewed by:    delphij, rgrimes
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D18944

FreeBSD/src 344280head/usr.sbin/freebsd-update freebsd-update.8 freebsd-update.sh

freebsd-update: Clarify help text

Improve help text to include example release numbers for reference
and clarify the -F option.

PR:            231185, 214619
Submitted by:   Gerald Aryeetey <aryeeteygerald_rogers.com>
Reviewed by:    delphij, rgrimes
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D18944

LLVM/llvm 354359llvm/trunk/lib/CodeGen/SelectionDAG LegalizeIntegerTypes.cpp, llvm/trunk/test/CodeGen/X86 umul-with-overflow.ll

[SDAG] Use shift amount type in MULO promotion; NFC

Directly use the correct shift amount type if it is possible, and
future-proof the code against vectors. The added test makes sure that
bitwidths that do not fit into the shift amount type do not assert.

Split out from D57997.

DragonFlyBSD/src dc676ealib/libc/gen tls.c

libc - Use sbrk() system call, remove brk() (2)

* Change the initial TLS allocation to use mmap() instead of sbrk()
  in order to maintain compatibility with older kernels.

* Using sbrk() will work with a fully updated system, but will not
  work with an old kernel because it returns an error and sets errno,
  but setting errno requires the TLS to already be installed.  So
  even though we have back-off code in libc, it seg-faults before
  it gets to it.

* Only affects a few programs in base such as 'chflags' so not a
  disaster.  But still, the intent was to maintain compatibility
  with older kernels.
DeltaFile
+16-5lib/libc/gen/tls.c
+16-51 files

FreeBSD/ports 493374head/devel/py-flake8 distinfo Makefile

- Update to 3.7.5
- Take maintainership

PR:            235860
Approved by:    wg (current maintainer)

NetBSD/pkgsrc lqy50oddoc CHANGES-2019

   Updated www/hugo to 0.54.0
VersionDeltaFile
1.818+2-1doc/CHANGES-2019
+2-11 files

FreeNAS/freenas 12a144asrc/middlewared/middlewared/etc_files fstab

feat(middlewared/fstab): there is no point in having swap on fstab

It is now completely managed by middlewared.

Ticket: #35560

NetBSD/pkgsrc KrFrAcCwww/hugo PLIST distinfo

   Update to 0.54.0

   Changelog:
   Enhancements
   Templates

       Adjust tests ddc6d4e3 @bep #5643
       Prevent getJSON and getCSV fetch failure from aborting build 6a2bfcbe @anthonyfok 
#5643

   Core

       Expand TestPageWithEmoji to cover '+', '-' and '_' too 2a9060a8 @anthonyfok #5635
       Restore 0.48 slash handling in taxonomies 40ffb048 @bep #5571

   Other

       Use official semver even for main releases fab41f42 @bep #5639
       Add test for --configDir 59d87044 @bep #5662
       Ignore unknown config files in config dir 3244cb3b @bep #5646
       Store supported config formats in a variable d9282cf9 @tryzniak
       Bump to Go 1.11.5 8ed2a1ca @bep #5654
       Update Afero e8596139 @bep #5650
       Accept hyphen and plus sign in emoji detection 3038464e @anthonyfok #5635
       Support numeric sort in ByParam 26f75edb @tryzniak #5305

    [23 lines not shown]
VersionDeltaFile
1.5+58-36www/hugo/PLIST
1.5+5-5www/hugo/distinfo
1.12+2-3www/hugo/Makefile
+65-443 files

HardenedBSD/hardenedbsd e3f5bcasys/rpc/rpcsec_gss svc_rpcsec_gss.c

Merge remote-tracking branch 'origin/hardened/11-stable/master' into 
hardened/11-stable/unstable

* origin/hardened/11-stable/master:
  MFC r342114:

FreeNAS/freenas 5c0312fsrc/middlewared/middlewared/plugins disk.py

feat(middlewared/disk): only set up swap for disks with configured pools

Ticket: #35560

LLVM/llvm 354358llvm/trunk/lib/Target/X86 X86InstrSSE.td

[X86][AVX2] Hide VPBLENDD instructions behind AVX2 predicate

This was the cause of the regression in D57888 - the commuted load pattern wasn't hidden 
by the predicate so once we enabled v4i32 blends on SSE41+ targets then isel was 
incorrectly matched against AVX2+ instructions.

FreeNAS/freenas 79f066agui/system forms.py

Update tooltip for password field

This commit updates tooltip for SMTP server password field.
Ticket: #73866

HardenedBSD/hardenedbsd 8d32e45sys/rpc/rpcsec_gss svc_rpcsec_gss.c

Merge branch 'freebsd/11-stable/master' into hardened/11-stable/master

* freebsd/11-stable/master:
  MFC r342114:

LLVM/llvm 354357llvm/trunk/lib/Target/X86 X86InstructionSelector.cpp X86DiscriminateMemOps.cpp

[X86] Bugfix for nullptr check by klocwork

klocwork critical issues in CG files:

Patch by Xiang Zhang (xiangzhangllvm)

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

FreeBSD/ports 493373head/databases/mroonga distinfo Makefile

databases/mroonga: Update version 8.09=>9.00