Displaying 1 50 of 197,121 commits (0.200s)

LLVM — llvm/trunk/lib/ExecutionEngine/Orc IndirectionUtils.cpp, llvm/trunk/test/ExecutionEngine/OrcLazy private_linkage.ll

[Orc] Fix local-linkage handling in the CompileOnDemand layer.

LLVM — lldb/trunk/source/Plugins/ObjectFile/Mach-O ObjectFileMachO.cpp

Handle LC_ENCRYPTION_64 in addition to LC_ENCRYPTION load commands in
Mach-O files.
<rdar://problem/20113673>

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

[gcroot] Remove unused items from an enum

These two were never implemented for gcroot, so there's no point in keeping them around 
now.

LLVM — llvm/trunk/lib/CodeGen GCRootLowering.cpp, llvm/trunk/test/CodeGen/X86/GC dynamic-frame-size.ll

Teach gcroot how to handle dynamically realigned frames

I'm playing with supporting custom stack map formats with statepoints.  While 
doing so, I noticed that the existing implementation didn't indicate inherently 
unsized frames.  This change essentially just ports the functionality that already 
exists for the default StackMaps section to custom stackmaps.

LLVM — llvm/trunk/include/llvm/ADT DenseMap.h

[ADT] Increment epoch from DenseMap::swap.

Swapping DenseMap A with DenseMap B invalidates iterators pointing into
both A and B.

LLVM — llvm/trunk/include/llvm/ADT DenseMap.h

[ADT] Remove dead code.

Nothing is using DenseMapBase::swap.  Besides it does not compile in its
current form.

LLVM — llvm/trunk/test/Analysis/LoopAccessAnalysis backward-dep-different-types.ll unsafe-and-rt-checks.ll

[LoopAccesses] Remove unused global variables in tests

LLVM — lldb/trunk/source/Symbol DWARFCallFrameInfo.cpp CompactUnwindInfo.cpp

Add a tiny bit of hardening to the eh_frame and compact unwind parsing.
When we're seeing offsets that exceed the size of our section, don't 
try to use that unwind info.
<rdar://problem/20113673>

LLVM — llvm/trunk/include/llvm/ExecutionEngine/Orc ExecutionUtils.h, llvm/trunk/lib/ExecutionEngine/Orc ExecutionUtils.cpp CMakeLists.txt

[Orc] Add support classes for inspecting and running C++ static ctor/dtors, and
use these to add support for C++ static ctors/dtors to the Orc-lazy JIT in LLI.

Replace the trivial_retval_1 regression test - the new 'hello' test is covering
strictly more code.

LLVM — llvm/trunk/lib/MC MCSubtargetInfo.cpp

Don't print an error message when looking up the scheduling model if user specified 
-mcpu=help.

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

Fix a bug indicated by -fsanitize=shift-exponent.

LLVM — cfe/trunk/docs ControlFlowIntegrity.rst UsersManual.rst, cfe/trunk/include/clang/Basic Sanitizers.def

Implement CFI type checks for non-virtual calls.

This uses the same class metadata currently used for virtual call and
cast checks.

The new flag is -fsanitize=cfi-nvcall. For consistency, the -fsanitize=cfi-vptr
flag has been renamed -fsanitize=cfi-vcall.

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

LLVM — llvm/branches/release_36/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/branches/release_36/test/CodeGen/X86 dag-optnone.ll fastmath-optnone.ll

Merging r233153 and r233584:
------------------------------------------------------------------------
r233153 | probinson | 2015-03-24 17:10:24 -0700 (Tue, 24 Mar 2015) | 7 lines

'optnone' should not disable DAG combiner.

Reverts the code change from r221168 and the relevant test.
It was a mistake to disable the combiner, and based on the ultimate
definition of 'optnone' we shouldn't have considered the test case
as failing in the first place.

------------------------------------------------------------------------
r233584 | probinson | 2015-03-30 12:37:44 -0700 (Mon, 30 Mar 2015) | 9 lines

Verify 'optnone' can run DAG combiner when appropriate.

Adds a test to verify the behavior that r233153 restored: 'optnone'
does not spuriously disable the DAG combiner, and in fact there are
cases where the DAG combiner must run (even at -O0 or 'optnone') in
order for codegen to succeed.

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

------------------------------------------------------------------------

LLVM — llvm/trunk/include/llvm/IR Instruction.h

