summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Check that an overloaded function name, when used by the ! operator,Douglas Gregor2010-09-202-0/+43
| | | | | | | actually resolves to a particular function. Fixes PR8181, from Faisal Vali! llvm-svn: 114331
* Fixed wrong logic in validating term-width value; should be && instead of ||.Johnny Chen2010-09-201-1/+1
| | | | llvm-svn: 114330
* Give implicitly-defined default constructors and destructors emptyDouglas Gregor2010-09-201-3/+10
| | | | | | bodies, from Martin Vejnar! llvm-svn: 114329
* Fixed lldb 'settings set term-widt 70' command not working.Johnny Chen2010-09-202-4/+1
| | | | | | rdar://problem/8449849 llvm-svn: 114328
* Fix indentations.Caroline Tice2010-09-206-17/+17
| | | | llvm-svn: 114326
* Add GetDescription() and __repr__ () methods to most API classes, to allowCaroline Tice2010-09-2049-28/+822
| | | | | | | "print" from inside Python to print out the objects in a more useful manner. llvm-svn: 114321
* Fix the "unable to rename temporary" lit test failing on Windows. rename is ↵Francois Pichet2010-09-201-4/+11
| | | | | | now copy + delete on Windows. Problem to be revisited for a permanent and clean solution. llvm-svn: 114320
* fix a bug I introduced back in the hayday of version #2.Chris Lattner2010-09-201-1/+1
| | | | llvm-svn: 114319
* Revert r114316, -Wunused-value enabled by default was intended.Argyrios Kyrtzidis2010-09-1918-35/+47
| | | | llvm-svn: 114318
* test/CodeGen/X86: Add explicit triplet -mtriple=i686-linux to 3 tests ↵NAKAMURA Takumi2010-09-193-6/+6
| | | | | | | | incompatible to Win32 codegen. r114297 raises 3 failures. They might fail also on mingw. llvm-svn: 114317
* Make -Wunused-value off by default, matching GCC. Fixes rdar://7126194.Argyrios Kyrtzidis2010-09-1918-47/+35
| | | | llvm-svn: 114316
* Implement -Wunused-label.Argyrios Kyrtzidis2010-09-199-5/+31
| | | | llvm-svn: 114315
* Warn when an expression result in a LabelStmt is unused.Argyrios Kyrtzidis2010-09-193-1/+11
| | | | llvm-svn: 114314
* Revert r114312 while I sort out some issues.Owen Anderson2010-09-191-1/+1
| | | | llvm-svn: 114313
* Tentatively enabled DAGCombiner Alias Analysis by default. As far as I know,Owen Anderson2010-09-191-1/+1
| | | | | | | r114268 fixed the last of the blockers to enabling it. I will be monitoring for failures. llvm-svn: 114312
* Update users manual comments on X86 and ARM support.Daniel Dunbar2010-09-191-6/+16
| | | | llvm-svn: 114311
* Add one more Core i7 model number.Jakob Stoklund Olesen2010-09-191-0/+2
| | | | llvm-svn: 114310
* Using regexp-opt for keyword regex declarations makes the word lists moreMisha Brukman2010-09-192-14/+17
| | | | | | readable and easier to edit. llvm-svn: 114308
* Added @expectedFailure decorator for test_set_term_width().Johnny Chen2010-09-191-0/+3
| | | | llvm-svn: 114307
* Added code that will allow completely customizable prompts for use inGreg Clayton2010-09-1910-205/+805
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replacing the "(lldb)" prompt, the "frame #1..." displays when doing stack backtracing and the "thread #1....". This will allow you to see exactly the information that you want to see where you want to see it. This currently isn't hookup up to the prompts yet, but it will be soon. So what is the format of the prompts? Prompts can contain variables that have access to the current program state. Variables are text that appears in between a prefix of "${" and ends with a "}". Some of the interesting variables include: // The frame index (0, 1, 2, 3...) ${frame.index} // common frame registers with generic names ${frame.pc} ${frame.sp} ${frame.fp} ${frame.ra} ${frame.flags} // Access to any frame registers by name where REGNAME is any register name: ${frame.reg.REGNAME} // The current compile unit file where the frame is located ${file.basename} ${file.fullpath} // Function information ${function.name} ${function.pc-offset} // Process info ${process.file.basename} ${process.file.fullpath} ${process.id} ${process.name} // Thread info ${thread.id} ${thread.index} ${thread.name} ${thread.queue} ${thread.stop-reason} // Target information ${target.arch} // The current module for the current frame (the shared library or executable // that contains the current frame PC value): ${module.file.basename} ${module.file.fullpath} // Access to the line entry for where the current frame is when your thread // is stopped: ${line.file.basename} ${line.file.fullpath} ${line.number} ${line.start-addr} ${line.end-addr} Many times the information that you might have in your prompt might not be available and you won't want it to print out if it isn't valid. To take care of this you can enclose everything that must resolve into a scope. A scope is starts with '{' and ends with '}'. For example in order to only display the current file and line number when the information is available the format would be: "{ at {$line.file.basename}:${line.number}}" Broken down this is: start the scope: "{" format whose content will only be displayed if all information is available: "at {$line.file.basename}:${line.number}" end the scope: "}" We currently can represent the infomration we see when stopped at a frame: frame #0: 0x0000000100000e85 a.out`main + 4 at test.c:19 with the following format: "frame #${frame.index}: ${frame.pc} {${module.file.basename}`}{${function.name}{${function.pc-offset}}{ at ${line.file.basename}:${line.number}}\n" This breaks down to always print: "frame #${frame.index}: ${frame.pc} " only print the module followed by a tick if we have a valid module: "{${module.file.basename}`}" print the function name with optional offset: "{${function.name}{${function.pc-offset}}" print the line info if it is available: "{ at ${line.file.basename}:${line.number}}" then finish off with a newline: "\n" Notice you can also put newlines ("\n") and tabs and everything else you are used to putting in a format string when desensitized with the \ character. Cleaned up some of the user settings controller subclasses. All of them do not have any global settings variables and were all implementing stubs for the get/set global settings variable. Now there is a default version in UserSettingsController that will do nothing. llvm-svn: 114306
* Removed the @expectedFailure decorators; it was fixed with r114258.Johnny Chen2010-09-191-2/+0
| | | | llvm-svn: 114305
* idiom recognition should catch this.Chris Lattner2010-09-191-0/+32
| | | | llvm-svn: 114304
* add a readme.Chris Lattner2010-09-191-0/+25
| | | | llvm-svn: 114303
* add corei7, the laptop version.Chris Lattner2010-09-191-0/+1
| | | | llvm-svn: 114302
* Fixes IRgen bug in objc++ reference binding of aFariborz Jahanian2010-09-182-1/+29
| | | | | | | getter expression. Fixes // rdar://8437240 llvm-svn: 114299
* X86Subtarget.h: Fix Cygwin's TD.NAKAMURA Takumi2010-09-181-1/+1
| | | | llvm-svn: 114297
* Problem with gnu conditional extension with missingFariborz Jahanian2010-09-185-6/+42
| | | | | | | | | | | | | | LHS and when conditional expression is an array. Since it will be decayed, saved expression must be saved with decayed expression. This is necessary to preserve semantics of this extension (and prevent an IRGen crash which expects an array to always be decayed). I am sure there will be other cases in c++ (aggregate conditionals for example) when saving of the expression must happen after some transformation on conditional expression has happened. Doug, please review. Fixes // rdar://8446940 llvm-svn: 114296
* Add the exit instruction to the PTX target.Eric Christopher2010-09-1824-16/+716
| | | | | | Patch by Che-Liang Chiou <clchiou@gmail.com>! llvm-svn: 114294
* Handle the odd case where we only have one instruction.Eric Christopher2010-09-181-0/+3
| | | | llvm-svn: 114293
* Fix build.Michael J. Spencer2010-09-181-0/+1
| | | | llvm-svn: 114292
* Give the Objective-C _cmd an "unlikely" code completion priority; it'sDouglas Gregor2010-09-183-2/+28
| | | | | | very rarely used. llvm-svn: 114286
* Make sure the STT_FILE symbol is the first one in the symbol table.Rafael Espindola2010-09-182-0/+36
| | | | llvm-svn: 114285
* Unbreak msvc build.Benjamin Kramer2010-09-181-1/+1
| | | | llvm-svn: 114284
* restrict dyn_cast_or_null to pointer types, just like cast_or_null; ↵Gabor Greif2010-09-181-2/+2
| | | | | | re-commit of r114279, backed out in r114280 llvm-svn: 114282
* do not rely on the implicit-dereference semantics of dyn_cast_or_nullGabor Greif2010-09-181-2/+2
| | | | llvm-svn: 114281
* back out r114279 as some darwin buildbots get errors compiling clang:Gabor Greif2010-09-181-2/+2
| | | | | | svn merge -c -114279 llvm/include/llvm/Support/Casting.h llvm-svn: 114280
* restrict dyn_cast_or_null to pointer types, just like cast_or_nullGabor Greif2010-09-181-2/+2
| | | | llvm-svn: 114279
* do not rely on the implicit-dereference semantics of dyn_cast_or_nullGabor Greif2010-09-181-1/+1
| | | | llvm-svn: 114278
* do not rely on the implicit-dereference semantics of dyn_cast_or_nullGabor Greif2010-09-181-4/+4
| | | | llvm-svn: 114277
* remove CallSite::get; it is still present (as protected) in the baseclass, ↵Gabor Greif2010-09-181-12/+2
| | | | | | use one of the constructors intead llvm-svn: 114275
* Fixed non-const iterator error.Lang Hames2010-09-181-1/+1
| | | | llvm-svn: 114273
* Added a separate class (PBQPBuilder) for PBQP Problem construction. This ↵Lang Hames2010-09-188-174/+572
| | | | | | | | | | | | class can be extended to support custom constraints. For now the allocator still uses the old (internal) construction mechanism by default. This will be phased out soon assuming no issues with the builder system come up. To invoke the new construction mechanism just pass '-regalloc=pbqp -pbqp-builder' to llc. To provide custom constraints a Target just needs to extend PBQPBuilder and pass an instance of their derived builder to the RegAllocPBQP constructor. llvm-svn: 114272
* docs: Tweak wording.Michael J. Spencer2010-09-181-5/+5
| | | | llvm-svn: 114271
* Fix code that break critical edges for PHI uses. Watch out for multiple PHIs ↵Evan Cheng2010-09-181-71/+66
| | | | | | in different blocks. llvm-svn: 114270
* static local variables with destructors don't require a global destructorJohn McCall2010-09-182-3/+10
| | | | | | | | | unless we're on a platform without __cxa_atexit (or use thereof has been disabled). This patch actually just disables the check completely for static locals, but I've filed http://llvm.org/bugs/show_bug.cgi?id=8176 to track the platform-specific fix. llvm-svn: 114269
* Invert the logic of reachesChainWithoutSideEffects(). What we want to check ↵Owen Anderson2010-09-182-7/+33
| | | | | | | | | | is that there is NO path to the destination containing side effects, not that SOME path contains no side effects. In practice, this only manifests with CombinerAA enabled, because otherwise the chain has little to no branching, so "any" is effectively equivalent to "all". llvm-svn: 114268
* Added a better error message to the "frame variable" when you try to viewGreg Clayton2010-09-181-1/+1
| | | | | | frame variables and are not stopped in a valid frame. llvm-svn: 114267
* Fixed an issue with:Greg Clayton2010-09-183-4/+11
| | | | | | | | (lldb) frame variable --location Where the address of variables wasn't being formatted consistently. llvm-svn: 114266
* General command line help cleanup:Greg Clayton2010-09-1817-77/+128
| | | | | | | | | | - All single character options will now be printed together - Changed all options that contains underscores to contain '-' instead - Made the help come out a little flatter by showing the long and short option on the same line. - Modified the short character for "--ignore-count" options to "-i" llvm-svn: 114265
* Thumb opcodes for thumb calls.Eric Christopher2010-09-181-1/+5
| | | | llvm-svn: 114263
OpenPOWER on IntegriCloud