Displaying 1 50 of 246,582 commits (0.022s)

LLVM — cfe/trunk/bindings/python/tests/cindex test_cursor.py test_tokens.py

[libclang] Fix python tests

It was broken in r286421

LLVM — lld/trunk/ELF Target.cpp, lld/trunk/test/ELF i386-pc16.test

[ELF] - Implemented R_386_16 and R_386PC16 relocations

A program or object file using R_386_8, R_386_16, R_386_PC16 or R_386_PC8
relocations is not conformant to latest ABI. The R_386_16, and R_386_8
relocations truncate the computed value to 16 - bits and 8 - bits
respectively. R_386_PC16 and R_386_16 are used by some
applications, for example by FreeBSD loaders.

Previously we did not take addend in account for these relocation,
counting it as 0, what is wrong and was a reason of hangs.

This patch needed for example for FreeBSD pmbr (protective mbr).

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

LLVM — lld/trunk/ELF Writer.cpp, lld/trunk/test/ELF oformat-binary-ttext.s

[ELF] - Change the way how we compute offsets for binary output.

Binary output feature is a bit confuzing. bfd and gold output differs a lot sometimes,
though it is important for FreeBSD mbr loaders.

Patch change the way how we compute file offsets for binary output.
This fixes PR31196.

Previously offsets were calculated basing on offsets and addresses of sections
from the same loads:
if (Sec == First)
  return alignTo(Off, Target->MaxPageSize, Sec->Addr);
return First->Offset + Sec->Addr - First->Addr;

bfd assigns offsets for each section to VA - MinVA:
https://github.com/redox-os/binutils-gdb/blob/master/bfd/binary.c#L27
https://github.com/redox-os/binutils-gdb/blob/master/bfd/binary.c#L255 
(LMA == VA usually)

This patch for now just stops creating phdrs for binary output. 
An effect from this that no any additional calculation for offset is performed:

