Displaying 1 50 of 3,708,803 commits (0.791s)

FreeBSD Ports — head/devel/ccache Makefile, head/devel/ccache/files patch-conf.c

Always default CCACHE_CPP2 to 1, otherwise a build error with parenthesis can
occur in buildworld when upgrading from a GCC-built clang or pre-10 system to a
system built with clang.

LLVM — lldb/trunk/test dotest.py

Protect dotest.py with an if __name__ == "__main__"
Delta File
+494 -493 lldb/trunk/test/dotest.py
+494 -493 1 file

LLVM — cfe/trunk/lib/CodeGen CGClass.cpp CodeGenModule.h, cfe/trunk/test/CodeGenCXX sanitize-dtor-bit-field.cpp sanitize-dtor-nontrivial-virtual-base.cpp

Refactored dtor sanitizing into EHScopeStack

Summary:
Dtor sanitization handled amidst other dtor cleanups,
between cleaning bases and fields. Sanitizer call pushed onto
stack of cleanup operations.

Reviewers: eugenis, kcc

Differential Revision: http://reviews.llvm.org/D12022

Refactoring dtor sanitizing emission order.

- Support multiple inheritance by poisoning after
 member destructors are invoked, and before base
 class destructors are invoked.
- Poison for virtual destructor and virtual bases.
- Repress dtor aliasing when sanitizing in dtor.
- CFE test for dtor aliasing, and repression of aliasing in dtor
 code generation.
- Poison members on field-by-field basis, with collective poisoning
 of trivial members when possible.
- Check msan flags and existence of fields, before dtor sanitizing,
 and when determining if aliasing is allowed.
- Testing sanitizing bit fields.

LLVM — cfe/trunk/include/clang module.modulemap, cfe/trunk/include/clang/Basic TargetCXXABI.h BuiltinsWebAssembly.def

[WebAssembly] Initial WebAssembly support in clang

This implements basic support for compiling (though not yet assembling
or linking) for a WebAssembly target. Note that ABI details are not yet
finalized, and may change.

Differential Revision: http://reviews.llvm.org/D12002

LLVM — llvm/trunk/lib/Target/PowerPC PPCISelLowering.cpp, llvm/trunk/test/CodeGen/PowerPC qpx-unal-cons-lds.ll

[PowerPC] Try harder to find a base+offset when looking for consecutive accesses

When forming permutation-based unaligned vector loads, we need to know whether
it is valid to read ahead of the requested address by a full vector length.
Doing so is more efficient (and allows for more CSE with later loads), but
could trigger a page fault if invalid. To determine validity, we look for other
loads in the same block that access the relevant address range.

The relevant point here is that we need to do this as part of the process of
forming permutation-based vector loads, and this happens quite early in the
SDAG pipeline - specifically before many of the address calculations are fully
canonicalized. As a result, we need to try harder to recognize base+offset
address computations, because they still might appear as chain of adds
(base+offset+offset, for example). To account for this, we'll look through
chains of adds, accumulating the constant offsets.

pfSense — src/usr/local/www carp_status.php

Form button values and position corrected
Delta File
+20 -18 src/usr/local/www/carp_status.php
+20 -18 1 file

LLVM — llvm/trunk/lib/IR Attributes.cpp, llvm/trunk/test/Assembler incorrect-tdep-attrs-parsing.ll

[IR] Have AttrBuilder::clear clear `TargetDepAttrs`.

Test case attached -- currently the parser smears the "foo bar" to all
of the formal arguments.

LLVM — lld/trunk/ELF InputFiles.cpp

Avoid gcc warning.
Delta File
+1 -0 lld/trunk/ELF/InputFiles.cpp
+1 -0 1 file

FreeBSD Ports — head/graphics/ImageMagick7 pkg-plist distinfo

Update ImageMagick7 to the snapshot from 2015.09.02.

FreeBSD — head/sys/netinet sctp_input.c

Fix a bug where two SHUTDOWN_ACK chunks were sent if a SHUTDOWN chunk was
received acking all outstanding data.
Delta File
+15 -10 head/sys/netinet/sctp_input.c
+15 -10 1 file

FreeBSD Ports — head/devel Makefile lldb37, head/devel/lldb37 Makefile pkg-descr

Add clang37 and lldb37 metaports to make it easier to find the clang and
lldb installed by devel/llvm37.

