Displaying 1 50 of 4,411,823 commits (0.215s)

LLVM — cfe/trunk/lib/Serialization ASTReader.cpp, cfe/trunk/test/Modules implicit-build-config-out-of-date.m

[Modules] Early-exit if ReadOptionsBlock fails to avoid crashing

If we didn't tell ReadOptionsBlock to allow failures then we can't
assume that the stream is not in the middle of a block if it returns
out-of-date. This was causing a crash when we tried to continue reading.

Also, it's just generally a good idea to early-exit if we're doing
implicit module builds, since we will want to immediately rebuild this
module anyway and there's no reason to waste time continuing after


LLVM — llvm/trunk/include/llvm/CodeGen/GlobalISel MachineIRBuilder.h IRTranslator.h, llvm/trunk/include/llvm/Target TargetLowering.h

[GlobalISel] Teach the IRTranslator how to lower returns.

FreeBSD — head/share/examples/jails VIMAGE README

Add example VIMAGE config required by vnet jails

FreeBSD — head/sys/netinet sctp_sysctl.c

Use 4 spaces instead of a tab.
Delta File
+4 -4 head/sys/netinet/sctp_sysctl.c
+4 -4 1 file

LLVM — llvm/trunk/lib/Target/AMDGPU SIInstrInfo.td SIInstructions.td, llvm/trunk/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp

[AMDGPU] Fix for "v_div_scale_f64 reg, vcc, ..." parsing

Added support for "VOP3Only" attribute in VOP3bInst encoding.
Set VOP3Only=1 for V_DIV_SCALE_F64/32 insns.
Added support for multi-dest instructions in AMDGPUAs::cvt*().
Added lit test for "V_DIV_SCALE_F64|F32 vreg,vcc|sreg,vreg,vreg,vreg".

Reviewers: tstellarAMD, arsenm

Subscribers: arsenm, SamWot, nhaustov, vpykhtin

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

Patch By: Artem Tamazov

LLVM — lldb/trunk/source/Plugins/Process/Windows/Common/x86 RegisterContextWindows_x86.cpp RegisterContextWindows_x86.h

Improve ReadRegister for RegisterContextWindowsx86

In some circumstances (notably, certain minidumps), the thread CONTEXT does not have 
values for the
control registers (EIP, ESP, EBP, EFLAGS).  There are flags in the CONTEXT which indicate 
portions are valid, but those flags weren't checked.  The old code would not detect this 
and give a
garbage value for the register.  The new code will log the problem and return an error.

I consolidated the error checking and logging into a helper function, which makes the big 
statement easier to read and verify.

Ran tests to ensure this doesn't break anything.  Manually verified that a minidump 
without info on
the control registers now indicates the problem instead of giving bad information.

Differential Review: http://reviews.llvm.org/D17152

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

[GlobalISel] Add a type to MachineInstr.
We actually need that information only for generic instructions, therefore it
would be nice not to have to pay the extra memory consumption for all
instructions. Especially because a typed non-generic instruction does not make

The question is then, is it possible to have that information in a union or
My initial thought was that we could have a derived class GenericMachineInstr
with additional information, but in practice it makes little to no sense since
generic MachineInstrs are likely turned into non-generic ones by just switching
the opcode. In other words, we don't want to go through the process of creating
a new, non-generic MachineInstr, object each time we do this switch. The memory
benefit probably is not worth the extra compile time.

Another option would be to keep the type of the MachineInstr in a side table.
This would induce an extra indirection though.

Anyway, I will file a PR to discuss about it and remember we need to come back
to it at some point.

LLVM — llvm/trunk/lib/Target/NVPTX NVPTXAsmPrinter.cpp, llvm/trunk/test/CodeGen/NVPTX debug-file-loc.ll

[NVPTX] emit .file directives for files referenced by subprograms.

.. so .loc directives referring to those files work correctly.

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

LLVM — libcxx/trunk/include unordered_map, libcxx/trunk/test/std/containers/unord/unord.map/unord.map.elem index.pass.cpp index_tuple.pass.cpp

Revert r260514 because it has a bogus commit message.

LLVM — cfe/trunk/lib/Basic Targets.cpp, cfe/trunk/lib/Driver Tools.cpp

[Driver] Add support for Qualcomm's Kryo CPU.


FreeBSD — head/sys/arm/conf PANDABOARD VIRT

Enable ARM_INTRNG on all kernel configs where we use the Generic Interrupt

Sponsored by:        ABT Systems Ltd

FreeBSD — stable/10/sys/boot/efi/boot1 boot1.c

MFC r294768:

Process /boot/config and /boot.config during EFI boot