Mark this inline properly

LLVM — llvm/trunk/include/llvm/IR Instruction.h BasicBlock.h, llvm/trunk/lib/IR Instruction.cpp

Return iterator from Instruction::eraseFromParent.

Summary:
This is necessary in order to make removal while using reverse iterators work.

(See http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-March/084122.html)

Updates to other eraseFromParent's to come in later patches.

Reviewers: chandlerc

Subscribers: llvm-commits

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

LLVM — lldb/trunk/include/lldb/Expression ClangExpressionParser.h

Remove the unused m_ast_context member of ClangExpressionParser.

Test Plan: Build LLDB.

Reviewers: spyffe

Subscribers: lldb-commits

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

LLVM — cfe/trunk/test/Sema pragma-section-invalid.c

Add test intended for commit in r231317

LLVM — cfe/trunk/lib/Driver Tools.cpp ToolChains.cpp, cfe/trunk/test/Driver sanitizer-ld.c

[UBSan] Embed UBSan into ASan runtime (Clang part).

Summary:
Change the way we use ASan and UBSan together. Instead of keeping two
separate runtimes (libclang_rt.asan and libclang_rt.ubsan), embed UBSan
into ASan and get rid of libclang_rt.ubsan. If UBSan is not supported on
a platform, all UBSan sources are just compiled into dummy empty object
files. UBSan initialization code (e.g. flag parsing) is directly called
from ASan initialization, so we are able to enforce correct
initialization order.

This mirrors the approach we already use for ASan+LSan. This change doesn't
modify the way we use standalone UBSan.

Test Plan: regression test suite

Reviewers: kubabrecka, zaks.anna, kcc, rsmith

Subscribers: cfe-commits

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

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

Fixed a bug where we didn't return a value from a
lambda in SymbolFileDWARFDebugMap.

<rdar://problem/20261196>

LLVM — llvm/trunk/utils/TableGen RegisterInfoEmitter.cpp

TableGen: Generate more const goodness

LLVM — lldb/tags/google/testing 2015-04-01

Creating tags/google/testing/2015-04-01 from r220284
Delta File
+0 -0 lldb/tags/google/testing/2015-04-01/
+0 -0 1 file

LLVM — cfe/branches/google testing

Updating branches/google/testing to r220284
Delta File
+0 -0 cfe/branches/google/testing/
+0 -0 1 file

LLVM — cfe/tags/google/testing 2015-04-01

Creating tags/google/testing/2015-04-01 from r220284
Delta File
+0 -0 cfe/tags/google/testing/2015-04-01/
+0 -0 1 file

LLVM — cfe/branches/google testing, clang-tools-extra/branches/google testing

Cleaning up testing branch
Delta File
+0 -0 cfe/branches/google/testing/
+0 -0 clang-tools-extra/branches/google/testing/
+0 -0 compiler-rt/branches/google/testing/
+0 -0 lldb/branches/google/testing/
+0 -0 llvm/branches/google/testing/
+0 -0 polly/branches/google/testing/
+0 -0 6 files

LLVM — llvm/trunk/docs LibFuzzer.rst, llvm/trunk/lib/Fuzzer FuzzerUtil.cpp

[fuzzer] document the -tokens flag. Also change the diagnostic output

LLVM — llvm/trunk/include/llvm/CodeGen RegisterPressure.h

Remove declarations for nonexistent methods

LLVM — llvm/trunk/test/tools/llvm-objdump/X86 macho-objc-meta-data.test, llvm/trunk/test/tools/llvm-objdump/X86/Inputs Objc2.64bit.obj.macho-x86_64 Objc2.64bit.exe.macho-x86_64

Add the option -objc-meta-data to llvm-objdump used with -macho to
print the Objective-C runtime meta data for Mach-O files.

There are three types of Objective-C runtime meta data, Objc2 64-bit,
Objc2 32-bit and Objc1 32-bit.  This prints the first of these types. The
changes to print the others will follow next.
Delta File
+1,228 -11 llvm/trunk/tools/llvm-objdump/MachODump.cpp
+206 -0 llvm/trunk/test/tools/llvm-objdump/X86/macho-objc-meta-data.test
+1 -1 llvm/trunk/tools/llvm-objdump/llvm-objdump.h
+1 -0 llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
+0 -0 llvm/trunk/test/tools/llvm-objdump/X86/Inputs/Objc2.64bit.obj.macho-x86_64
+0 -0 llvm/trunk/test/tools/llvm-objdump/X86/Inputs/Objc2.64bit.exe.macho-x86_64
+1,436 -12 6 files

