Displaying 1 50 of 5,065,478 commits (0.322s)

LLVM — cfe/trunk/include/clang/AST Stmt.h Expr.h, cfe/trunk/lib/CodeGen CGExpr.cpp CodeGenFunction.h

[CodeGen] Ignore OpaqueValueExprs that are unique references to their
source expressions when iterating over a PseudoObjectExpr's semantic
subexpression list.

Previously the loop in emitPseudoObjectExpr would emit the IR for each
OpaqueValueExpr that was in a PseudoObjectExpr's semantic-form
expression list and use the result when the OpaqueValueExpr later
appeared in other expressions. This caused an assertion failure when
AggExprEmitter tried to copy the result of an OpaqueValueExpr and the
copied type didn't have trivial copy/move constructors or assignment

This patch adds flag IsUnique to OpaqueValueExpr which indicates it is a
unique reference to its source expression (it is not used in multiple
places). The loop in emitPseudoObjectExpr ignores OpaqueValueExprs that
are unique and CodeGen visitors simply traverse the source expressions
of such OpaqueValueExprs.


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

DragonFlyBSD — sys/kern vfs_cache.c, sys/sys namecache.h

kernel - Attempt to fix high vnlru cpu use

* In certain situations _cache_cleanpos() gets into a livelock
  of some sort.  It is limited by a counter but the livelock creates
  havoc when it happens.

* It appears that _cache_cleanpos() can get into a situation where
  the head element of all available nchashtbl[] slots is not freeable
  (e.g. due to having multiple refs).  When this occurs, trailing
  elements in the chained hash table cannot be recycled.

  nchashtbl[] is typically very large, so this situation does not
  happen very often.  There are usually plenty of entries to pick
  away at.  However, it looks like situations can develop where
  enough entries get into this masked state that the hysteresis is
  unable to complete, resulting in a cpubound loop.

* Refactor the chained list from LIST to TAILQ and modify the
  _cache_cleanpos() function to cycle ncp's to the end of the
  list before trying to zap them.  If the zap fails, the next
  iteration will encounter a different head.

Reported-by: ftigeot
Delta File
+34 -18 sys/kern/vfs_cache.c
+1 -1 sys/sys/namecache.h
+35 -19 2 files

LLVM — llvm/trunk/lib/Target/RISCV RISCVFrameLowering.cpp RISCVFrameLowering.h, llvm/trunk/test/CodeGen/RISCV alloca.ll calling-conv.ll

[RISCV] Preserve stack space for outgoing arguments when the function contain variable 
size objects


bar (int x)
  char p[x];

  push outgoing variables for foo.
  call foo

We need to generate stack adjustment instructions for outgoing arguments by
eliminateCallFramePseudoInstr when the function contains variable size
objects to avoid outgoing variables corrupt the variable size object.

Default hasReservedCallFrame will return !hasFP().
We don't want to generate extra sp adjustment instructions when hasFP()
return true, So We override hasReservedCallFrame as !hasVarSizedObjects().

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

FreeBSD — head ObsoleteFiles.inc

Add /boot/overlays to ObsoleteFiles

It has been replaced by /boot/dtb/overlays. We haven't yet populated it with
any of our own overlays, so no further damage from here.

Reported by:        Oliver Pinter <oliver.pinter at hardenedbsd.org>
Delta File
+2 -0 head/ObsoleteFiles.inc
+2 -0 1 file

FreeBSD Ports — head/www/rubygem-rails4 Makefile

www/rubygem-rails4: Remove passenger option

It isn't really needed.

PR:                225428
Delta File
+2 -4 head/www/rubygem-rails4/Makefile
+2 -4 1 file

LLVM — llvm/trunk/lib/Target/X86 X86SchedSandyBridge.td, llvm/trunk/test/CodeGen/X86 sse41-schedule.ll

[X86] Fix the SNB scheduler for BLENDVB.

PBLENDVBrr0 was with the memory version of VBLENDVB and PBLENDVBrm0 was missing.

LLVM — cfe/trunk/lib/StaticAnalyzer/Core BugReporterVisitors.cpp

[analyzer] Improve performance of NoStoreFuncVisitor

Compute modifying frames lazily on demand.

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

FreeBSD — head/sys/powerpc/booke pmap.c

Fix powerpc Book-E build post-331018/331048.

pagedaemon_wakeup() was moved from vm_pageout.h to vm_pagequeue.h.
Delta File
+2 -0 head/sys/powerpc/booke/pmap.c
+2 -0 1 file

