Displaying 1 50 of 5,476,461 commits (0.569s)

FreeBSD — head/usr.sbin/makefs cd9660.c cd9660.h, head/usr.sbin/makefs/cd9660 cd9660_write.c cd9660_eltorito.c

makefs: eliminate global cd9660 structure

For diff reduction with NetBSD

NetBSD file versions:
cd9660.c 1.39
cd9660.h 1.19
cd9660/cd9660_debug.c 1.12
cd9660/cd9660_eltorito.c 1.20
cd9660/cd9660_write.c 1.16
cd9660/iso9660_rrip.c 1.12
cd9660/iso9660_rrip.h 1.6

Reviewed by:        ngie
Obtained from:        NetBSD
MFC after:        1 month
Sponsored by:        The FreeBSD Foundation
Differential Revision:        https://reviews.freebsd.org/D9627

LLVM — lldb/trunk INSTALL.txt, lldb/trunk/scripts/Xcode build-llvm.py repo.py

Changed builld-llvm.py to use .json files

LLDB has many branches in a variety of repositories.
The build-script.py file is subtly different for each set.
This is unnecessary and causes merge headaches.

This patch makes build-llvm.py consult a directory full 
of .json files, each one of which matches a particular
branch using a regular expression.

This update to the patch introduces a FALLBACK file
whose contents take precedence if the current branch
could not be identified.  If the current branch could be
identified, FALLBACK is updated, allowing the user to
e.g. cut branches off of known branches and still have
the automatic checkout mechanism work.

It also documents all of this.

Differential revision: https://reviews.llvm.org/D30275

LLVM — cfe/trunk/include/clang/Sema Sema.h, cfe/trunk/lib/Sema SemaTemplateInstantiate.cpp SemaDecl.cpp

Fix tracking of whether the previous template instantiation stack matches the current one.

Rather than attempting to compare whether the previous and current top of
context stack are "equal" (which fails for a number of reasons, such as the
context stack entries containing pointers to objects on the stack, or reaching
the same "top of stack" entry through two different paths), track the depth of
context stack at which we last emitted a note and invalidate it when we pop the
context stack to less than that depth.

This causes us to emit some missing "in instantiation of" notes and to stop
emitting redundant "in instantiation of" stacks matching the previous stack in
rare cases.

FreeBSD Ports — head/devel/mtbl Makefile distinfo, head/devel/py-pymtbl Makefile

Upgrade devel/mtbl to version 1.0.0:

  mtbl (1.0.0)

   * Backwards-incompatible file format change to enable block sizes >4G.
   * Add support for zstd compression. This adds a new library dependency
     on libzstd.
   * Add mtbl_iter_seek function.
   * Add mtbl_fileset_partition function.
   * Breaks ABI for version 0.x.x.

  mtbl (0.8.1)

   * Add portability for clock time.
   * Simplify and improve portability related to byte order primitives.
   * Fix assertion failure. If there is a broken mtbl file in the fileset
     then a NULL reader will be returned. This change checks for that
     error condition in fs_reinit_merger() and does not pass the empty
     reader onwards to mtbl_merger_add_source().

Compatiblity with the latest libz4 has been added so files/patch-configure
is no longer needed.

Bump PORTREVISION on dependent ports due to ABI / shared library version
change.

LLVM — cfe/trunk/include/clang/Sema Sema.h, cfe/trunk/lib/Sema SemaTemplateInstantiate.cpp SemaLookup.cpp

Rename ActiveTemplateInstantiation to CodeSynthesisContext in preparation for
using it for other kinds of context (where we currently produce context notes
in a highly ad-hoc manner).

FreeBSD Ports — head/mail/fdm Makefile distinfo

- Update to 1.9

PR:                217301(based on)
Submitted by:        seschwar at gmail.com

LLVM — cfe/trunk/lib/CodeGen CGExpr.cpp CodeGenFunction.h

Rename a helper function, NFC.

FreeBSD — head/sys/kern subr_terminal.c

Fix a panic during boot caused by inadequate locking of some vt(4) driver
data structures.