No port should depend on these ports.
Delta File
+7 -7 head/devel/lldb37/Makefile
+5 -3 head/devel/lldb37/pkg-descr
+3 -3 head/lang/clang37/Makefile
+1 -0 head/devel/Makefile
+1 -0 head/lang/Makefile
+0 -0 head/lang/clang37/
+0 -0 head/devel/lldb37/
+17 -13 7 files

FreeBSD Ports — head/devel/git pkg-plist distinfo, head/devel/git/files patch-generate-cmdlist.sh patch-Makefile

- Update to 2.5.1
- Fix build with NO_PERL set backporting a commit from git repo (82aec45)
- Add git-submodile, git-am and git-request-pull to the list of commands
  that doesn't work without perl

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RewriteStatepointsForGC] Extract common code, comment, and fix a build warning [NFC]

FreeBSD Ports — head/www/webkit-qt5 Makefile

www/webkit-qt5:
- Fix typo in PORTREVISION

Submitted by:        Ralf Nolden <nolden at kde.org> via kde-freebsd maillist
Delta File
+1 -1 head/www/webkit-qt5/Makefile
+1 -1 1 file

FreeBSD Ports — head/www/qt5-websockets pkg-plist

www/qt5-websockets:
- Use PLIST substitutions

Submitted by:        Ralf Nolden <nolden at kde.org> via kde-freebsd maillist
Delta File
+8 -8 head/www/qt5-websockets/pkg-plist
+8 -8 1 file

FreeBSD Ports — head/devel/qt5 Makefile

devel/qt5:
- Add missing dependence on websockets

Reported by:        Ralf Nolden <nolden at kde.org> via irc
Delta File
+2 -1 head/devel/qt5/Makefile
+2 -1 1 file

FreeBSD Ports — head/comms/qt5-serialport pkg-plist

comms/qt5-serialport:
- Fix misused PLIST substitution
- Add missing files for WITH_DEBUG build

Submitted by:        Ralf Nolden <nolden at kde.org> via kde-freebsd maillist

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RewriteStatepointsForGC] Strengthen invariants around BDVs

As a first step towards a new implementation of the base pointer inference algorithm, 
introduce an abstraction for BDVs, strengthen the assertions around them, and rewrite the 
BDV relation code in terms of the abstraction which includes an explicit notion of whether 
the BDV is also a base. The later is motivated by the fact we had a bug where 
insertelement was always assumed to be a base pointer even though the BDV code knew it 
wasn't. The strengthened assertions in this patch would have caught that bug.

The next step will be to separate the DefiningValueMap into a BDV use list cache (entirely 
within findBasePointers) and a base pointer cache. Having the former will allow me to use 
a deterministic visit order when visiting BDVs in the inference algorithm and remove a 
bunch of ordering related hacks. Before actually doing the last step, I'm likely going to 
extend the lattice with a 'BaseN' (seen only base inputs) state so that I can kill the 
post process optimization step.

Phabricator Revision: http://reviews.llvm.org/D12608

LLVM — llvm/trunk/lib/Fuzzer FuzzerInterface.h FuzzerMutate.cpp, llvm/trunk/lib/Fuzzer/test FuzzerUnittest.cpp

[libFuzzer] refactor the mutation functions so that they are now methods of a class. NFC

LLVM — llvm/trunk/lib/Target/PowerPC PPCTargetTransformInfo.cpp, llvm/trunk/test/Analysis/CostModel/PowerPC unal-vec-ldst.ll load_store.ll

[PowerPC] Include the permutation cost for unaligned vector loads

Pre-P8, when we generate code for unaligned vector loads (for Altivec and QPX
types), even when accounting for the combining that takes place for multiple
consecutive such loads, there is at least one load instructions and one
permutation for each load. Make sure the cost reported reflects the cost of the
permutes as well.

pfSense — tools builder_common.sh

Fix reverse check
Delta File
+1 -1 tools/builder_common.sh
+1 -1 1 file

LLVM — cfe/trunk/lib/Analysis ThreadSafety.cpp, cfe/trunk/test/SemaCXX warn-thread-safety-analysis.cpp

Thread safety analysis: the NO_THREAD_SAFETY_ANALYSIS attribute will now
disable checking of arguments to the function, which is done by
-Wthread-safety-reference.

LLVM — llvm/trunk/lib/Target/PowerPC PPCISelLowering.cpp, llvm/trunk/test/CodeGen/PowerPC unal-vec-negarith.ll

[PowerPC] Compute the MMO offset for an unaligned load with signed arithmetic