LLVM — llvm/trunk/test/CodeGen/ARM stack-size-section.ll

Run dos2unix on a test. NFC.

LLVM — llvm/trunk/include/llvm/DebugInfo/PDB PDBTypes.h

[DebugInfoPDB] Add backward support flags to PDB_NameSearchFlags

For NS_CaseInFileNameExt support.

FreeBSD Ports — head/security/krb5-devel distinfo Makefile

Update to the latest MIT KRB5 commit on github.

FreeBSD Ports — branches/2018Q1/games/openbor distinfo Makefile

MFH: r463846 r465049

games/openbor: update to 4625

Changes:        https://github.com/DCurrent/openbor/compare/11cd2c0...c16d422
Approved by:        ports-secteam (feld, implicit for snapshots)

FreeBSD Ports — head/lang/c distinfo Makefile

lang/c: Update to 0.11

PR:                226726
Submitted by:        Neel Chauhan <neel at neelc.org> (maintainer)
Delta File
+3 -2 head/lang/c/distinfo
+1 -1 head/lang/c/Makefile
+4 -3 2 files

LLVM — cfe/trunk/test/Driver sanitizer-ld.c

Allow builtins for Cross-DSO CFI on Android

This is needed to avoid the test failure in case when compiler-rt
is set as the default runtime library for Clang.

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

LLVM — lld/trunk/test/ELF basic-ppc64.s

[ELF] Make SectionHeaderOffset less sensitive.
Delta File
+1 -1 lld/trunk/test/ELF/basic-ppc64.s
+1 -1 1 file

FreeBSD Ports — head/games/openbor distinfo Makefile

games/openbor: update to 4625

Changes:        https://github.com/DCurrent/openbor/compare/d42e54c...c16d422

FreeBSD Ports — branches/2018Q1/www/waterfox Makefile distinfo, branches/2018Q1/www/waterfox/files patch-bug1414768 patch-bug1404297

MFH: r465044

www/waterfox: update to

Changes:        https://github.com/MrAlex94/Waterfox/compare/79492ecca478...a9c77bbb9f25
Approved by:        ports-secteam blanket

FreeBSD Ports — branches/2018Q1/emulators/rpcs3 distinfo Makefile

MFH: r465043

emulators/rpcs3: update to

Changes:        https://github.com/RPCS3/rpcs3/compare/b232409cc...252ddf808
Approved by:        ports-secteam (junovitch, implicit for snapshots)

FreeBSD Ports — branches/2018Q1/emulators/citra distinfo Makefile

MFH: r465042

emulators/citra: update to s20180318

Changes:        https://github.com/citra-emu/citra/compare/935bcdbd...9e4f670e
Approved by:        ports-secteam (swills, implicit for snapshots)

FreeBSD Ports — head/www/waterfox Makefile distinfo, head/www/waterfox/files patch-bug1414768 patch-bug1404297

FreeBSD Ports — head/emulators/rpcs3 distinfo Makefile

emulators/rpcs3: update to

Changes:        https://github.com/RPCS3/rpcs3/compare/b232409cc...252ddf808

FreeBSD Ports — head/emulators/citra distinfo Makefile

emulators/citra: update to s20180318

Changes:        https://github.com/citra-emu/citra/compare/935bcdbd...9e4f670e

LLVM — llvm/trunk/lib/Object RecordStreamer.cpp, llvm/trunk/test/LTO/X86 symver-asm3.ll

Object: Fix handling of @@@ in .symver directive

name@@@nodename is going to be replaced with name@@nodename if symbols is
defined in the assembled file, or name at nodename if undefined.

Fixes PR36623

Reviewers: pcc, espindola

Subscribers: mehdi_amini, hiraditya

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

LLVM — llvm/trunk/lib/Object RecordStreamer.cpp ModuleSymbolTable.cpp

Object: Move attribute calculation into RecordStreamer. NFC

Summary: Preparation for D44274

Reviewers: pcc, espindola

Subscribers: hiraditya

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

LLVM — lldb/trunk/source/Plugins/SymbolFile/PDB SymbolFilePDB.cpp PDBASTParser.cpp

[SymbolFilePDB] Simplify code with newer methods

FreeBSD Ports — head/mail/dovecot-pigeonhole distinfo Makefile