uintX_t getFileAlignment(uintX_t Off, OutputSectionBase *Sec) {
OutputSectionBase *First = Sec->FirstInPtLoad;
// If the section is not in a PT_LOAD, we have no other constraint.

    [7 lines not shown]

LLVM — lld/trunk/ELF Driver.cpp, lld/trunk/test/ELF relro-omagic.s

[ELF] - Disable relro when -omagic specified.

--omagic is an option to create old-fashioned executables in which
.text segments are writable. Today, the option is still in use to
create special-purpose programs such as boot loaders. It doesn't
make sense to create PT_GNU_RELRO for such executables.

DIfferential revision: https://reviews.llvm.org/D27297

LLVM — llvm/trunk/lib/Target/X86 X86InstrSSE.td, llvm/trunk/test/CodeGen/X86 avx-intrinsics-x86.ll avx2-intrinsics-x86.ll

[X86] Fix VEX encoded VPMADDUBSW to not be marked commutable.

This was accidentallly broken in r285515 when we started lowering the intrinsic to an ISD 
node. Should fix PR31241.

LLVM — llvm/trunk/test/CodeGen/X86 avx2-intrinsics-x86.ll avx-intrinsics-x86.ll

[X86] Add test cases demonstrating where we incorrectly commute VEX VPMADDUSBW due to a 
bug introduced in r285515.

I believe this is the cause of PR31241.

LLVM — libcxx/trunk/test/libcxx/test config.py

Turn off testsuite warnings by default with GCC

LLVM — libcxx/trunk/include exception

Make make_exception_ptr abort with -fno-exceptions
Delta File
+4 -1 libcxx/trunk/include/exception
+4 -1 1 file

LLVM — libcxx/trunk/www cxx1z_status.html

Mark various <variant> items as complete

LLVM — libcxx/trunk/test/libcxx/containers/sequences/vector asan_throw.pass.cpp, libcxx/trunk/test/std/algorithms/alg.modifying.operations/alg.fill fill_n.pass.cpp

Work around more -Wshadow warnings

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

Remove stale comment. NFC.

LLVM — libcxx/trunk/include variant

Fix <variant> w/o exception support
Delta File
+12 -2 libcxx/trunk/include/variant
+12 -2 1 file

LLVM — cfe/trunk/lib/Sema SemaTemplate.cpp, cfe/trunk/test/CodeGenCXX windows-implicit-dllexport-template-specialization.cpp

Sema: delay the DLL exported member referencing

An explicit template specialization can cause the implicit template
specialization of a type which inherits the attributes.  In such a case, we
would end up with a delayed template specialization for a dll exported type
which we would fail to reference.  This would trigger an assertion.

We now propagate the dll storage attributes through the inheritance
chain.  Only after having done so do we reference the delayed template
specializations.  This allows any implicit specializations which inherit dll
storage to also be referenced.

LLVM — llvm/trunk/include/llvm/Analysis TargetTransformInfoImpl.h, llvm/trunk/test/Analysis/CostModel/AArch64 gep.ll

[TTI/CostModel] Correct the way getGEPCost() calls isLegalAddressingMode()

Fix a bug when we call isLegalAddressingMode() from getGEPCost().

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

LLVM — llvm/trunk/lib/Transforms/Instrumentation SanitizerCoverage.cpp

[sanitizer-coverage] use IRB.SetCurrentDebugLocation after IRB.SetInsertPoint

LLVM — llvm/trunk/test/CodeGen/AArch64 loh.mir

testcase only works in a debug build

LLVM — libcxx/trunk/test/std/utilities/meta/meta.rel is_nothrow_callable.pass.cpp

Revert workaround for Clang bug. Thanks to Richard for the quick fix

LLVM — cfe/trunk/lib/AST DeclCXX.cpp, cfe/trunk/test/CXX/dcl.decl/dcl.init p7.cpp

[Sema] Don't perform aggregate initialization for types with explicit constructors

Summary:
The C++17 rules for aggregate initialization changed to disallow types with explicit 
constructors [dcl.init.aggr]p1. This patch implements that new rule.


Reviewers: rsmith

Subscribers: cfe-commits

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

LLVM — libcxx/trunk/include forward_list, libcxx/trunk/test/libcxx/test config.py

Fix -Wshadow warnings and enable warnings by default for C++ >= 11

LLVM — cfe/trunk/include/clang/AST Expr.h, cfe/trunk/include/clang/Sema Sema.h

DR616, and part of P0135R1: member access (or pointer-to-member access) on a
temporary produces an xvalue, not a prvalue. Support this by materializing the
temporary prior to performing the member access.

LLVM — llvm/trunk/docs GettingStarted.rst

[doc] Add .arcconfig setup to the "how to work with a monorepo" section
Delta File
+11 -0 llvm/trunk/docs/GettingStarted.rst
+11 -0 1 file

LLVM — llvm/trunk/lib/Target/AArch64 AArch64CollectLOH.cpp, llvm/trunk/test/CodeGen/AArch64 loh.mir arm64-collect-loh.ll

AArch64CollectLOH: Rewrite as block-local analysis.

Previously this pass was using up to 5% compile time in some cases which
is a bit much for what it is doing. The pass featured a full blown
data-flow analysis which in the default configuration was restricted to a
single block.

This rewrites the pass under the assumption that we only ever work on a
single block. This is done in a single pass maintaining a state machine
per general purpose register to catch LOH patterns.

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

LLVM — llvm/trunk/lib/Target/PowerPC PPCTargetTransformInfo.cpp, llvm/trunk/test/Analysis/CostModel/PowerPC vsr_load_32_64.ll

[ppc] Correctly compute the cost of loading 32/64 bit memory into VSR

VSX has instructions lxsiwax/lxsdx that can load 32/64 bit value into VSX register 
cheaply. That patch makes it known to memory cost model, so the vectorization of the test 
case in pr30990 is beneficial.

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

LLVM — libcxx/trunk/test/libcxx/utilities/variant/variant.variant/variant.assign move.pass.cpp copy.pass.cpp, libcxx/trunk/test/std/utilities/variant/variant.variant/variant.status index.pass.cpp valueless_by_exception.pass.cpp

XFAIL variant tests for apple-clang

LLVM — cfe/trunk/lib/Sema SemaExceptionSpec.cpp, cfe/trunk/test/SemaCXX cxx1z-noexcept-function-type.cpp

PR31244: Use the exception specification from the callee's type directly to
compute whether a call is noexcept, even if we can't map the callee expression
to a called declaration.

LLVM — libcxx/trunk/include memory variant

Fix C++03 build

LLVM — libcxx/trunk/include memory variant, libcxx/trunk/src/experimental/filesystem path.cpp

Make variant's index part of the hash value

LLVM — llvm/trunk/lib/Support TrigramIndex.cpp, llvm/trunk/unittests/Support TrigramIndexTest.cpp SpecialCaseListTest.cpp

Support escaping in TrigramIndex.

Summary:
This is a follow up to r288303, where I have introduced TrigramIndex
to speed up SpecialCaseList for the cases when all rules are
simple wildcards, like *hello*wor.d*.

Here, I add support for escaping, so that it's possible to
specify rules like *c\+\+abi*.

Reviewers: pcc

Subscribers: llvm-commits

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

LLVM — libcxx/trunk/include variant

Fix generated warnings in <variant>
Delta File
+5 -4 libcxx/trunk/include/variant
+5 -4 1 file

LLVM — libcxx/trunk/lib/abi x86_64-apple-darwin16.0.0.abilist

Update darwin ABI list for <variant>

LLVM — libcxx/trunk/lib/abi CHANGELOG.TXT x86_64-unknown-linux-gnu.abilist

Update ABI lists for <variant>

LLVM — llvm/trunk/lib/Fuzzer FuzzerUtilWindows.cpp FuzzerUtil.cpp

Resubmit "[LibFuzzer] Split FuzzerUtil for Posix and Windows."

This resubmits r288529, which was resubmitted because it broke a
fuzzer bot.  According to kcc@ the test that broke was flakey
and it is unlikely to be a result of this patch.

LLVM — cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td DiagnosticParseKinds.td, cfe/trunk/lib/Parse ParseStmtAsm.cpp

More diagnostic name fixups: w_ -> warn_, warning_ -> warn_, not_ -> note_.
In passing, add a warning group for "ignored qualifier in inline assembly" warnings.

LLVM — cfe/trunk/lib/CodeGen ItaniumCXXABI.cpp, cfe/trunk/test/CodeGenCXX windows-itanium-type-info.cpp

CodeGen: export typeinfo and typeinfo name on itanium

When a C++ record is marked with dllexport mark both the typeinfo and the
typeinfo name as being exported.  Handle dllimport as the inverse.  This applies
to the itanium environment and not the MinGW environment.

LLVM — cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td DiagnosticParseKinds.td, cfe/trunk/lib/Parse ParseDecl.cpp

Mass-rename the handful of error_* diagnostics to err_*.

LLVM — libcxx/trunk/test/std/utilities/meta/meta.rel is_nothrow_callable.pass.cpp

Work around a bug in Clang's implementation of noexcept function types

LLVM — lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan TestMemoryHistory.py TestReportData.py

Update test expectations after AddressSanitizer text descriptions changed in r288535.

LLVM — llvm/trunk/lib/Target/Lanai LanaiISelLowering.cpp LanaiISelLowering.h, llvm/trunk/test/CodeGen/Lanai lshift64.ll

[lanai] Custom lowering of SHL_PARTS

Summary: Implement custom lowering of SHL_PARTS to enable lowering of left shift with 
larger than 32-bit shifts.

Reviewers: eliben, majnemer

Subscribers: llvm-commits

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

LLVM — llvm/trunk/include/llvm/IR Constants.h Metadata.h

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

LLVM — libcxx/trunk/test/std/utilities/variant/variant.variant/variant.assign copy.pass.cpp move.pass.cpp

Fix copy/paste errors in new variant tests

LLVM — libcxx/trunk/test/std/utilities/variant/variant.variant/variant.assign copy.pass.cpp move.pass.cpp, libcxx/trunk/test/std/utilities/variant/variant.variant/variant.ctor move.pass.cpp copy.pass.cpp

Add tests for libc++'s constexpr variant copy/move extension

LLVM — lldb/trunk/source/Plugins/InstrumentationRuntime/AddressSanitizer AddressSanitizerRuntime.cpp

Support more report types in AddressSanitizerRuntime.cpp, re-word existing ones.

In r288065, we added more report types into ASan that will be reported via the debugging 
API. This patch in LLDB provides human-friendly bug descriptions. This also improves 
wording on existing bug descriptions.

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

LLVM — cfe/trunk/lib/Sema SemaOverload.cpp

[Sema] Reset a BumpPtrAllocator on clear(). NFC.

Looks like the reset() call was omitted by accident.

LLVM — llvm/trunk/lib/Fuzzer FuzzerUtilWindows.cpp FuzzerUtil.cpp

Revert "[LibFuzzer] Split FuzzerUtil for Posix and Windows."

This reverts commit r288529, as it seems to introduce some
problems on the Linux bots.

LLVM — llvm/trunk/lib/Target/WebAssembly WebAssemblyFrameLowering.cpp

[WebAssembly] Fix a compiler warning. NFC.

Fix a warning about a comparison between signed and unsigned integer
expressions.

LLVM — llvm/trunk/lib/Fuzzer FuzzerExtFunctionsWeakAlias.cpp CMakeLists.txt

[LibFuzzer] Introduce a portable WeakAlias implementation.

Windows doesn't really support weak aliases, but with some
linker magic we can get something that's pretty close on
Windows.  This introduces an interface to accessing weakly
aliased symbols that will work on any platform.  Linker
magic changes to come in a separate patch.

Patch by Marcos Pividori
Differential Revision: https://reviews.llvm.org/D27235

LLVM — llvm/trunk/lib/Fuzzer FuzzerUtilWindows.cpp FuzzerUtil.cpp

[LibFuzzer] Split FuzzerUtil for Posix and Windows.

Pave the way for separating out platform specific
utility functions into separate files.

Patch by Marcos Pividori
Differential Revision: https://reviews.llvm.org/D27234