vt_change_font() calls vtbuf_grow() to change some vt driver data
structures. It uses TF_MUTE to prevent the console from trying to use those
data structures while it changes them.

During the early stage of the boot process, the vt driver's tc_done routine
uses those data structures; however, it is currently called outside the
TF_MUTE check.

Move the tc_done routine inside the locked TF_MUTE check.

PR:                217282
Reviewed by:        ed, ray
Sponsored by:        Netflix
Differential Revision:        https://reviews.freebsd.org/D9709
Delta File
+5 -3 head/sys/kern/subr_terminal.c
+5 -3 1 file

LLVM — llvm/trunk/unittests/MI LiveIntervalTest.cpp

Test if we can use raw strings on all platforms compiling LLVM.
Delta File
+126 -126 llvm/trunk/unittests/MI/LiveIntervalTest.cpp
+126 -126 1 file

LLVM — llvm/trunk/docs LangRef.rst

Explicitly state the behavior of inbounds with a null pointer.

See https://llvm.org/bugs/show_bug.cgi?id=31439; this reflects LLVM's
behavior in practice, and should be compatible with C/C++ rules.

Differential Revision: https://reviews.llvm.org/D28026
Delta File
+4 -2 llvm/trunk/docs/LangRef.rst
+4 -2 1 file

LLVM — lldb/trunk/scripts/Xcode build-llvm.py repo.py

Reverted 295897 pending refinements and fixes for green-dragon.
Delta File
+31 -28 lldb/trunk/scripts/Xcode/build-llvm.py
+0 -33 lldb/trunk/scripts/Xcode/repo.py
+0 -0 lldb/trunk/scripts/Xcode/repos/
+31 -61 3 files

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/trunk/test/Transforms/InstCombine amdgcn-intrinsics.ll

AMDGPU: Replace disabled exp inputs with undef

LLVM — lld/trunk/COFF Driver.cpp DriverUtils.cpp, lld/trunk/test/COFF msvclto.ll

Fix /msvclto.

Previously, bitcode files in library paths were passed to the MSVC linker.
This patch strips them.

LLVM — llvm/trunk/lib/Target/AMDGPU AMDGPUInstructions.td SIInstructions.td, llvm/trunk/test/CodeGen/AMDGPU bfe-patterns.ll

AMDGPU: Add another BFE pattern

This is the pattern that falls out of the instruction's
definition if offset == 0.

LLVM — cfe/trunk/include/clang/Basic DiagnosticSerializationKinds.td, cfe/trunk/lib/AST ODRHash.cpp

[ODRHash] Add IdentiferInfo and FieldDecl support.

IdentifierInfo is hashed based on the stored string.  FieldDecl versus other
Decl is now detected, as well as differently named fields.

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

LLVM — llvm/branches/release_40/lib/Target/ARM ARMExpandPseudoInsts.cpp, llvm/branches/release_40/test/CodeGen/ARM aeabi-read-tp.ll

Backport r293433, ARM: support `-mlong-calls` with AEABI TLS on ELF

Support lowering AEABI TLS access (__aeabi_read_tp) with long calls.
This requires adjusting the call sequence to use an indirect call to get
full addressability.

Resolves PR31769!

By Saleem Abdulrasool!

FreeBSD Ports — head/textproc/jid distinfo Makefile

- Update to 0.7.2

HardenedBSD — libexec/rtld-elf/mips reloc.c

Fully handle the special encoding of GOT[1] on mips64.

The MIPS ABI does not require the second GOT entry to be reserved for use
by the runtime linker as on other architectures.  Instead, static linkers
use a special value in the second GOT entry to indicate if the entry is
reserved.  This value is supposed to consist of an address with the MSB
set and the rest of the bits all zero which is an invalid user address.

However, the old binutils currently in the tree uses the 32-bit mask value
(2^31) on 64-bit MIPS instead of 2^63.  This was fixed in upstream
binutils in 2008 to use 2^63 on 64-bit MIPS.

