| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
memory a BumpPtrAllocator allocated.
llvm-svn: 129727
|
| |
|
|
|
|
| |
test harness to check line number information.
llvm-svn: 129725
|
| |
|
|
| |
llvm-svn: 129724
|
| |
|
|
| |
llvm-svn: 129723
|
| |
|
|
|
|
| |
true on success and false on failure. Update callers.
llvm-svn: 129722
|
| |
|
|
| |
llvm-svn: 129721
|
| |
|
|
| |
llvm-svn: 129720
|
| |
|
|
|
|
|
|
| |
of conditional expressions of objc pointer types
where one type is the immediate base type of the
other. // rdar://9296866
llvm-svn: 129718
|
| |
|
|
|
|
| |
"target select" commands.
llvm-svn: 129717
|
| |
|
|
|
|
|
|
| |
small heap-allocated SmallString because it unconditionally forces a malloc.
(Revised version of r129688, with the necessary flush() call.)
llvm-svn: 129716
|
| |
|
|
|
|
| |
each instruction.
llvm-svn: 129715
|
| |
|
|
|
|
|
|
| |
the spilled register.
This is quite common on ARM now that some stores have early-clobber defines.
llvm-svn: 129714
|
| |
|
|
|
|
| |
superclass variable is instantiated properly.
llvm-svn: 129713
|
| |
|
|
| |
llvm-svn: 129712
|
| |
|
|
|
|
|
|
|
| |
registers for fast allocation a different way. This has us updating
used registers only when we're using that exact register.
Fixes rdar://9207598
llvm-svn: 129711
|
| |
|
|
| |
llvm-svn: 129710
|
| |
|
|
|
|
| |
silences Clang's -Wunused-function when building in release mode.
llvm-svn: 129709
|
| |
|
|
|
|
| |
symbolic disassembly.
llvm-svn: 129708
|
| |
|
|
| |
llvm-svn: 129707
|
| |
|
|
| |
llvm-svn: 129706
|
| |
|
|
| |
llvm-svn: 129704
|
| |
|
|
| |
llvm-svn: 129703
|
| |
|
|
|
|
| |
weren't being added to the DeclContext (nor were they being marked as implicit). Also, the declarations were being emitted in the wrong order when building the CFG.
llvm-svn: 129700
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
implementation such as
@synthesize Prop1 =
Give priority to ivars whose type matches or closely matches the
property type (as we do for several other kinds of
results). Additionally, if there is an ivar with the same name as the
property, or differs only due to a _ prefix or suffix, give that ivar
a priority bump. Finally, verify that this search is properly
returning ivars within class extensions and implementations
(<rdar://problem/8488854>).
llvm-svn: 129699
|
| |
|
|
| |
llvm-svn: 129698
|
| |
|
|
|
|
|
|
|
|
|
| |
implementation
@synthesize <property> =
also produce a completion for a to-be-synthesized ivar named
_<property>.
llvm-svn: 129697
|
| |
|
|
| |
llvm-svn: 129696
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
threads, and stack frame down in the lldb_private::Process,
lldb_private::Thread, lldb_private::StackFrameList and the
lldb_private::StackFrame classes. We had some command line
commands that had duplicate versions of the process status
output ("thread list" and "process status" for example).
Removed the "file" command and placed it where it should
have been: "target create". Made an alias for "file" to
"target create" so we stay compatible with GDB commands.
We can now have multple usable targets in lldb at the
same time. This is nice for comparing two runs of a program
or debugging more than one binary at the same time. The
new command is "target select <target-idx>" and also to see
a list of the current targets you can use the new "target list"
command. The flow in a debug session can be:
(lldb) target create /path/to/exe/a.out
(lldb) breakpoint set --name main
(lldb) run
... hit breakpoint
(lldb) target create /bin/ls
(lldb) run /tmp
Process 36001 exited with status = 0 (0x00000000)
(lldb) target list
Current targets:
target #0: /tmp/args/a.out ( arch=x86_64-apple-darwin, platform=localhost, pid=35999, state=stopped )
* target #1: /bin/ls ( arch=x86_64-apple-darwin, platform=localhost, pid=36001, state=exited )
(lldb) target select 0
Current targets:
* target #0: /tmp/args/a.out ( arch=x86_64-apple-darwin, platform=localhost, pid=35999, state=stopped )
target #1: /bin/ls ( arch=x86_64-apple-darwin, platform=localhost, pid=36001, state=exited )
(lldb) bt
* thread #1: tid = 0x2d03, 0x0000000100000b9a a.out`main + 42 at main.c:16, stop reason = breakpoint 1.1
frame #0: 0x0000000100000b9a a.out`main + 42 at main.c:16
frame #1: 0x0000000100000b64 a.out`start + 52
Above we created a target for "a.out" and ran and hit a
breakpoint at "main". Then we created a new target for /bin/ls
and ran it. Then we listed the targest and selected our original
"a.out" program, so we showed two concurent debug sessions
going on at the same time.
llvm-svn: 129695
|
| |
|
|
|
|
| |
this fixes a few rejects on c++ iterator loops.
llvm-svn: 129694
|
| |
|
|
| |
llvm-svn: 129693
|
| |
|
|
|
|
|
|
| |
the generated FastISel. X86 doesn't need to generate code to match ADD16ri8
since ADD16ri will do just fine. This is a small codesize win in the generated
instruction selector.
llvm-svn: 129692
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
immediates with
value constraints on them (when defined as ImmLeaf's). This is particularly important
for X86-64, where almost all reg/imm instructions take a i64immSExt32 immediate operand,
which has a value constraint. Before this patch we ended up iseling the examples into
such amazing code as:
movabsq $7, %rax
imulq %rax, %rdi
movq %rdi, %rax
ret
now we produce:
imulq $7, %rdi, %rax
ret
This dramatically shrinks the generated code at -O0 on x86-64.
llvm-svn: 129691
|
| |
|
|
|
|
| |
and to not rely on the register allocator's arbitrary operand choices.
llvm-svn: 129690
|
| |
|
|
| |
llvm-svn: 129689
|
| |
|
|
|
|
| |
small heap-allocated SmallString because it unconditionally forces a malloc.
llvm-svn: 129688
|
| |
|
|
|
|
| |
reduces the number of calls to malloc().
llvm-svn: 129687
|
| |
|
|
|
|
| |
overload that takes no parameters.
llvm-svn: 129686
|
| |
|
|
|
|
|
|
|
| |
H1 ... Title (and might be Chapter in future)
H2 ... Section
H3 ... Subsection
H4 ... Sub-subsection
llvm-svn: 129683
|
| |
|
|
| |
llvm-svn: 129682
|
| |
|
|
| |
llvm-svn: 129681
|
| |
|
|
|
|
|
|
| |
little wrapper.
No functionality change.
llvm-svn: 129680
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it down. we effectively were compile the testcase into:
void test14(int x) {
switch (x) {
case 11: break;
case 42: test14(97); // fallthrough
default: test14(42); break;
which is not the same thing at all. This fixes a miscompilation of
MallocBench/gs seen on the clang-x86_64-linux-fnt buildbot.
llvm-svn: 129679
|
| |
|
|
|
|
| |
since the strings are always exactly one character, and there are usually only 2-3 operands.
llvm-svn: 129678
|
| |
|
|
|
|
| |
matching code.
llvm-svn: 129677
|
| |
|
|
|
|
|
| |
simplifying them and exposing more information to tblgen. It would be nice
if other target authors adopted this as well, particularly arm since it has fastisel.
llvm-svn: 129676
|
| |
|
|
|
|
|
|
|
| |
kind of predicate: one that is specific to imm nodes. The predicate function
specified here just checks an int64_t directly instead of messing around with
SDNode's. The virtue of this is that it means that fastisel and other things
can reason about these predicates.
llvm-svn: 129675
|
| |
|
|
| |
llvm-svn: 129674
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
turns out that a field or base needs to be laid out in the tail padding of
the base, CGRecordLayoutBuilder::ResizeLastBaseFieldIfNecessary will convert
it to an array of i8.
I've audited the new test results to make sure that they are still valid. I've
also verified that we pass a self-host with this change.
This (finally) fixes PR5589!
llvm-svn: 129673
|
| |
|
|
| |
llvm-svn: 129672
|
| |
|
|
| |
llvm-svn: 129671
|