Displaying 1 50 of 3,710,255 commits (0.155s)

LLVM — lld/trunk/ELF Writer.cpp, lld/trunk/test/elf2 relocations.test

[elf2] Add 32S and 64 relocations (needed for musl).

It wasn't obvious what the assembly was to generate these relocations, so I did the test 
with yaml.

LLVM — lld/trunk/ELF Writer.cpp Chunks.h, lld/trunk/test/elf2 section-align-0.test

[elf2] Correctly handle sections with an alignment of 0. Spec says to treat it as an 
alignment of 1.

FreeBSD Ports — head/devel/llvm37 Makefile, head/devel/llvm37/files clang-patch-fformat_extensions.diff

Accept -fformat-extensions as a no-op flag to clang.

Submitted by:        Sender Ghost <lightside at gmx.com>

FreeBSD — head/usr.sbin Makefile sesutil, head/usr.sbin/sesutil sesutil.c sesutil.8

Add a new sesutil(8) utility

This is an utility for managing SCSI Enclosure Services (SES) device.

For now only one command is supported "locate" which will change the test of the
external LED associated to a given disk.

Usage if the following:
sesutil locate disk [on|off]

Disk can be a device name: "da12" or a special keyword: "all".

Reviewed by:        mav
MFC after:        1 month
Relnotes:        yes
Sponsored by:        gandi.net
Differential Revision:        https://reviews.freebsd.org/D3544
Delta File
+225 -0 head/usr.sbin/sesutil/sesutil.c
+73 -0 head/usr.sbin/sesutil/sesutil.8
+6 -0 head/usr.sbin/sesutil/Makefile
+1 -0 head/usr.sbin/Makefile
+0 -0 head/usr.sbin/sesutil/
+305 -0 5 files

LLVM — llvm/trunk/lib/Target/PowerPC PPCISelDAGToDAG.cpp, llvm/trunk/test/CodeGen/PowerPC rlwimi-and-or-bits.ll

[PowerPC] Fix and(or(x, c1), c2) -> rlwimi generation

PPCISelDAGToDAG has a transformation that generates a rlwimi instruction from
an input pattern that looks like this:

  and(or(x, c1), c2)

but the associated logic does not work if there are bits that are 1 in c1 but 0
in c2 (these are normally canonicalized away, but that can't happen if the 'or'
has other users. Make sure we abort the transformation if such bits are

Fixes PR24704.

LLVM — llvm/trunk/lib/Transforms/Utils SimplifyCFG.cpp

Fix build warning

LLVM — llvm/trunk/utils/lit/lit TestingConfig.py

Fix passed env var name in lit for Android tests.

The variable is actually called ANDROID_SERIAL.
This was not exercised on the bots until today.
Should fix the sanitizer-x86_64-linux failures.

LLVM — llvm/trunk/test/Transforms/SimplifyCFG empty-cleanuppad.ll

Fixing bad test syntax.

SmartOS — man/man/man1m zonememstat.1m, overlay/generic/usr/sbin zonememstat

OS-4413 zonememstat "total" row and output headers

FreeBSD Ports — head/devel/lldb37 distinfo Makefile, head/lang/clang-devel distinfo Makefile

Remove stray distinfo from clang and lldb metaports.

Reported by:        pluknet

LLVM — llvm/trunk/lib/Transforms/Utils SimplifyCFG.cpp, llvm/trunk/test/Transforms/SimplifyCFG empty-cleanuppad.ll

[WinEH] Teach SimplfyCFG to eliminate empty cleanup pads.

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

LLVM — libcxx/trunk/docs index.rst

Test commit for sphinx docs try2
Delta File
+1 -0 libcxx/trunk/docs/index.rst
+1 -0 1 file

LLVM — lldb/trunk/test/tools/lldb-mi/breakpoint TestMiBreak.py

[TestMiBreak] Replace expectedFlakeyLinux with an appropriate expectedFailureAll

Reviewers: chaoren

Subscribers: lldb-commits

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

LLVM — libcxx/trunk TODO.TXT

Test commit to see if libcxx.llvm.org/docs builds
Delta File
+1 -1 libcxx/trunk/TODO.TXT
+1 -1 1 file

LLVM — lld/trunk/ELF Writer.cpp

[elf2] Fix include order.
Delta File
+1 -2 lld/trunk/ELF/Writer.cpp
+1 -2 1 file

LLVM — cfe/trunk/lib/AST ExprConstant.cpp, cfe/trunk/test/CodeGen object-size.cpp

Fix a bug in __builtin_object_size cast removal

Apparently there are many cast kinds that may cause implicit pointer
arithmetic to happen. In light of this, the cast ignoring logic
introduced in r246877 has been changed to only ignore a small set of
cast kinds, and a test for this behavior has been added.

Thanks to Richard for catching this before it became a bug report. :)

