summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes bug 8297: i386 cmpxchg8b, missing MachineMemOperandAndrew Trick2010-10-112-1/+31
| | | | llvm-svn: 116214
* More binary encoding stuff, taking advantage of the new "by name" operandJim Grosbach2010-10-112-25/+24
| | | | | | matching in tblgen to do the predicate operand. llvm-svn: 116213
* Turn on arm fast isel by default.Eric Christopher2010-10-111-1/+1
| | | | llvm-svn: 116212
* When figuring out which operands match which encoding fields in an instruction,Jim Grosbach2010-10-113-9/+38
| | | | | | | try to match them by name first. If there is no by-name match, fall back to assuming they are in order (this was the previous behavior). llvm-svn: 116211
* Properly handle reloading and spilling around partial redefines inJakob Stoklund Olesen2010-10-111-0/+14
| | | | | | | | | | | | LocalRewriter. This is a bit of a hack that adds an implicit use operand to model the read-modify-write nature of a partial redef. Uses and defs are rewritten in separate passes, and a single operand would never be processed twice. <rdar://problem/8518892> llvm-svn: 116210
* remove dead prototype, PR8351Chris Lattner2010-10-111-3/+0
| | | | llvm-svn: 116209
* Eliminate clang_setUseExternalASTGeneration() from libclang. BetweenDouglas Gregor2010-10-118-249/+53
| | | | | | | | | improvements to the compiler and the introduction of crash recovery, it no longer makes sense to allow this mode. Moreover, this eliminates one use of the "clang" executable from within libclang; we'd like them all to go away. llvm-svn: 116207
* Help text modification.Johnny Chen2010-10-111-1/+2
| | | | llvm-svn: 116206
* Add parsing support for Microsoft attributes. MS attributes will just be ↵Francois Pichet2010-10-117-0/+70
| | | | | | skipped and not inserted into the AST for now. llvm-svn: 116203
* Add 2 Microsoft compiler intrinsics that don't require prototypes:Francois Pichet2010-10-112-1/+11
| | | | | | | __assume __noop llvm-svn: 116202
* MSVC hangs on compilation of ARMDisassembler.cpp. PR6866 applied to ARM target.Francois Pichet2010-10-111-1/+7
| | | | llvm-svn: 116201
* Declare argv parameters as const char* const* instead of to char** to ↵Axel Naumann2010-10-116-9/+13
| | | | | | clarify that they are not modified, and to allow for string literals as arguments. llvm-svn: 116200
* Tighten up constness of argv parameters to allow for string literals as ↵Axel Naumann2010-10-112-5/+6
| | | | | | argumants and to reflect actual (non-modifying) use. llvm-svn: 116199
* Copy and pasteo.Eric Christopher2010-10-111-1/+1
| | | | llvm-svn: 116198
* Whitespace cleanup in ARM fast isel.Eric Christopher2010-10-111-80/+80
| | | | llvm-svn: 116197
* Add srem libcall support to ARM fast isel.Eric Christopher2010-10-111-0/+25
| | | | llvm-svn: 116196
* Add i8 sdiv support for ARM fast isel.Eric Christopher2010-10-111-1/+3
| | | | llvm-svn: 116195
* Implement select handling for ARM fast-isel.Eric Christopher2010-10-111-0/+31
| | | | llvm-svn: 116194
* tweak comment.Chris Lattner2010-10-111-2/+2
| | | | llvm-svn: 116192
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-118-380/+0
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116191
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-1171-8250/+6
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116190
* comment out unused functionChris Lattner2010-10-111-1/+1
| | | | llvm-svn: 116189
* X86: Call ulldiv and ftol2 on Windows instead of their libgcc eqivilents.Michael J. Spencer2010-10-111-0/+4
| | | | llvm-svn: 116188
* be less threatening.Chris Lattner2010-10-111-3/+1
| | | | llvm-svn: 116187
* Make sure the VTables for template instantiations are emitted even if the ↵Argyrios Kyrtzidis2010-10-114-22/+45
| | | | | | key function doesn't have a body. llvm-svn: 116186
* Don't let typeinfo name symbols be 'internal hidden', it can lead to linker ↵Argyrios Kyrtzidis2010-10-112-2/+3
| | | | | | | | conflicts with similarly named classes in anonymous namespaces. llvm-svn: 116185
* lib/CodeGen/CodeGenModule.cpp: DLLImportLinkage should be processed also on ↵NAKAMURA Takumi2010-10-111-1/+3
| | | | | | | | declaration. It enables clang to compile Mingw's headers. llvm-svn: 116184
* lib/Driver/Driver.cpp: Use the driver g++-4 for Cygwin-1.5.NAKAMURA Takumi2010-10-111-1/+13
| | | | llvm-svn: 116183
* lib/Frontend/InitHeaderSearch.cpp: Fix compatibility to Cygming.NAKAMURA Takumi2010-10-111-8/+9
| | | | | | | | | | - lib/gcc/include should not be included. Clang oughta have alternatives. (PR7956) - Cygwin: /usr/include/w32api should be included. gcc/cygwin does. - gcc/cygwin uses gcc paths as /usr/lib not /lib. They are same on Cygwin environment, though, We have to take what gcc/cygwin does. - Cygwin-1.7: Use 4.3.4. - Cygwin-1.5: Use 4.3.2 for gcc-4. llvm-svn: 116182
* Fixed an issue where objc types weren't ever getting fully resolved (beyondGreg Clayton2010-10-113-9/+18
| | | | | | forward declarations). llvm-svn: 116181
* Exit if the command line is started with "--help".Greg Clayton2010-10-111-0/+1
| | | | llvm-svn: 116180
* Added a "--no-lldbinit" option (-n for short (which magically matchesGreg Clayton2010-10-116-64/+96
| | | | | | | what gdb uses)) so we can tell our "lldb" driver program to not automatically parse any .lldbinit files. llvm-svn: 116179
* Added the ability to get error strings back from failed Greg Clayton2010-10-105-138/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lldb_private::RegularExpression compiles and matches with: size_t RegularExpression::GetErrorAsCString (char *err_str, size_t err_str_max_len) const; Added the ability to search a variable list for variables whose names match a regular expression: size_t VariableList::AppendVariablesIfUnique (const RegularExpression& regex, VariableList &var_list, size_t& total_matches); Also added the ability to append a variable to a VariableList only if it is not already in the list: bool VariableList::AddVariableIfUnique (const lldb::VariableSP &var_sp); Cleaned up the "frame variable" command: - Removed the "-n NAME" option as this is the default way for the command to work. - Enable uniqued regex searches on variable names by fixing the "--regex RE" command to work correctly. It will match all variables that match any regular expressions and only print each variable the first time it matches. - Fixed the option type for the "--regex" command to by eArgTypeRegularExpression instead of eArgTypeCount llvm-svn: 116178
* X86: MinGW should always use libgcc on Windows.Michael J. Spencer2010-10-102-4/+5
| | | | llvm-svn: 116177
* Added a new test case to test signals with.Greg Clayton2010-10-106-38/+175
| | | | | | | | | | | | | | | | | | Added frame relative frame selection to "frame select". You can now select frames relative to the current frame (which defaults to zero if the current frame hasn't yet been set for a thread): The gdb "up" command can be done as: (lldb) frame select -r 1 The gdb "down" command can be done as: (lldb) frame select -r -1 Place the following in your ~/.lldbinit file for "up" and "down": command alias up frame select -r 1 command alias down frame select -r -1 llvm-svn: 116176
* Plugged memory leak.Greg Clayton2010-10-101-3/+4
| | | | llvm-svn: 116175
* X86: Call _alldiv instead of __divdi3 on Windows (excluding cygwin).Michael J. Spencer2010-10-103-3/+27
| | | | llvm-svn: 116174
* Fix Whitespace.Michael J. Spencer2010-10-102-90/+90
| | | | llvm-svn: 116173
* Added new options to memory read to allow saving memory to disk Greg Clayton2010-10-101-29/+185
| | | | | | | | | | | | | | | | | | | | | as binary bytes or as an ASCII text dump. - The output file is specified with the "--outfile FILE" option. - The memory can be appended to an existing file using the "--append" option. - The memory will be written as an ASCII text dump by default, or as binary with the "--binary" option. Added new options to memory write to allow writing all or part of a file on disk to target memory: - The input file is specified using the "--infile FILE" option - The offset at which to start in the file defaults to zero, but can be overridden using the "--offset OFFSET" option. If the size is not specified, the remaining number of bytes in the file will be used as the default byte size. - The number of bytes to write defaults to the entire file byte size, but can be changed with the "--size COUNT" option. llvm-svn: 116172
* Simplify the generator adaptor to a Python function instead of a class ↵Johnny Chen2010-10-101-13/+10
| | | | | | | | | | | | | definition, with the function name 'lldb_iter'. Example: def disassemble_instructions (insts): from lldbutil import lldb_iter for i in lldb_iter(insts, 'GetSize', 'GetInstructionAtIndex'): print i llvm-svn: 116171
* force a triple, varargs isn't supported with the SVR4 ABI the buildbot tells me.Chris Lattner2010-10-101-2/+2
| | | | llvm-svn: 116170
* fix the default va_arg expansion (in the realignment case) to not implicitlyChris Lattner2010-10-101-1/+1
| | | | | | truncate the stack pointer to 32-bits on a 64-bit machine. llvm-svn: 116169
* fix the expansion of va_arg instruction on PPC to know the arg Chris Lattner2010-10-102-0/+26
| | | | | | | | | alignment for PPC32/64, avoiding some masking operations. llvm-gcc expands vaarg inline instead of using the instruction so it has never hit this. llvm-svn: 116168
* clarify that zero sized vectors are illegal, PR8340Chris Lattner2010-10-101-2/+3
| | | | llvm-svn: 116167
* fix PR8217, a silent miscompilation of invalid code.Chris Lattner2010-10-105-8/+38
| | | | llvm-svn: 116166
* Allow a string literal to initialize a tail array (PR8217), patch Chris Lattner2010-10-102-1/+14
| | | | | | by Pierre Habouzit! llvm-svn: 116165
* Unbreak the CMake build.Francois Pichet2010-10-101-0/+1
| | | | llvm-svn: 116164
* Add experimental chroot check which checks improper use of chroot(). Patch by Zhongxing Xu2010-10-104-0/+187
| | | | | | Lei Zhang. llvm-svn: 116163
* Implement __builtin_ia32_vec_ext_v2si function (required by Qt).Argyrios Kyrtzidis2010-10-102-0/+4
| | | | llvm-svn: 116162
* lib/Driver/Tools.cpp: Disable cxa_atexit by default also on Cygwin.NAKAMURA Takumi2010-10-101-0/+1
| | | | llvm-svn: 116161
OpenPOWER on IntegriCloud