LLVM — lldb/trunk/source/Plugins/SymbolFile/DWARF SymbolFileDWARFDebugMap.cpp SymbolFileDWARFDebugMap.h

Fixed the way SymbolFileDWARFDebugMap iterates across object
files.  Before we'd give up if we found a .o that doesn't have
DWARF associated with it; now we iterate through them all.
Also made this iteration a higher-order function so that people
don't have to remember to do this right.

<rdar://problem/20261196>

LLVM — lldb/trunk/source/Plugins/Process/Utility RegisterContextFreeBSD_x86_64.cpp RegisterInfos_x86_64.h

Fix issue where GPR and FPR registers have overlapping byte offsets.

Summary:
The implementation of GDBRemoteRegisterContext relies on byte offsets to cache
register values. GPR, FPR, etc. should start on different offsets. This is
correctly done in debugserver (in DNBArchImplX86_64.cpp), but not on Linux or
FreeBSD (in RegisterInfos_x86_64.h).

Test Plan: `register read st0` no longer overwrites `rbp` on Linux with LLGS.

Reviewers: sivachandra, jingham, emaste, ovyalov, clayborg

Reviewed By: clayborg

Subscribers: emaste, lldb-commits

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

LLVM — cfe/trunk/lib/Basic Targets.cpp, cfe/trunk/test/Preprocessor init.c

Set the type of ptrdiff_t to signed on NVPTX targets

It was unsigned before, which is unlike any other target and also doesn't make
much sense.

LLVM — cfe/trunk/lib/Sema SemaLambda.cpp SemaType.cpp, cfe/trunk/test/CodeGenCXX vla-lambda-capturing.cpp mangle-ms-cxx14.cpp

Re-land "MS ABI: lambda call operators are instance methods and should use thiscall"

Update the test cases to pass when lambda call operators use thiscall.

Update the lambda-to-block conversion operator to use the default free
function calling convention instead of the call operator's convention.

This reverts commit r233082 and re-instates r233023.

LLVM — cfe/trunk/test/PCH cxx1y-lambdas.mm

Run dos2unix on test/PCH/cxx1y-lambdas.mm
Delta File
+58 -58 cfe/trunk/test/PCH/cxx1y-lambdas.mm
+58 -58 1 file

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

Minor simplification: do typo-correction before handling inheriting
constructors, instead of having the typo-correction code also dispatch to the
inheriting constructor special case.
Delta File
+24 -20 cfe/trunk/lib/Sema/SemaDeclCXX.cpp
+24 -20 1 file

LLVM — llvm/trunk/lib/Target/X86 X86ISelDAGToDAG.cpp, llvm/trunk/test/CodeGen/X86 narrow-shl-cst.ll

[X86] Don't accidentally select shll $1, %eax when shrinking an immediate.

addl has higher throughput and this was needlessly picking a suboptimal
encoding causing PR23098.

I wish there was a way of doing this without further duplicating tbl-
generated patterns, but so far I haven't found one.

LLVM — lldb/trunk/source/Plugins/Process/POSIX ProcessPOSIX.cpp

Remove dead code in ProcessPOSIX.

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

LLVM — cfe/trunk/lib/Basic Targets.cpp, cfe/trunk/test/Preprocessor init.c

Set NVPTX64 target's size_t to match other 64-bit targets

LLVM — llvm/trunk/include/llvm/Analysis ScalarEvolution.h, llvm/trunk/lib/Analysis ScalarEvolution.cpp

[SCEV] Look at backedge dominating conditions (re-land r233447).

Summary:
This change teaches ScalarEvolution::isLoopBackedgeGuardedByCond to look
at edges within the loop body that dominate the latch.  We don't do an
exhaustive search for all possible edges, but only a quick walk up the
dom tree.

This re-lands r233447.  r233447 was reverted because it caused massive
compile-time regressions.  This change has a fix for the same issue.

LLVM — llvm/trunk/include/llvm/Analysis BlockFrequencyInfoImpl.h, llvm/trunk/lib/Analysis BlockFrequencyInfoImpl.cpp

Remove 4,096 loop scale limitation.

Summary:
This is part 1 of fixes to address the problems described in
https://llvm.org/bugs/show_bug.cgi?id=22719.