The first part of this change changes the runtime check in init_pltgot()
to check for both values (2^31 and 2^63) when deciding whether to store
the current object pointer in GOT[1] which fixes dynamic N64 binaries
compiled with modern binutils.

However, the initial version of this fix exposed another related bug in
that _rtld_relocate_nonplt_self() was only checking for the new value
(2^63) in GOT[1] and incorrectly treated GOT[1] as a local GOT entry
(and did not relocate the final local GOT entry).  To handle this, fix
all of the places that check for GOT[1]'s status to use the same macro
that checks for both values on N64.

Reviewed by:        kan, imp

    [2 lines not shown]
Delta File
+19 -3 libexec/rtld-elf/mips/reloc.c
+19 -3 1 file

FreeBSD — head/libexec/rtld-elf/mips reloc.c

Fully handle the special encoding of GOT[1] on mips64.

The MIPS ABI does not require the second GOT entry to be reserved for use
by the runtime linker as on other architectures.  Instead, static linkers
use a special value in the second GOT entry to indicate if the entry is
reserved.  This value is supposed to consist of an address with the MSB
set and the rest of the bits all zero which is an invalid user address.

However, the old binutils currently in the tree uses the 32-bit mask value
(2^31) on 64-bit MIPS instead of 2^63.  This was fixed in upstream
binutils in 2008 to use 2^63 on 64-bit MIPS.

The first part of this change changes the runtime check in init_pltgot()
to check for both values (2^31 and 2^63) when deciding whether to store
the current object pointer in GOT[1] which fixes dynamic N64 binaries
compiled with modern binutils.

However, the initial version of this fix exposed another related bug in
that _rtld_relocate_nonplt_self() was only checking for the new value
(2^63) in GOT[1] and incorrectly treated GOT[1] as a local GOT entry
(and did not relocate the final local GOT entry).  To handle this, fix
all of the places that check for GOT[1]'s status to use the same macro
that checks for both values on N64.

Reviewed by:        kan, imp

    [2 lines not shown]
Delta File
+19 -3 head/libexec/rtld-elf/mips/reloc.c
+19 -3 1 file

LLVM — lld/trunk/ELF OutputSections.cpp Writer.cpp

Reduce templating a bit. NFC.

NAS4Free — trunk/etc/inc config.inc

scan partitions of bootdisk for config.xml first
Delta File
+14 -0 trunk/etc/inc/config.inc
+14 -0 1 file

HardenedBSD — sys/boot/mips/beri/boot2 Makefile

Use LDFLAGS with CC instead of _LDFLAGS.

This is a followup to r311458.  _LDFLAGS is for use with LD, whereas
LDFLAGS is for use with CC.
Delta File
+2 -2 sys/boot/mips/beri/boot2/Makefile
+2 -2 1 file

FreeBSD — head/sys/boot/mips/beri/boot2 Makefile

Use LDFLAGS with CC instead of _LDFLAGS.

This is a followup to r311458.  _LDFLAGS is for use with LD, whereas
LDFLAGS is for use with CC.

FreeBSD — head/tests/sys/netinet fibs_test.sh

Remove tests/sys/netinet/fibs_tests's dependency on net/socat

Instead of bridging two tap interfaces with socat, just use an epair pair.

MFC after:        3 weeks
Sponsored by:        Spectra Logic Corp
Delta File
+77 -60 head/tests/sys/netinet/fibs_test.sh
+77 -60 1 file

HardenedBSD — tests/sys/netinet fibs_test.sh

Remove tests/sys/netinet/fibs_tests's dependency on net/socat

Instead of bridging two tap interfaces with socat, just use an epair pair.

MFC after:        3 weeks
Sponsored by:        Spectra Logic Corp
Delta File
+77 -60 tests/sys/netinet/fibs_test.sh
+77 -60 1 file

LLVM — llvm/trunk/lib/Target/AMDGPU SIISelLowering.cpp SIFoldOperands.cpp, llvm/trunk/test/CodeGen/AMDGPU clamp-modifier.ll clamp.ll

AMDGPU: Use clamp with f64

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