mail/dovecot-pigeonhole: upgrade to 0.4.23:
- editheader extension: Corrected the stream position calculations
  performed while making the modified message available as a stream.
  Pigeonhole Sieve crashed in LMTP with an assertion panic when the
  Sieve editheader extension was used before the message was redirected.
  Experiments indicate that the problem occurred only with LMTP and that
  LDA is not affected.
- fileinto extension: Fix assert panic occurring when fileinto is used
  without being listed in the require line, while the copy extension is
  listed there. This is a very old bug.
- imapsieve plugin: Do not log an error for messages that disappear
  concurrently while applying Sieve scripts. This is a further
  improvement on the imapsieve fix in the previous release (which fixed
  a panic). This event is now logged as a debug message.

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

[analyzer] Fix the assertion failure when static globals are used in lambda by reference

Also use the opportunity to clean up the code and remove unnecessary duplication.


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

LLVM — lldb/trunk/source/Plugins/SymbolFile/PDB SymbolFilePDB.cpp SymbolFilePDB.h

[SymbolFilePDB] Simplify getting the source file path

Summary: Replace SymbolFilePDB::GetSourceFileNameForPDBCompiland() with 

Reviewers: zturner, rnk, lldb-commits

Subscribers: llvm-commits

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

FreeBSD — head/contrib/blacklist/bin conf.c

blacklist: Fix minor memory leak in configuration parsing error case

Ordinarily, the continue clause of the for-loop would free 'line.'  In this
case we instead return early, missing the free.  Add an explicit free to
avoid the leak.

Reported by:        Coverity
Sponsored by:        Dell EMC Isilon
Delta File
+1 -0 head/contrib/blacklist/bin/conf.c
+1 -0 1 file

FreeBSD — head/sys/arm/amlogic/aml8726 aml8726_mp.c aml8726_clkmsr.c, head/sys/arm/annapurna/alpine alpine_machdep.c

[ofw] fix errneous checks for OF_finddevice(9) return value

OF_finddevices returns ((phandle_t)-1) in case of failure. Some code
in existing drivers checked return value to be equal to 0 or
less/equal to 0 which is also wrong because phandle_t is unsigned
type. Most of these checks were for negative cases that were never
triggered so trhere was no impact on functionality.

Reviewed by:        nwhitehorn
MFC after:        2 weeks
Differential Revision:        https://reviews.freebsd.org/D14645

NAS4Free — trunk/etc/inc properties_disks_zfs_volume_edit.php properties_disks_zfs_volume.php

pool must be a a list property in ZFS volume

FreeBSD — head/sys/dev/mpr mpr_sas_lsi.c mpr_user.c, head/sys/dev/mpr/mpi mpi2_history.txt mpi2_ioc.h

Update mpr(4) driver from v15 to v18 from Broadcom site.

Version 16 is just a number bump, since we already had those changes.

Version 17 introduces new AdapterType value, that allows new user-space
tools from Broadcom to differentiate adapter generations 3 and 3.5.

Version 18 updates headers and adds SAS_DEVICE_DISCOVERY_ERROR reporting.

MFC after:        2 weeks

HardenedBSD — sys/amd64/linux32 linux32_sysvec.c, sys/i386/linux linux_sysvec.c

HBSD: Resolve merge conflict

Signed-off-by:        Shawn Webb <shawn.webb at hardenedbsd.org>
Sponsored-by:        SoldierX

LLVM — lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/incomplete-types TestCppIncompleteTypes.py

Modernize a test.

LLVM — lldb/trunk/lldb.xcodeproj project.pbxproj, lldb/trunk/tools/debugserver/debugserver.xcodeproj project.pbxproj

Rename remotectl_com.apple.internal.xpc.remote.debugserver.plist
to com.apple.internal.xpc.remote.debugserver.plist, not sure where
that remotectl_ prefix came from.


LLVM — lld/trunk/ELF SyntheticSections.cpp SyntheticSections.h, lld/trunk/test/ELF gnu-hash-table.s

Remove GnuHashTableSection::getShift2().

Choosing a Shift2 value based on wordsize is cargo-culted from gold.
Assuming that djb hash is a good hash function, choosing bits [4,9]
shouldn't be any worse or better than choosing bits [5,10]. We shouldn't
have copied that behavior that we can't justify in the first place.

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

LLVM — lld/trunk/ELF SymbolTable.cpp, lld/trunk/test/ELF allow-multiple-definition.s

allow-multiple-definitions should completely suppress errors instead of making them 

We found that when you pass --allow-multiple-definitions or `-z muldefs`
to GNU linkers, they don't complain about duplicate symbols at all. They
don't even print out warnings on it. We emit warnings in that case.
If you pass --fatal-warnings, that difference results in a link failure.

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

