| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
pointer is known positive.
llvm-svn: 181745
|
| |
|
|
|
|
| |
(Modifying the checker to record that the values are no longer nil will be done separately.)
llvm-svn: 181744
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if and only if we are both KnownSafeBU/KnownSafeTD rather than just either or.
In the presense of a block being initialized, the frontend will emit the
objc_retain on the original pointer and the release on the pointer loaded from
the alloca. The optimizer will through the provenance analysis realize that the
two are related (albiet different), but since we only require KnownSafe in one
direction, will match the inner retain on the original pointer with the guard
release on the original pointer. This is fixed by ensuring that in the presense
of allocas we only unconditionally remove pointers if both our retain and our
release are KnownSafe (i.e. we are KnownSafe in both directions) since we must
deal with the possibility that the frontend will emit what (to the optimizer)
appears to be unbalanced retain/releases.
An example of the miscompile is:
%A = alloca
retain(%x)
retain(%x) <--- Inner Retain
store %x, %A
%y = load %A
... DO STUFF ...
release(%y)
call void @use(%x)
release(%x) <--- Guarding Release
getting optimized to:
%A = alloca
retain(%x)
store %x, %A
%y = load %A
... DO STUFF ...
release(%y)
call void @use(%x)
rdar://13750319
llvm-svn: 181743
|
| |
|
|
| |
llvm-svn: 181742
|
| |
|
|
| |
llvm-svn: 181741
|
| |
|
|
|
|
| |
Patch by Evgieniy Stepanov, review by İsmail Dönmez.
llvm-svn: 181740
|
| |
|
|
| |
llvm-svn: 181739
|
| |
|
|
| |
llvm-svn: 181738
|
| |
|
|
|
|
|
|
|
| |
are derived registers.
- Also refactors TestRegisters.py because test_convenience_registers_with_process_attach now fails with an assert.
TODO: Cross-reference the skipOnLinux decorator with a bugzilla report after root-causing this issue.
llvm-svn: 181737
|
| |
|
|
|
|
|
| |
- should fix automatic tests set up on http://llvm-jenkins.debian.net
- needed in order to make Debian package builds depend on passing test suite
llvm-svn: 181736
|
| |
|
|
| |
llvm-svn: 181735
|
| |
|
|
|
|
| |
Suppresses an unused-variable warning in -Asserts builds.
llvm-svn: 181733
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
#define A(X) \
"aaaaa" #X "bbbbbb" \
"ccccc"
After:
#define A(X) \
"aaaaa" #X "bbbbbb" \
"ccccc"
llvm-svn: 181732
|
| |
|
|
|
|
| |
debugging code from an unreachable codepath.
llvm-svn: 181731
|
| |
|
|
|
|
| |
bytes and character units to be different sizes.
llvm-svn: 181730
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds alias for addiu instruction which enables following syntax:
addiu $rs,imm
The macro is translated as:
addiu $rs,$rs,imm
Contributer: Vladimir Medic
llvm-svn: 181729
|
| |
|
|
|
|
|
|
|
| |
This is safe given how the pre-v6 atomic ops funcions in libgcc are
implemented.
This fixes pr15429.
llvm-svn: 181728
|
| |
|
|
|
|
|
| |
- Also improved test coverage for passing tests to include expr/x
and a sanity check for $eax as the lower half of $rax.
llvm-svn: 181727
|
| |
|
|
|
|
| |
get{TopDown,BottomUp}PtrState will create a new PtrState object if it does not find a PtrState for Arg.
llvm-svn: 181726
|
| |
|
|
| |
llvm-svn: 181725
|
| |
|
|
|
|
|
| |
- added missing ConstString header
- moved "using lldb*" statements to OS-independent section
llvm-svn: 181724
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes warning messages observed in the oggenc application test in
projects/test-suite. Special handling is needed for the 64-bit
PowerPC SVR4 ABI when a constant is initialized with a pointer to a
function in a shared library. Because a function address is
implemented as the address of a function descriptor, the use of copy
relocations can lead to problems with initialization. GNU ld
therefore replaces copy relocations with dynamic relocations to be
resolved by the dynamic linker. This means the constant cannot reside
in the read-only data section, but instead belongs in .data.rel.ro,
which is designed for constants containing dynamic relocations.
The implementation creates a class PPC64LinuxTargetObjectFile
inheriting from TargetLoweringObjectFileELF, which behaves like its
parent except to place constants of this sort into .data.rel.ro.
The test case is reduced from the oggenc application.
llvm-svn: 181723
|
| |
|
|
|
|
| |
Patch by Mike Sartain.
llvm-svn: 181722
|
| |
|
|
| |
llvm-svn: 181721
|
| |
|
|
|
|
|
|
|
| |
LLDB transition page. Also fixed a <b>...</b>
tag.
<rdar://problem/13871874>
llvm-svn: 181720
|
| |
|
|
|
|
|
|
|
|
|
| |
OptimizeIndividualCalls.
This makes the statistics gathering completely independent of the actual
optimization occuring, preventing any sort of bleeding over from occuring.
Additionally, it simplifies a switch statement in the non-statistic gathering case.
llvm-svn: 181719
|
| |
|
|
|
|
|
|
| |
This option is used when the user wants to avoid emitting double precision FP
loads and stores. Double precision FP loads and stores are expanded to single
precision instructions after register allocation.
llvm-svn: 181718
|
| |
|
|
|
|
| |
Unblock linux builds. The real fix for this is tracked by the above radar, but this temporary hack should fix things for now.
llvm-svn: 181717
|
| |
|
|
|
|
| |
-14.5f + 225.0f" to 225.0f.
llvm-svn: 181715
|
| |
|
|
|
|
| |
operands as the prototype instruction but with a different opcode.
llvm-svn: 181714
|
| |
|
|
| |
llvm-svn: 181713
|
| |
|
|
| |
llvm-svn: 181712
|
| |
|
|
| |
llvm-svn: 181711
|
| |
|
|
|
|
|
|
|
| |
recovery form duplicate method definition error thus
preventing doc parsing to loop trying to find comment
for the invalid redefinition in a previous declaration.
// rdar://13836387
llvm-svn: 181710
|
| |
|
|
|
|
|
|
| |
Provide a mechanism through which users can disable loading the Python scripts from dSYM files
This relies on a target setting: target.load-script-from-symbol-file which defaults to false ("do NOT load the script")
You need to set it to true before creating your target (or in your lldbinit file if you constantly rely on this feature) to allow the scripts to load
llvm-svn: 181709
|
| |
|
|
| |
llvm-svn: 181708
|
| |
|
|
|
|
|
| |
Generalize some attributes that differ on powerpc64 (i32 vs signext i32). Also
fix some copy-and-pasted code that didn't get updated properly.
llvm-svn: 181707
|
| |
|
|
| |
llvm-svn: 181706
|
| |
|
|
|
|
| |
instructions when they are used to write to the APSR. In this case, the destination operand should be APSR_nzcv, and the encoding of the target should be 0b1111 (same as for PC). In pre-UAL syntax, this form used the PC register as a textual target. This is still allowed for backward compatibility.
llvm-svn: 181705
|
| |
|
|
|
|
|
|
|
| |
In r181677 I removed this llvm_unreachable and it introduced a gcc
warning. Add it back.
Thanks to Patrik Hägglund for noticing it.
llvm-svn: 181704
|
| |
|
|
|
|
| |
introduced in commit r181680 of llvm
llvm-svn: 181703
|
| |
|
|
|
|
| |
manually calling .flush().
llvm-svn: 181702
|
| |
|
|
| |
llvm-svn: 181701
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now support "Linux" and "Stroustrup" brace breaking styles, which
gets us one step closer to support formatting WebKit, KDE & Linux code.
Linux brace breaking style:
namespace a
{
class A
{
void f()
{
if (x) {
f();
} else {
g();
}
}
}
}
Stroustrup brace breaking style:
namespace a {
class A {
void f()
{
if (x) {
f();
} else {
g();
}
}
}
}
llvm-svn: 181700
|
| |
|
|
|
|
| |
Thanks to Kim Gräsman for help!
llvm-svn: 181699
|
| |
|
|
| |
llvm-svn: 181698
|
| |
|
|
|
|
| |
Original patch by Abdoulaye Walsimou Gaye.
llvm-svn: 181697
|
| |
|
|
|
|
|
|
|
|
|
|
| |
return values are bitcasts.
The chain had previously been being clobbered with the entry node to
the dag, which sometimes caused other code in the function to be
erroneously deleted when tailcall optimization kicked in.
<rdar://problem/13827621>
llvm-svn: 181696
|
| |
|
|
|
|
| |
breaking the build
llvm-svn: 181695
|
| |
|
|
|
|
| |
Hopefully fixes the build of lldb
llvm-svn: 181694
|