Approved by:        re (marius)
Sponsored by:        Multiplay
Delta File
+37 -1 stable/10/sys/boot/efi/boot1/boot1.c
+37 -1 1 file

LLVM — llvm/trunk/include/llvm/CodeGen Passes.h, llvm/trunk/lib/CodeGen LLVMTargetMachine.cpp

[GlobalISel] Add a hook in TargetConfigPass to run GlobalISel.

FreeBSD — stable/10/sys/boot/efi Makefile, stable/10/sys/boot/efi/libefi Makefile

Fix ia64 build failures in EFI platform

The MFC of the recent EFI work to stable/10 caused build breakage
under ia64.

It was not apparent that there was EFI code outside the EFI tree as
this is not the case in HEAD, however in stable/10 there is for ia64.

This change does the following:
* Re-enables libefi for ia64 under gcc.
* Adds the ignore for unsupported pragma's when building libefi for ia64.
* Adds the missing parameter to efi_handle_lookup in the ia64 loader.

This is a direct commit as ia64 is no longer supported after 10.x

Approved by:        re (marius)
Sponsored by:        Multiplay

FreeBSD — stable/10/lib/libdevctl devctl.3, stable/10/usr.sbin/devctl devctl.8

MFC 295174:
- Note that devctl(8) will appear in 10.3 first.
- Add missing devctl_set_driver entry to namelist in devlist(3).

Approved by:        re (gjb)

LLVM — cfe/trunk/lib/Tooling/Core QualTypeNames.cpp

Remove unused includes

LLVM — llvm/trunk/include/llvm/CodeGen/GlobalISel IRTranslator.h, llvm/trunk/lib/CodeGen/GlobalISel IRTranslator.cpp

[GlobalISel][IRTranslator] Change the ownership of the MIRBuilder field.

LLVM — llvm/trunk/lib/CodeGen/GlobalISel IRTranslator.cpp

[GlobalISel][IRTranslator] Fix a typo in assert.

LLVM — llvm/trunk/include/llvm/CodeGen/GlobalISel IRTranslator.h Types.h, llvm/trunk/lib/CodeGen/GlobalISel IRTranslator.cpp

[GlobalISel][IRTranslator] Teach the pass how to translate Add instructions.

LLVM — cfe/trunk/lib/AST VTableBuilder.cpp MicrosoftMangle.cpp, cfe/trunk/lib/CodeGen MicrosoftCXXABI.cpp CGVTables.cpp

Revert "Revert r260388 "[MS ABI] Never reference dllimport'd vtables""

This reverts commit r260449.

We would supress our emission of vftable definitions if we thought
another translation unit would provide the definition because we saw an
explicit instantiation declaration.  This is not the case with
dllimport, we want to synthesize a definition of the vftable regardless.

This fixes PR26569.

FreeBSD — head/lib/libfetch http.c

Fix double-free error: r289419 moved all error handling in http_connect()
to the end of the function, but did not remove a fetch_close() call which
was made redundant by the one in the shared error-handling code.

PR:                206774
Submitted by:        Christian Heckendorf <heckendorfc at gmail.com>
MFC after:        3 days
Delta File
+0 -1 head/lib/libfetch/http.c
+0 -1 1 file

LLVM — llvm/trunk/include/llvm/CodeGen/GlobalISel MachineIRBuilder.h, llvm/trunk/lib/CodeGen/GlobalISel MachineIRBuilder.cpp CMakeLists.txt

[GlobalISel] Add a MachineIRBuilder class.
Helper class to build machine instrs. This is a higher abstraction
than MachineInstrBuilder.

FreeBSD Ports — head/lang/phantomjs Makefile

Add explicit USES=gperf
Delta File
+1 -1 head/lang/phantomjs/Makefile
+1 -1 1 file

FreeBSD — head/contrib/unbound Makefile.in, head/contrib/unbound/doc example.conf.in example.conf

Use the new insecure-lan-zones option instead of listing each AS112 zone

MFC after:        3 days

FreeBSD — stable/10/sys/dev/ixgbe if_ix.c ixgbe.h

MFC r294795

ixgbe sysctl hardware defaults

Approved by:        re (marius)
Sponsored by:        Multiplay

FreeBSD — head ObsoleteFiles.inc, head/tools/build/mk OptionalObsoleteFiles.inc

Remove unbound-contrl-setup since we use a local control socket which
does not require keys.

MFC after:        3 days
Relnotes:        yes

FreeBSD — head/sys/dev/nvme nvme_ctrlr.c

nvme: avoid duplicate SET_NUM_QUEUES commands

