- Aug 28, 2014
-
-
Zachary Turner authored
This is a lightweight wrapper around a pid. It is intended to be lightweight enough to serve as a replacement anywhere we currently store a pid. It provides convenience methods and common process operations. This patch does not yet make use of HostProcess anywhere. llvm-svn: 216607
-
Zachary Turner authored
LLDB had implemented its own DynamicLibrary class for plugin support. LLVM has an equivalent mechanism, so this patch deletes the duplicated code in LLDB and updates LLDB to reference the mechanism provided by LLVM. llvm-svn: 216606
-
David Blaikie authored
Convert a few more cases of direct intialization of unique_ptrs from MemoryBuffer::getMemBuffer to move initialization now that it returns by unique_ptr instead of raw pointer. Cleanup/improvements following r216583. llvm-svn: 216605
-
Reid Kleckner authored
Instructions like 'fxsave' and control flow instructions like 'jne' match any operand size. The loop I added to the Intel syntax matcher assumed that using a different size would give a different instruction. Now it handles the case where we get the same instruction for different memory operand sizes. This also allows us to remove the hack we had for unsized absolute memory operands, because we can successfully match things like 'jnz' without reporting ambiguity. Removing this hack uncovered test case involving 'fadd' that was ambiguous. The memory operand could have been single or double precision. llvm-svn: 216604
-
Rafael Espindola authored
llvm-svn: 216603
-
David Majnemer authored
We try to perform this transform in InstSimplify but we aren't always able to. Sometimes, we need to insert a bitcast if X and Y don't have the same time. llvm-svn: 216598
-
David Majnemer authored
It's incorrect to perform this simplification if the types differ. A bitcast would need to be inserted for this to work. This fixes PR20771. llvm-svn: 216597
-
Nico Weber authored
llvm-svn: 216586
-
Rafael Espindola authored
llvm-svn: 216585
-
Rafael Espindola authored
llvm-svn: 216584
-
Rafael Espindola authored
llvm-svn: 216583
-
Nico Weber authored
It caused PR 20771. I'll land a test on the clang side. llvm-svn: 216582
-
Todd Fiala authored
See thread here: http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140825/012580.html The original change I made there was due to a segfault. That was caused by me directly calling PluginManager::Initialize (), with PluginManager::Initialize() depending on HostInfo::Initialize () to have been called already (which it wasn't). The call to PluginManager::Initialize () was erroneous (at least at the current time) since that method is already called by Debugger::Initialize()'s implementation. We will want to revisit initializing a smaller core of the debugger suitable for lldb-gdbserver and lldb-platform. llvm-svn: 216581
-
Rafael Espindola authored
llvm-svn: 216580
-
Alexey Samsonov authored
int may not have enough bits in it, which was detected by UBSan bootstrap (it reported left shift by a too large constant). llvm-svn: 216579
-
Richard Smith authored
llvm-svn: 216577
-
Rafael Espindola authored
llvm-svn: 216576
-
Rafael Espindola authored
In fact, most users were already using the StringRef version. llvm-svn: 216575
-
Richard Smith authored
parameters in the IR. llvm-svn: 216574
-
Chandler Carruth authored
Trivial fix, and I've made the gentoo tests more representative. With the changes, they would have caught this failure. llvm-svn: 216572
-
Zachary Turner authored
This patch allows invalid DynamicLibrary instances to be constructed, and fixes the const-correctness of the isValid() method. No functional change. llvm-svn: 216571
-
David Majnemer authored
'shl nuw CI, x' produces [CI, CI << CLZ(CI)] 'shl nsw CI, x' produces [CI << CLO(CI)-1, CI] if CI is negative 'shl nsw CI, x' produces [CI, CI << CLZ(CI)-1] if CI is non-negative llvm-svn: 216570
-
Zachary Turner authored
This reverts commit r216563, which breaks lli's dynamic symbol resolution. llvm-svn: 216569
-
Lang Hames authored
llvm-svn: 216568
-
Lang Hames authored
http://llvm.org/PR20640 llvm-svn: 216567
-
Daniel Jasper authored
llvm-svn: 216565
-
Todd Fiala authored
I copied this originally based on what debugserver was doing. This appears to be incorrect and unncessary for Linux. The LinuxSignals on the lldb side don't look for these and therefore they get handled incorrectly. Leaving the hook in place since I think darwin will continue to need to translate those signal numbers. llvm-svn: 216564
-
Zachary Turner authored
Differential Revision: http://reviews.llvm.org/D5030 Reviewed By: Reid Kleckner, Rafael Espindola llvm-svn: 216563
-
Nico Weber authored
In C++11, instantiation of exception specs is deferred. The instantiation is done in MarkFunctionReferenced(), which wasn't called for non-OdrUsed functions, which then caused an assert in codegen. Fixes PR19190, see the bug for details. llvm-svn: 216562
-
Eric Fiselier authored
The way the standard currently specifies the default constructor for atomic<T> requires T to be nothrow default constructible. This patch makes our test types meet this requirement. Note: The nothrow default constructible requirment is subject to the outcome of LWG issue 1265. llvm-svn: 216561
-
Fariborz Jahanian authored
global pool in the course of method selection for a messaging expression, select one with the most general return type of 'id'. This is to remove type-mismatch warning (which is useless) as result of random selection of method with more restrictive return type. rdar://18095772 llvm-svn: 216560
-
Todd Fiala authored
See http://reviews.llvm.org/D5078. Change by Paul Osmialowski. llvm-svn: 216559
-
Oliver Stannard authored
ACLE 2.0 allows __fp16 to be used as a function argument or return type. This enables this for AArch64. This also fixes an existing bug that causes clang to not allow homogeneous floating-point aggregates with a base type of __fp16. This is valid for AAPCS64, but not for AAPCS-VFP. llvm-svn: 216558
-
NAKAMURA Takumi authored
Quick fix to test/CodeGen/2007-06-18-SextAttrAggregate.c for x86_64-mingw32, corresponding to r216507. FIXME: Explicit triplets might be given here. llvm-svn: 216557
-
Todd Fiala authored
See http://reviews.llvm.org/D5070. Change by Paul Osmialowski. llvm-svn: 216556
-
Oliver Stannard authored
This teaches the AArch64 backend to deal with the operations required to deal with the operations on v4f16 and v8f16 which are exposed by NEON intrinsics, plus the add, sub, mul and div operations. llvm-svn: 216555
-
Todd Fiala authored
See http://reviews.llvm.org/D5069. Change by Paul Osmialowski. llvm-svn: 216554
-
Todd Fiala authored
See http://reviews.llvm.org/D5073. Change by Paul Osmialowski. llvm-svn: 216553
-
- Aug 27, 2014
-
-
Ted Kremenek authored
llvm-svn: 216552
-
Ted Kremenek authored
llvm-svn: 216551
-