If you compute the MMO offset using unsigned arithmetic, you end up with a
large positive offset instead of a small negative one. In theory, this could
cause bad instruction-scheduling decisions later.

I noticed this by inspection from the debug output, and using that for the
regression test is the best I can do right now.

LLVM — cfe/trunk/test/Driver fsanitize-coverage.c

Add target flag to clang-cl invocation in this test.

pfSense — src/etc/phpshellsessions gitsync

Merge branch 'master' into bootstrap
∈ Renato Botelho - c833432e - 2015-09-03 20:48:38
Use git instead of git-lite
Delta File
+1 -1 src/etc/phpshellsessions/gitsync
+1 -1 1 file

HardenedBSD — etc/mtree BSD.tests.dist

Put timeout directory in correct place
Delta File
+2 -2 etc/mtree/BSD.tests.dist
+2 -2 1 file

FreeBSD — stable/10/etc/mtree BSD.tests.dist

Put timeout directory in correct place

FreeBSD Ports — head/games/filters Makefile distinfo, head/games/filters/files patch-Makefile patch-ky00te.dir__makefile

- Update to 2.54
- Sort USES

LLVM — cfe/trunk/lib/CodeGen ItaniumCXXABI.cpp

Fix PR23472þ by emitting initialized variable and its guard in the same COMDAT only for 
ELF objects.

 http://llvm.org/pr23472

Reviewed by Reid Kleckner.

FreeBSD — head/lib/libprocstat libprocstat.c, head/lib/libutil kinfo_getfile.c

Detect badly behaved coredump note helpers

Coredump notes depend on being able to invoke dump routines twice; once
in a dry-run mode to get the size of the note, and another to actually
emit the note to the corefile.

When a note helper emits a different length section the second time
around than the length it requested the first time, the kernel produces
a corrupt coredump.

NT_PROCSTAT_FILES output length, when packing kinfo structs, is tied to
the length of filenames corresponding to vnodes in the process' fd table
via vn_fullpath.  As vnodes may move around during dump, this is racy.

So:

 - Detect badly behaved notes in putnote() and pad underfilled notes.

 - Add a fail point, debug.fail_point.fill_kinfo_vnode__random_path to
   exercise the NT_PROCSTAT_FILES corruption.  It simply picks random
   lengths to expand or truncate paths to in fo_fill_kinfo_vnode().

 - Add a sysctl, kern.coredump_pack_fileinfo, to allow users to
   disable kinfo packing for PROCSTAT_FILES notes.  This should avoid
   both FILES note corruption and truncation, even if filenames change,

    [16 lines not shown]

HardenedBSD — lib/libprocstat libprocstat.c, lib/libutil kinfo_getfile.c

Detect badly behaved coredump note helpers

Coredump notes depend on being able to invoke dump routines twice; once
in a dry-run mode to get the size of the note, and another to actually
emit the note to the corefile.

When a note helper emits a different length section the second time
around than the length it requested the first time, the kernel produces
a corrupt coredump.

NT_PROCSTAT_FILES output length, when packing kinfo structs, is tied to
the length of filenames corresponding to vnodes in the process' fd table
via vn_fullpath.  As vnodes may move around during dump, this is racy.

So:

 - Detect badly behaved notes in putnote() and pad underfilled notes.

 - Add a fail point, debug.fail_point.fill_kinfo_vnode__random_path to
   exercise the NT_PROCSTAT_FILES corruption.  It simply picks random
   lengths to expand or truncate paths to in fo_fill_kinfo_vnode().

 - Add a sysctl, kern.coredump_pack_fileinfo, to allow users to
   disable kinfo packing for PROCSTAT_FILES notes.  This should avoid
   both FILES note corruption and truncation, even if filenames change,

    [16 lines not shown]

LLVM — lld/trunk/ELF InputFiles.cpp

[ELF2] Don't allocate more SymbolBodies than needed.

Differential Revision:        http://reviews.llvm.org/D12605
Delta File
+1 -1 lld/trunk/ELF/InputFiles.cpp
+1 -1 1 file

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RewriteStatepointsForGC] Workaround a lack of determinism in visit order

The visit order being used in the base pointer inference algorithm is currently 
non-deterministic.  When working on http://reviews.llvm.org/D12583, I discovered that we 
were relying on a peephole optimization to get deterministic ordering in one of the test 
cases.  