LLVM — cfe/trunk/test/CodeGenCXX partial-init.cpp

Relax partial-init test case for ARM

LLVM — llvm/trunk/lib/Fuzzer FuzzerTraceState.cpp

[libFuzzer] more accurate logic for traces, 80-char fix

LLVM — lldb/trunk/source/Plugins/SymbolFile/DWARF SymbolFileDWARF.cpp

Check for null compile unit so we don't crash.

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

[elf2] Add basic archive file support.

LLVM — lldb/trunk/scripts/Python python-typemaps.swig

Convert "long" input to "long long" in typemap for lldb::tid_t.

Summary: lldb::tid_t is 64 bit, but "long" need not always be 64 bit.

Reviewers: chying, clayborg

Subscribers: lldb-commits

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

HardenedBSD — bin/setfacl setfacl.1

HBSD: Fix merge conflict
Delta File
+0 -4 bin/setfacl/setfacl.1
+0 -4 1 file

FreeNAS — gui/storage views.py

Populate VolumeManager disks from new middleware.
Delta File
+6 -4 gui/storage/views.py
+6 -4 1 file

FreeNAS — gui/storage forms.py

Convert MountPointAccessForm to use new middleware.
Delta File
+63 -21 gui/storage/forms.py
+63 -21 1 file

HardenedBSD — bin/setfacl setfacl.1

HBSD: fix merge conflict in bin/setfacl/setfacl.1

Signed-off-by: Oliver Pinter <oliver.pinter at hardenedbsd.org>
Delta File
+0 -4 bin/setfacl/setfacl.1
+0 -4 1 file

FreeBSD Ports — head/audio/gnome-music Makefile distinfo

Update gnome-music to 3.16.2.

Obtained from:        gnome devel repo

FreeBSD Ports — head/sysutils/gnome-control-center Makefile

Drop unneeded gnomemenus3 dependancy.

Obtained from:        gnome devel repo

FreeBSD Ports — head/net/geoclue Makefile distinfo

Update geoclue to 2.2.0.

Obtained from:        gnome devel repo

FreeBSD Ports — head/graphics/libgxps pkg-plist Makefile

Update libgxps to

Obtained from:        gnome devel repo

FreeBSD Ports — head/lang/vala Makefile distinfo

Update vala to 0.28.1.

Obtained from:        gnome devel repo

LLVM — lldb/trunk/include/lldb/DataFormatters FormatManager.h DataVisualization.h, lldb/trunk/source/Commands CommandObjectType.cpp

Add a --language (-l) option to type category {enable|disable} to allow people to turn on 
and off formatters for a given language

LLVM — cfe/trunk/lib/CodeGen CodeGenModule.cpp, cfe/trunk/test/Sema attr-self-alias.c

Don't crash on a self-alias declaration

We were crashing in CodeGen given input like this:

  int self_alias(void) __attribute__((weak, alias("self_alias")));

such a self-alias is invalid, but instead of diagnosing the situation, we'd
proceed to produce IR for both the function declaration and the alias. Because
we already had a function named 'self_alias', the alias could not be named the
same thing, and so LLVM would pick a different name ('self_alias1' for example)
for that value. When we later called CodeGenModule::checkAliases, we'd look up
the IR value corresponding to the alias name, find the function declaration
instead, and then assert in a cast to llvm::GlobalAlias. The easiest way to prevent
this is simply to avoid creating the wrongly-named alias value in the first
place and issue the diagnostic there (instead of in checkAliases). We detect a
related cycle case in CodeGenModule::EmitAliasDefinition already, so this just
adds a second such check.

Even though the other test cases for this 'alias definition is part of a cycle'
diagnostic are in test/Sema/attr-alias-elf.c, I've added a separate regression
test for this case. This is because I can't add this check to
test/Sema/attr-alias-elf.c without disturbing the other test cases in that
file. In order to avoid construction of the bad IR values, this diagnostic
is emitted from within CodeGenModule::EmitAliasDefinition (and the relevant
declaration is not added to the Aliases vector). The other cycle checks are

    [6 lines not shown]

LLVM — cfe/trunk/lib/Frontend FrontendAction.cpp, cfe/trunk/test/PCH pch-dir.c

Fix crash on invalid if we can't find a suitable PCH file in a specified
directory, and our frontend action cares whether the frontend setup actually

LLVM — cfe/trunk/lib/CodeGen CGExprAgg.cpp, cfe/trunk/test/CodeGenCXX partial-init.cpp