FreeBSD Ports — head/converters/php56-mbstring/files patch-php__mbregex.c, head/converters/php70-mbstring/files patch-php__mbregex.c

Fix build with oniguruma 6.8.1

PR:                226717
Submitted by:        Christian Ullrich, madpilot
With hat:        portmgr

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG LegalizeTypes.cpp, llvm/trunk/test/CodeGen/ARM debug-info-d16-reg.ll

[SelectionDAG] Transfer DbgValues when integer operations are promoted

DbgValue nodes were not transferred when integer DAG nodes were promoted. For example, if 
an i32 add node was promoted to an i64 add node by 
DAGTypeLegalizer::PromoteIntegerResult(), its DbgValue node was not transferred to the new 
node. The simple fix is to update SetPromotedInteger() to transfer DbgValues. 

Add AArch64/dbg-value-i8.ll to test this change and fix ARM/debug-info-d16-reg.ll which 
had the wrong DILocalVariable nodes with arg numbers even though they are not for function 

Patch by Se Jong Oh!

Reviewers: vsk, JDevlieghere, aprantl

Reviewed By: JDevlieghere

Subscribers: javed.absar, kristof.beyls, llvm-commits

Tags: #debug-info

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

LLVM — lldb/trunk/tools/debugserver/debugserver.xcodeproj project.pbxproj

I didn't see that SocketAddress.cpp was already being pulled
in to debugserver; my re-addition resulted in duplicated
symbols.  Remove my added SocketAddress.cpp, and change the
original one to also be included for the debugserver-mini target.

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

[MachineOutliner] AArch64: Emit CFI instructions when outlining calls

When outlining calls, the outliner needs to update CFI to ensure that, say,
exception handling works. This commit adds that functionality and adds a test
just for call outlining.

Call outlining stuff in machine-outliner.mir should be moved into
machine-outliner-calls.mir in a later commit.

FreeBSD Ports — head/devel/py-qtconsole Makefile

devel/py-qtconsole: distutils implies flavors

Reported by:        mat
Delta File
+1 -1 head/devel/py-qtconsole/Makefile
+1 -1 1 file

FreeBSD — head/sys/kern subr_eventhandler.c

Fix initialization of eventhandler mutex.

mtx_init does not do a copy of the name string it is passed. The
eventhandler code incorrectly passed the parameter string directly to
mtx_init instead of using the copy it makes. This was an existing
problem with the code that I dutifully copied over in my changes in r325621.

Reported by:        Anton Rang <rang AT acm.org>
Reviewed by:        rstone, markj
Approved by:        rstone (mentor)
MFC after:        1 week
Sponsored by:        Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D14764
Delta File
+2 -1 head/sys/kern/subr_eventhandler.c
+2 -1 1 file

DragonFlyBSD — sys/dev/misc/atkbdc_layer atkbdc_isa.c

    atkbdc - Add additional ACPI PNP IDs specified by Microsoft for Keyboards.
    These IDs are from Microsofts device IDs list at
    which is linked from http://www.uefi.org/PNP_ACPI_Registry.
    This should fix some machines which failed to attach the PS2 Keyboard
    after 131acb0380e93664f106117ebf8ba322a3d1b7c4, unless the acpi(4) module
    was disabled.

FreeBSD Ports — head/japanese/ajaxzip2-data distinfo Makefile, head/japanese/zipcodes distinfo Makefile

- Update to 20180228.

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

[DAGCombiner] Fix type in comment. NFC

LLVM — lldb/trunk/lldb.xcodeproj project.pbxproj, lldb/trunk/tools/debugserver/debugserver.xcodeproj project.pbxproj

Add the ios-mini target to the top-level xcodeproj, which builds
the debugserver-mini target in debugserver.  Add a new plist
which needs to be installed for debugserver-mini.

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp

[X86] Simplify the AVX512 code in LowerTruncate a little.

We don't need to create an ISD::TRUNCATE node to return, we started with one and can 
return it. Also remove the call to getExtendInVec, the result is just going to be a 
getNode of that value passed in.

LLVM — lldb/trunk/lldb.xcodeproj project.pbxproj

Add DWARFUnit.cpp to the correct target.

NetBSD — distrib/sets/lists/modules mi

Update sets lists for new COMPAT_50 module
Delta File
+3 -1 distrib/sets/lists/modules/mi
+3 -1 1 file