- May 18, 2013
-
-
David Majnemer authored
The peephole tries to reorder MOV32r0 instructions such that they are before the instruction that modifies EFLAGS. The problem is that the peephole does not consider the case where the instruction that modifies EFLAGS also depends on the previous state of EFLAGS. Instead, walk backwards until we find an instruction that has a def for EFLAGS but does not have a use. If we find such an instruction, insert the MOV32r0 before it. If it cannot find such an instruction, skip the optimization. llvm-svn: 182184
-
Sean Callanan authored
the Objective-C object checker and the pointer checker) were not always installed into expressions. <rdar://problem/13882566> llvm-svn: 182183
-
Rafael Espindola authored
Thanks to John McCall for pointing this out. llvm-svn: 182182
-
Matt Arsenault authored
The same comment is already made in the header llvm-svn: 182181
-
Matt Arsenault authored
llvm-svn: 182180
-
rdar://problem/11398407Greg Clayton authored
Name matching was working inconsistently across many places in LLDB. Anyone doing name lookups where you want to look for all types of names should used "eFunctionNameTypeAuto" as the sole name type mask. This will ensure that we get consistent "lookup function by name" results. We had many function calls using as mask like "eFunctionNameTypeBase | eFunctionNameTypeFull | eFunctionNameTypeMethod | eFunctionNameTypeSelector". This was due to the function lookup by name evolving over time, but as it stands today, use eFunctionNameTypeAuto when you want general name lookups. Either ModuleList::FindFunctions() or Module::FindFunctions() will figure out the right kinds of names to lookup and remove the "eFunctionNameTypeAuto" and replace it with the exact subset of what the name can be. This checkin also changes eFunctionNameTypeAny over to use eFunctionNameTypeAuto to reflect this. llvm-svn: 182179
-
Adrian Prantl authored
llvm-svn: 182178
-
David Blaikie authored
llvm-svn: 182177
-
Adrian Prantl authored
properties declared in a protocol. rdar://problem/13798000 llvm-svn: 182176
-
JF Bastien authored
This patch matches GCC behavior: the code used to only allow unaligned load/store on ARM for v6+ Darwin, it will now allow unaligned load/store for v6+ Darwin as well as for v7+ on Linux and NaCl. The distinction is made because v6 doesn't guarantee support (but LLVM assumes that Apple controls hardware+kernel and therefore have conformant v6 CPUs), whereas v7 does provide this guarantee (and Linux/NaCl behave sanely). The patch keeps the -arm-strict-align command line option, and adds -arm-no-strict-align. They behave similarly to GCC's -mstrict-align and -mnostrict-align. I originally encountered this discrepancy in FastIsel tests which expect unaligned load/store generation. Overall this should slightly improve performance in most cases because of reduced I$ pressure. llvm-svn: 182175
-
rdar://problem/13928053Enrico Granata authored
Fix the fact that an empty NSString (e.g. one obtained from @"" would show no summary) llvm-svn: 182173
-
Rafael Espindola authored
llvm-svn: 182172
-
Sebastian Pop authored
llvm-svn: 182171
-
DeLesley Hutchins authored
assert_exclusive_lock and assert_shared_lock. These attributes are used to mark functions that dynamically check (i.e. assert) that a lock is held. llvm-svn: 182170
-
Rafael Espindola authored
llvm-svn: 182169
-
Rafael Espindola authored
The errors were: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long') to 'uint32_t' (aka 'unsigned int') in initializer list and non-constant-expression cannot be narrowed from type 'long' to 'uint32_t' (aka 'unsigned int') in initializer list llvm-svn: 182168
-
Rafael Espindola authored
llvm-svn: 182167
-
Matt Kopec authored
Thus, this patch also negates a previous fix for handling SIGCHLD. llvm-svn: 182166
-
- May 17, 2013
-
-
Matt Arsenault authored
Use EVT::changeExtendedVectorElementTypeToInteger instead of doing the same thing that it does llvm-svn: 182165
-
Matt Arsenault authored
llvm-svn: 182164
-
Joerg Sonnenberger authored
llvm-svn: 182162
-
Joerg Sonnenberger authored
dependency on libpthread for code that doesn't use threads itself. llvm-svn: 182161
-
Greg Clayton authored
llvm-svn: 182160
-
Ashok Thirumurthi authored
- Used xfail and skip, temporarily, while resolving bugzilla #15671. llvm-svn: 182159
-
Greg Clayton authored
Allow LLDB to be built on a system with an installed gcc/g++ that isn't the default. I recently installed gcc-4.7/g++-4.7 on Ubuntu and tried to build by specifying: CC=gcc-4.7 CXX=g++-4.7 as configure and make args, but it didn't work when being run with makefiles. This patch fixes that. llvm-svn: 182158
-
Daniel Malea authored
- copy lldb python module into directory specified with CMAKE_INSTALL_PREFIX - make liblldb.so a symlink (to liblldb.so.X.Y where X.Y is the LLVM version) llvm-svn: 182157
-
Anna Zaks authored
llvm-svn: 182156
-
Ashok Thirumurthi authored
- Note that this is not correct, as the failure is associated with build options of libc.so, however it's failing on a Debian buildbot that uses gcc 4.6.2 (and the real goal is a complete backtrace even with -fomit-frame-pointer). - Adds helpers to lldbtest.py to check the expectedCompiler and expectedVersion, with an eventual goal of reducing the number of test decorators. --- Currently allows a comparison operator and a compiler version to be specified. --- Can be extended to support ranges of compiler versions. llvm-svn: 182155
-
Matt Kopec authored
-Remove tracing of fork/vfork until we add support for tracing inferiors' children on Linux. -Add trace exec option for ptrace so that we don't receive legacy SIGTRAP signals on execve calls. -Add handling of SIGCHLD sent by kernel (for now, deliver the signal to the inferior). llvm-svn: 182153
-
Daniel Malea authored
- now, the output binary is called 'lldb-3.4' instead of 'lldb' - a symlink 'lldb' -> 'lldb-3.4' is also created - this fixes one of the problems preventing CMake from building Debian packages llvm-svn: 182148
-
Dmitri Gribenko authored
Patch by Seth Fowler. llvm-svn: 182139
-
Fariborz Jahanian authored
declaration is illegally protocol qualified. // rdar://13920026 llvm-svn: 182136
-
Dmitri Gribenko authored
llvm-svn: 182134
-
Peter Collingbourne authored
Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. llvm-svn: 182132
-
Derek Schuff authored
Patch by Mark Seaborn. llvm-svn: 182131
-
Vincent Lejeune authored
It solves a bug uncovered by dot4 patch where the register class of int_load_input use was ignored. llvm-svn: 182130
-
Vincent Lejeune authored
llvm-svn: 182129
-
Vincent Lejeune authored
It should increase PV substitution opportunities and lower gpr usage (pending computations path are "flushed" sooner) llvm-svn: 182128
-
Vincent Lejeune authored
llvm-svn: 182127
-
Vincent Lejeune authored
Dot4 now uses 8 scalar operands instead of 2 vectors one which allows register coalescer to remove some unneeded COPY. This patch also defines some structures/functions that can be used to handle every vector instructions (CUBE, Cayman special instructions...) in a similar fashion. llvm-svn: 182126
-