This change is intented to let me test and land http://reviews.llvm.org/D12583.  The 
current code will not be long lived.  I'm starting to investigate a rewrite of the 
algorithm which will combine the post-process step into the initial algorithm and make the 
visit order determistic.  Before doing that, I wanted to make sure the existing code was 
complete and the test were stable.  Hopefully, patches should be up for review for the new 
algorithm this week or early next.

LLVM — llvm/trunk/lib/Fuzzer FuzzerUtil.cpp FuzzerInternal.h, llvm/trunk/lib/Fuzzer/test FuzzerUnittest.cpp

[libFuzzer] adding a parser for AFL-style dictionaries + tests.

LLVM — llvm/trunk/lib/Transforms/Instrumentation SanitizerCoverage.cpp, llvm/trunk/test/Instrumentation/SanitizerCoverage localescape.ll seh.ll

[sancov] Disable sanitizer coverage on functions using SEH

Splitting basic blocks really messes up WinEHPrepare. We can remove this
change when SEH uses the new EH IR.

LLVM — llvm/trunk/utils/vim/syntax llvm.vim

llvm.vim: 'musttail' is a keyword too

FreeBSD Ports — head/graphics/graphite2 distinfo Makefile

Update to 1.3.1.

LLVM — lld/trunk/ELF InputFiles.h InputFiles.cpp, lld/trunk/test/elf2 incompatible.s

Start adding support for shared libraries.

This just adds the types and enough support to detect incompatibilities among
shared libraries and object files.

pfSense — src/usr/local/www carp_status.php

Possible fix for disabled/enabled
Delta File
+10 -2 src/usr/local/www/carp_status.php
+10 -2 1 file

FreeBSD — stable/10/etc/mtree BSD.tests.dist, stable/10/usr.sbin/fstyp Makefile tests

MFC r286964

Add ATF functional tests for fstyp(8).  No ZFS or GELI tests yet.
Delta File
+6 -0 stable/10/usr.sbin/fstyp/Makefile
+2 -0 stable/10/etc/mtree/BSD.tests.dist
+0 -0 stable/10/usr.sbin/fstyp/tests/
+8 -0 3 files

HardenedBSD — etc/mtree BSD.tests.dist, usr.sbin/fstyp Makefile

MFC r286964

Add ATF functional tests for fstyp(8).  No ZFS or GELI tests yet.

FreeBSD Ports — head/sysutils/fusefs-simple-mtpfs distinfo Makefile, head/sysutils/fusefs-simple-mtpfs/files patch-src__simple-mtpfs-fuse.cpp

sysutils/fusefs-simple-mtpfs: update to 0.2.24 (20150903 snapshot)

Switch to |git describe --tags| versioning scheme. Tag offsets better
show the amount of changes happenning between snapshots.

Changes:        https://github.com/phatina/simple-mtpfs/compare/76be403...a7ab64c

FreeBSD Ports — head/games/openra Makefile pkg-plist

games/openra: install MIME data

From ChangeLog for 20150614:
- Added file associations for .orarep replay files and handling of
  openra:// URLs for connecting directly to game servers.
  [OpenRA#4528, OpenRA#7934]

FreeBSD Ports — head/net/uget Makefile distinfo, head/net/uget/files patch-ui-gtk_UgtkSetting.c

- Update to 2.0.1
- Sort USES
- Remove GNUTLS option (integrates into LIB_DEPENDS macro)
- Delete unneeded patch

OPNsense — src/www vpn_ipsec_settings.php

(legacy) whitespace vpn_ipsec_settings.php
Delta File
+78 -78 src/www/vpn_ipsec_settings.php
+78 -78 1 file

DragonFlyBSD — sys/dev/serial/sio sio.c

sio: Add pci-ids for Haswell and Broadwell vPro CPUs' SoL support.
Delta File
+4 -0 sys/dev/serial/sio/sio.c
+4 -0 1 file

OPNsense — src/www vpn_ipsec_keys_edit.php

(legacy) whitespace vpn_ipsec_keys_edit.php
Delta File
+40 -40 src/www/vpn_ipsec_keys_edit.php
+40 -40 1 file

OPNsense — src/www vpn_ipsec_keys.php

(legacy) whitespace vpn_ipsec_keys.php
Delta File
+77 -77 src/www/vpn_ipsec_keys.php
+77 -77 1 file

pfSense — src/usr/local/www carp_status.php

Fixed #5093
Page completely re-written. What were they thinking?
Delta File
+66 -43 src/usr/local/www/carp_status.php
+66 -43 1 file

FreeBSD Ports — head/www/elixir-phoenix distinfo Makefile

Upgrade to version 1.0.1.