Fixed errors in AllocatedBlock:
- Allow zero byte size request for memory and ensure it gets a unique address
- Exit the free block loop when we find an appropriate free block

<rdar://problem/30644888>

NAS4Free — trunk/etc rc, trunk/etc/inc util.inc

add bootdevice information for embedded
Delta File
+6 -0 trunk/etc/inc/util.inc
+3 -0 trunk/etc/rc
+9 -0 2 files

LLVM — llvm/trunk/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/trunk/test/Transforms/SLPVectorizer/X86 horizontal-list.ll

Revert r295868 because it breaks a different SLP lit test.

FreeBSD Ports — head/devel/aarch64-binutils Makefile, head/devel/binutils Makefile

Build aarch64-binutils as static by default.

This is required to build Arm64 packages using QEMU.  Poudriere copies
the native ld from the host into the jail and uses that during the build.
This only works if ld is static.

Reported by:        krion
Approved by:        bapt

FreeBSD Ports — head/devel/binutils Makefile

Add a STATIC option to build the toolchain as static.

Approved by:        bapt
Delta File
+3 -1 head/devel/binutils/Makefile
+3 -1 1 file

LLVM — llvm/trunk/lib/Target/AMDGPU SIFoldOperands.cpp SIInstrInfo.h, llvm/trunk/test/CodeGen/AMDGPU clamp-modifier.ll clamp-omod-special-case.mir

AMDGPU: Fold FP clamp as modifier bit

The manual is unclear on the details of this. It's not
clear to me if denormals are not allowed with clamp,
or if that is only omod. Not allowing denorms for
fp16 or fp64 isn't useful so I also question if that
is really a restriction. Same with whether this is valid
without IEEE mode enabled.

LLVM — llvm/trunk/lib/Target/AMDGPU AMDGPUSubtarget.h SIInstrInfo.td, llvm/trunk/test/CodeGen/AMDGPU trap.ll

AMDGPU : Update TrapCode based on Trap Handler ABI.

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

LLVM — cfe/trunk/lib/AST DeclObjC.cpp, cfe/trunk/test/Modules objc-categories.m

[ObjC][Modules] Don't perform property lookup in hidden class extensions

rdar://30603803

LLVM — llvm/trunk/lib/Fuzzer/test fuzzer-traces-hooks.test

[libFuzzer] Update traces hooks test after r293741

This test now passes on darwin.

LLVM — lld/trunk/test/ELF/lto thinlto.ll

ELF: Simplify the thinlto.ll test and verify that importing is working correctly.
Delta File
+4 -5 lld/trunk/test/ELF/lto/thinlto.ll
+4 -5 1 file

LLVM — llvm/trunk/lib/Fuzzer/test trace-malloc-2.test trace-malloc.test

[libFuzzer] Mark a test that infinite loops as unsupported

We need to investigate this, but for now it just causes too much
headache when trying to run these tests.

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineAddSub.cpp

[InstCombine] don't try SimplifyDemandedInstructionBits from add/sub because it's slow and 
unlikely to succeed

Notably, no regression tests change when we remove these calls, and these are expensive 
calls.

The motivation comes from the general acknowledgement that the compiler is getting slower:
http://lists.llvm.org/pipermail/llvm-dev/2017-January/109188.html
http://lists.llvm.org/pipermail/llvm-dev/2016-December/108279.html

And specifically the test case attached to PR32037:
https://bugs.llvm.org//show_bug.cgi?id=32037

Profiling the middle-end (opt) part of the compile:
$ ./opt -O2 row_common.bc -o /dev/null

...visitAdd and visitSub are near the top of the instcombine list, and the calls to 
SimplifyDemandedInstructionBits()
are high within each of those. Those calls account for 1%+ of the opt time in either debug 
or release profiles. And 
that's the rough win I see from this patch when testing opt built release from r295864 on 
an iMac with Haswell 4GHz
(model 4790K).

It seems unlikely that we'd be able to eliminate add/sub or change their operands given 

    [8 lines not shown]