Don't use unreachable as a placeholder, it confuses EmitBlock

This fixes an issue raised in D12412, where we generated invalid IR.

Thanks to Vedant Kumar for coming up with the initial work around.

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

LLVM — lld/trunk/COFF ICF.cpp Chunks.h

COFF: Implement a better algorithm for ICF.

Identical COMDAT Folding is a feature to merge COMDAT sections
by contents. Two sections are considered the same if their contents,
relocations, attributes, etc, are all the same.

An interesting fact is that MSVC linker takes "iterations" parameter
for ICF because the algorithm they are using is iterative. Merging
two sections could make more sections to be mergeable because
different relocations could now point to the same section. ICF is
repeated until we get a convergence (until no section can be merged).
This algorithm is not fast. Usually it needs three iterations until a
convergence is obtained.

In the new algorithm implemented in this patch, we consider sections
and relocations as a directed acyclic graph, and we try to merge
sections whose outdegree is zero. Sections with outdegree zero are then
removed from the graph, which makes  other sections to have outdegree
zero. We repeat that until all sections are processed. In this
algorithm, we don't iterate over the same sections many times.

There's an apparent issue in the algorithm -- the section graph is
not guaranteed to be acyclic. It's actually pretty often cyclic.
So this algorithm cannot eliminate all possible duplicates.
That's OK for now because the previous algorithm was not able to
eliminate cycles too. I'll address the issue in a follow-up patch.
Delta File
+37 -15 lld/trunk/COFF/ICF.cpp
+2 -0 lld/trunk/COFF/Chunks.h
+39 -15 2 files

FreeBSD Ports — head/sysutils/zfs-snapshot-mgmt pkg-plist Makefile

- Switch to @sample

FreeBSD Ports — head/audio/gmpc-libnotify Makefile

- Strip library

FreeBSD Ports — head/x11-wm/fvwm-crystal Makefile

- Switch to options helpers

Approved by:        portmgr blanket
Delta File
+3 -6 head/x11-wm/fvwm-crystal/Makefile
+3 -6 1 file

FreeBSD Ports — head/multimedia/gmerlin Makefile

- Switch to options helpers
- Drop 8.x support
Delta File
+2 -10 head/multimedia/gmerlin/Makefile
+2 -10 1 file

FreeBSD Ports — head/x11-wm/qtile Makefile

- Switch to options helpers

Approved by:        portmgr blanket
Delta File
+3 -5 head/x11-wm/qtile/Makefile
+3 -5 1 file

FreeBSD Ports — head/x11-clocks/wmcalclock Makefile

- Switch to options helpers

Approved by:        portmgr blanket

FreeBSD Ports — head/audio/gmpc-lyrics Makefile

- Strip library
Delta File
+5 -1 head/audio/gmpc-lyrics/Makefile
+5 -1 1 file

FreeBSD Ports — head/x11/rxvt Makefile

- Drop 8.x support

Approved by:        portmgr blanket
Delta File
+3 -11 head/x11/rxvt/Makefile
+3 -11 1 file

FreeBSD Ports — head/mail/fetchmail Makefile pkg-plist

- Switch to options helpers
- Switch to @sample

Approved by:        portmgr blanket

FreeBSD Ports — head/net/pfinger Makefile pkg-plist

- Switch to options helpers
- Drop 8.x support

FreeBSD Ports — head/x11/aterm Makefile

- Drop 8.x support

Approved by:        portmgr blanket
Delta File
+2 -10 head/x11/aterm/Makefile
+2 -10 1 file

FreeBSD Ports — head/audio/gmpc-lyricwiki Makefile

- Strip library

LLVM — cfe/trunk/lib/AST ExprConstant.cpp, cfe/trunk/test/CodeGen object-size.c

Increase accuracy of __builtin_object_size.


- For all types, we would give up in a case such as:
    __builtin_object_size((char*)&foo, N);
  even if we could provide an answer to
    __builtin_object_size(&foo, N);
  We now provide the same answer for both of the above examples in all

- For type=1|3, we now support subobjects with unknown bases, as long
  as the designator is valid.

Thanks to Richard Smith for the review + design planning.

Review: http://reviews.llvm.org/D12169

LLVM — lldb/trunk/source/DataFormatters CXXFunctionPointer.cpp, lldb/trunk/source/Plugins/Language/CPlusPlus CPlusPlusLanguage.cpp

Never mind, I see what the problem is on the Windows build. Attempt a fix

FreeBSD Ports — head/devel/ccache Makefile distinfo, head/devel/ccache/files patch-configure.ac patch-configure