nvme(4) issues a SET_NUM_QUEUES command during device
initialization to ensure enough I/O queues exists for each
of the MSI-X vectors we have allocated.  The SET_NUM_QUEUES
command is then issued again during nvme_ctrlr_start(), to
ensure that is properly set after any controller reset.

At least one NVMe drive exists which fails this second
SET_NUM_QUEUES command during device initialization.  So
change nvme_ctrlr_start() to only issue its SET_NUM_QUEUES
command when it is coming out of a reset - avoiding the
duplicate SET_NUM_QUEUES during device initialization.

Reported by:        gallatin
MFC after:        3 days
Sponsored by:        Intel
Delta File
+10 -8 head/sys/dev/nvme/nvme_ctrlr.c
+10 -8 1 file

FreeBSD — stable/10/sys/boot/common load_elf.c

MFC r295356 (Partial)

Fix EFI platform build failures on arm.armeb

Approved by:        re (marius)
Sponsored by:        Multiplay

SmartOS — src/node-zsock/src zsock.c

stop ignoring errors on zone_enter
Delta File
+0 -3 src/node-zsock/src/zsock.c
+0 -3 1 file

FreeBSD — vendor/unbound/dist Makefile.in, vendor/unbound/dist/doc example.conf.in unbound.conf.5.in

Apply upstream r3619, r3620, r3621: add insecure-lan-zone option

FreeBSD Ports — head/graphics/py-imaging Makefile

Deprecate and expire in 1 month.