LLVM — lldb/trunk/scripts/Xcode build-llvm.py repo.py, lldb/trunk/scripts/Xcode/repos svn-trunk.json

Changed builld-llvm.py to use .json files

LLDB has many branches in a variety of repositories.
The build-script.py file is subtly different for each set.
This is unnecessary and causes merge headaches.

This patch makes build-llvm.py consult a directory full 
of .json files, each one of which matches a particular
branch using a regular expression.

Differential revision: https://reviews.llvm.org/D30275
Delta File
+28 -31 lldb/trunk/scripts/Xcode/build-llvm.py
+33 -0 lldb/trunk/scripts/Xcode/repo.py
+19 -0 lldb/trunk/scripts/Xcode/repos/svn-trunk.json
+0 -0 lldb/trunk/scripts/Xcode/repos/
+80 -31 4 files

NAS4Free — trunk/locale nas4free-zh_CN.po nas4free-de.po

update translations

LLVM — llvm/trunk/test/CodeGen/AVR/inline-asm inline-asm.ll inline-asm2.ll

[AVR] Disable integrated assembler for a few tests

Fixes the build.

LLVM — cfe/trunk/lib/CodeGen CGCall.cpp, cfe/trunk/test/CodeGenObjCXX arc-attrs-abi.mm

[CodeGen] Add param info for ctors with ABI args.

This fixes a few assertion failures. Please see the added test case.

LLVM — llvm/trunk/include/llvm/CodeGen ScheduleDAG.h MachineScheduler.h, llvm/trunk/lib/CodeGen MachineScheduler.cpp ScheduleDAG.cpp

[CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor 
fixes (NFC).

LLVM — llvm/trunk/lib/Target/Hexagon HexagonISelLowering.cpp HexagonRegisterInfo.td, llvm/trunk/lib/Target/Hexagon/Disassembler HexagonDisassembler.cpp

[Hexagon] Implement @llvm.readcyclecounter()

FreeBSD Ports — branches/2017Q1/news/nzbget Makefile, branches/2017Q1/news/nzbget/files nzbget.in

MFH: r434648

news/nzbget: rc script improvement

nzbget obeys normal signals. Use them instead of needlessly complicating
the rc script.

PR:                216894
Approved by:        maintainer timeout

Approved by:        ports-secteam (with hat)

FreeBSD Ports — head/news/nzbget Makefile, head/news/nzbget/files nzbget.in

news/nzbget: rc script improvement

nzbget obeys normal signals. Use them instead of needlessly complicating
the rc script.

PR:                216894
Approved by:        maintainer timeout
MFH:                2017Q1

LLVM — llvm/trunk/lib/Target/AMDGPU SIFrameLowering.cpp, llvm/trunk/test/CodeGen/AMDGPU si-sgpr-spill.ll

AMDGPU: Don't add emergency stack slot if all spills are SGPR->VGPR

This should avoid reporting any stack needs to be allocated in the
case where no stack is truly used. An unused stack slot is still
left around in other cases where there are real stack objects
but no spilling occurs.

LLVM — cfe/trunk/include/clang/AST Stmt.h, cfe/trunk/include/clang/Basic DiagnosticSerializationKinds.td

[ODRHash] static_cast and Stmt hashing.

Add support for static_cast in classes.  Add pointer-independent profiling for
Stmt's, sharing most of the logic with Stmt::Profile.  This is the first of the
deep sub-Decl diffing for error messages.

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

LLVM — llvm/trunk/include/llvm/Transforms/Utils PredicateInfo.h, llvm/trunk/lib/Transforms/Scalar NewGVN.cpp

PredicateInfo: Support switch statements

Summary:
Depends on D29606 and D29682

Makes us pass GVN's edge.ll (we also will pass a few other testcases
they just need cleaning up).

Thoughts on the Predicate* hiearchy of classes especially welcome :)
(it's not clear to me how best to organize it, and currently, the getBlock* seems ... 
uglier than maybe wasting a field somewhere or something).

Reviewers: davide

Subscribers: llvm-commits

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