The restriction to limit loop scales to 4,096 does not really prevent
overflows anymore, as the underlying algorithm has changed and does
not seem to suffer from this problem.

Additionally, artificially restricting loop scales to such a low number
skews frequency information, making loops of equal hotness appear to
have very different hotness properties.

The only loops that are artificially restricted to a scale of 4096 are
infinite loops (those loops with an exit mass of 0). This prevents
infinite loops from skewing the frequencies of other regions in the CFG.

At the end of propagation, frequencies are scaled to values that take no
more than 64 bits to represent. When the range of frequencies to be
represented fits within 61 bits, it pushes up the scaling factor to a
minimum of 8 to better distinguish small frequency values. Otherwise,
small frequency values are all saturated down at 1.

Tested on x86_64.

    [6 lines not shown]

LLVM — lldb/trunk/lldb.xcodeproj project.pbxproj, lldb/trunk/tools/argdumper exports

Don't export a ton of lldb_private symbols from argdumper.
Delta File
+4 -2 lldb/trunk/lldb.xcodeproj/project.pbxproj
+0 -0 lldb/trunk/tools/argdumper/exports
+4 -2 2 files

LLVM — llvm/trunk/lib/CodeGen WinEHPrepare.cpp, llvm/trunk/test/CodeGen/WinEH cppeh-multi-catch.ll

Fix WinEHPrepare bug with multiple catch handlers

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

LLVM — cfe/branches/release_36/lib/Basic Targets.cpp, cfe/branches/release_36/test/CodeGen mangle-windows.c

Merge r233819 into the release 36 branch with some modifications

LLVM — cfe/trunk/test/CodeGenCXX inlinehint.cpp

Fix inlinehint.cpp with an explicit triple to avoid x86_thiscallcc problems

LLVM — cfe/trunk/test/CodeGenCXX inlinehint.cpp

Remove comdats from inlinehint.cpp to pass test on Darwin

LLVM — cfe/trunk/lib/Basic Targets.cpp, cfe/trunk/test/CodeGen mangle-windows.c

Fix data layout mismatch between LLVM and Clang for i686-pc-windows-msvc-elf

Do the same thing as win64. If we're not using COFF, use the ELF
manglings. Maybe if we are targetting *-windows-msvc-macho, we should
use darwin manglings, but I don't need to stir that pot today.

LLVM — cfe/trunk/test/Driver nacl-direct.c

Try to fix nacl-direct.c driver test in Cygwin environment

Why is NaCl not using the integrated assembler, by the way?

LLVM — cfe/trunk/lib/Sema SemaTemplateInstantiateDecl.cpp, cfe/trunk/test/CodeGenCXX inlinehint.cpp

Mark instantiated function decls as inline specified if any pattern is

A function template pattern can be declared without the 'inline'
specifier and defined later with the 'inline' specifier. However, during
instantiation, we were only looking at the canonical decl to see if we
should mark the instantiated decl as inline specified. Since the
instantiated decl actually represents many pattern declarations, put the
inline specifier on the instantiation decl if any of the pattern decls
have it.

LLVM — libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array sized_delete_array.pass.cpp, libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single sized_delete.pass.cpp

Remove statement with no effect inside tests.

LLVM — cfe/trunk/include/clang module.modulemap

[SystemZ] Add BuiltinsSystemZ.def to Clang_Basic modulemap

This should fix the last remaining build bot failures
resulting from the r233804 commit.

LLVM — llvm/trunk/lib/Target/ARM ARM.td ARMSubtarget.h, llvm/trunk/lib/Target/ARM/AsmParser ARMAsmParser.cpp

[ARM] Rename v8.1a from "extension" to "architecture"

v8.1a is renamed to architecture, following current entity naming approach.

Excess generic cpu is removed. Intended use: "generic" cpu with "v8.1a" subtarget feature

Reviewers: jmolloy

Subscribers: llvm-commits

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

LLVM — llvm/trunk/lib/Target/AArch64 AArch64.td AArch64Subtarget.h

[AArch64] Rename v8.1a from "extension" to "architecture"

v8.1a is renamed to architecture, accordingly to approaches in ARM backend.

Excess generic cpu is removed. Intended use: "generic" cpu with "v8.1a" subtarget feature

Reviewers: jmolloy

Subscribers: llvm-commits

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