No ports currently depend on graphics/py-imaging, and graphics/py-pillow tracks
the fork that is actually being maintained (PIL's last release is from 2009).

PR:                207111
Approved by:        mainland at apeiron.net (maintainer)
Delta File
+3 -0 head/graphics/py-imaging/Makefile
+3 -0 1 file

OPNsense — src/etc/inc openvpn.inc, src/www vpn_openvpn_csc.php vpn_openvpn_server.php

    (legacy / openvpn) bind OpenVPN Client Specific Override to server(s)
    fix for https://github.com/opnsense/core/issues/296
    and  https://github.com/opnsense/core/issues/347
    when no servers are selected, all still apply, which should keep current 
configurations valid.

LLVM — lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime RenderScriptRuntime.cpp

[Renderscript] Fix typo in mips64 argument reading code.

A typo in the mips64 argument reading code would cause register passed arguments to be 
truncated to 32bits.

LLVM — llvm/trunk/include/llvm/ADT Triple.h, llvm/trunk/lib/Support Triple.cpp

[lanai] Add Lanai triple.

Add triple for the Lanai backend.

General Lanai backend discussion on llvm-dev thread "[RFC] Lanai backend".

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

FreeBSD Ports — branches/2016Q1/graphics/py-imaging Makefile, branches/2016Q1/graphics/py-imaging/files patch-libImaging-PcdDecode.c patch-CVE-2016-0775

MFH: r408690

Backport two Pillow security fixes.

Pillow 3.1.1 was released a few days ago [1], and some of the security fixes
in that release also apply to PIL:

* https://github.com/python-pillow/Pillow/commit/bcaaf97f4ff25b3b5b9e8efeda364e17e80858ec
* https://github.com/python-pillow/Pillow/commit/ae453aa18b66af54e7ff716f4ccb33adca60afd4

[1] https://pillow.readthedocs.org/en/3.1.x/releasenotes/3.1.1.html

PR:                207054
Approved by:        mainland at apeiron.net (maintainer)
Security:        a8de962a-cf15-11e5-805c-5453ed2e2b49
Security:        6ea60e00-cf13-11e5-805c-5453ed2e2b49
Security:        CVE-2016-0775

Approved by:        portmgr blanket approval

LLVM — llvm/trunk/test/Transforms/InstSimplify compare.ll

Add a test case to show isKnownNonZero() returns correctly; NFC

Added a test case just to make sure that isKnownNonZero() returns false
when we cannot guarantee that a ConstantExpr is a non-zero constant.

Reviewers: sanjoy, majnemer, mcrosier, nlewycky

Subscribers: nlewycky, mssimpso, mcrosier, llvm-commits

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

FreeBSD Ports — head/graphics/py-imaging Makefile, head/graphics/py-imaging/files patch-libImaging-PcdDecode.c patch-CVE-2016-0775

Backport two Pillow security fixes.

Pillow 3.1.1 was released a few days ago [1], and some of the security fixes
in that release also apply to PIL:

* https://github.com/python-pillow/Pillow/commit/bcaaf97f4ff25b3b5b9e8efeda364e17e80858ec
* https://github.com/python-pillow/Pillow/commit/ae453aa18b66af54e7ff716f4ccb33adca60afd4

[1] https://pillow.readthedocs.org/en/3.1.x/releasenotes/3.1.1.html

PR:                207054
Approved by:        mainland at apeiron.net (maintainer)
Security:        a8de962a-cf15-11e5-805c-5453ed2e2b49
Security:        6ea60e00-cf13-11e5-805c-5453ed2e2b49
Security:        CVE-2016-0775

FreeBSD — head/sys/net route.c, head/sys/netinet in_rmx.c

Merge SVN r295220 (bz) from projects/vnet/

Fix a panic that occurs when a vnet interface is unavailable at the time the
vnet jail referencing said interface is stopped.

Sponsored by:        FIS Global, Inc.

LLVM — cfe/trunk/lib/Basic Module.cpp, cfe/trunk/lib/Serialization ASTReader.cpp

[Modules] Don't infinite recurse  on implicit import of circular modules in preamble

Update the Preprocessor's VisibleModuleSet when typo-correction creates
an implicit module import so that we won't accidentally write an invalid
SourceLocation into the preamble AST.  This would later lead to infinite
recursion when loading the preamble AST because we use the value in
ImportLocs to prevent visiting a module twice.


FreeBSD — stable/10/sys/dev/ixgbe ixgbe_osdep.h ixgbe_x550.c

MFC r294734, r295093 & r295094 ixgbe fixes

MFC r294734
Fix ixgbe compliation with DBG 1

MFC r295093
Configure ixgbe phy & gbic power

MFC r295094
Fix ixgbe flow control autoneg reporting

Approved by:        re (marius)
Sponsored by:        Multiplay

LLVM — cfe/trunk/test/Preprocessor init.c

Use new --match-full-lines FileCheck feature for Preprocessor/init.c.

This required fixing a few check lines which had omitted trailing
characters, and were passing incorrectly (e.g., asserting that
__UINT64_C_SUFFIX__ is "UL" instead of the "ULL" that it actually is set
to). All were obviously broken tests, not broken code.
Delta File
+1,008 -1,008 cfe/trunk/test/Preprocessor/init.c
+1,008 -1,008 1 file

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

Fixed typo in r260530

LLVM — llvm/trunk/docs/CommandGuide FileCheck.rst, llvm/trunk/utils/FileCheck FileCheck.cpp

Add -match-full-lines argument to FileCheck.

This is useful for some tests where more-exact matching is useful, such
as clang's Preprocessor tests.

LLVM — llvm/trunk/lib/Target/X86 X86OptimizeLEAs.cpp, llvm/trunk/test/CodeGen/X86 lea-opt.ll

Revert r260507: "[X86] Enable the LEA optimization pass by default."

This caused PR26575.

FreeBSD — head/sys/mips/mips nexus.c

Include the correct header to get a phandle_t needed by ofw_bus_if.h. While
here only include opt_platform.h once.

Sponsored by:        ABT Systems Ltd
Delta File
+1 -3 head/sys/mips/mips/nexus.c
+1 -3 1 file

LLVM — cfe/trunk/test lit.cfg, cfe/trunk/test/Frontend plugins.c

Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows"

It doesn't work, at least, i686-win32.

FreeBSD — stable/10/sys/dev/sfxge sfxge.c, stable/10/sys/dev/sfxge/common efx_mcdi.c efx_phy.c

MFC r295467

sfxge: implement SIOCGI2C to read information from phy modules

The IOCTL is used by 'ifconfig -v' to show SFP+/QSFP+ information
including inventory information and dianostics (temperature, light
levels, voltage etc).

Reviewed by:    gnn,melifaro
Approved by:    re (gjb)
Sponsored by:   Solarflare Communications, Inc.

FreeBSD — stable/10/sys/dev/ixgbe if_ix.c

Revert sysctl description change introduced in r295008 to correctly
reflect the maximum number of queues supported (8) by this driver.

Submitted by:        jwd
Reviewed by:        erj
Approved by:        re (gjb)
Sponsored by:        Intel Corporation and Limelight Networks
Delta File
+2 -1 stable/10/sys/dev/ixgbe/if_ix.c
+2 -1 1 file

LLVM — cfe/trunk/docs ClangPlugins.rst, cfe/trunk/examples/PrintFunctionNames PrintFunctionNames.cpp

Revert r260265, "clang-cl: Support loading plugins on Windows"

It causes memory exhaust on mingw-w64(x64). Investigating.

OPNsense — src/www system_usermanager.php

(legacy) keep "Effective Privileges" hidden for new user
Delta File
+1 -1 src/www/system_usermanager.php
+1 -1 1 file