summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix fmin*/fmax* library builtin signatures.Douglas Gregor2012-05-082-6/+8
| | | | llvm-svn: 156396
* Revert r156393, "[tests] Remove some remaining DejaGNU related cruft.", thisDaniel Dunbar2012-05-084-15/+241
| | | | | | patch wasn't ready yet. llvm-svn: 156395
* [tests] Remove some remaining DejaGNU related cruft.Daniel Dunbar2012-05-084-241/+15
| | | | llvm-svn: 156393
* Adding -fcolor-diagnostics is causing problem to users that parse the buildRafael Espindola2012-05-081-4/+0
| | | | | | | | | | | output. Peter Collingbourne also reports that it is showing up in $(llvm-config --cflags). Revert this for now since I don't know enough cmake to fix it properly. This reverts commit 18efed7adc79c1970f307bb5b015d199012ba872. llvm-svn: 156392
* Fixes a typo. note_xxx not not_xxx.Fariborz Jahanian2012-05-082-2/+2
| | | | llvm-svn: 156391
* Regenerate configure.Daniel Dunbar2012-05-081-86/+2
| | | | llvm-svn: 156390
* [docs] Remove POD based man page docs (and build system support).Daniel Dunbar2012-05-0827-3904/+1
| | | | | | - Currently this leaves us with less build system support (e.g., installing man pages) for the docs than is desired. I'm working on fixing this, but it may take a while. If someone finds this particularly egregious let me know and I will prioritize it. llvm-svn: 156389
* Make -Wformat accept printf("%hhx", c); with -funsigned-charHans Wennborg2012-05-082-2/+7
| | | | | | | | | For "%hhx", printf expects an unsigned char. This makes Clang accept a 'char' argument for that also when using -funsigned-char. This fixes PR12761. llvm-svn: 156388
* remove autoupgrade code for old function attributes format.Nuno Lopes2012-05-081-31/+1
| | | | | | I still left another fixme regarding alignment, because I'm unsure how to remove that code without breaking things llvm-svn: 156387
* [docs] Add support for building man pages using Sphinx.Daniel Dunbar2012-05-081-26/+33
| | | | llvm-svn: 156386
* [docs] Integrate the command guide into the toctree.Daniel Dunbar2012-05-081-2/+9
| | | | llvm-svn: 156385
* [docs] Add ReST version of all the man pages.Daniel Dunbar2012-05-0822-0/+3953
| | | | | | | - The POD versions are slated for execution, but are still around until llvm.org machinery is in place. llvm-svn: 156384
* remove TYPE_CODE_FUNCTION_OLD type code. it is no longer in use and it was ↵Nuno Lopes2012-05-082-23/+0
| | | | | | marked for removal in 3.0 llvm-svn: 156383
* s/CSR_Ghc/CSR_NoRegs/Jakob Stoklund Olesen2012-05-082-3/+3
| | | | | | | | | Share the CalleeSavedRegs defs between all calling conventions having no callee-saved registers. Patch by Yiannis Tsiouris! llvm-svn: 156382
* Lit: rewind WinWaitReleased() stuff in TestRunner.NAKAMURA Takumi2012-05-081-60/+6
| | | | | | | | | | r145222 "lit/TestRunner.py: [Win32] Introduce WinWaitReleased(f), to wait for file handles to be released by children." r145223 "lit/TestRunner.py: Use RemoveForce()." r145381 "lit/TestRunner.py: Try to catch ERROR_FILE_NOT_FOUND, too." r152916 "lit/TestRunner.py: [Win32] Check all opened_files[] released, rather than (obsoleted) written_files[]." r153172 "lit/TestRunner.py: [Win32] Rework WinWaitReleased() again! "win32file" from Python Win32 Extensions." llvm-svn: 156381
* Windows/PathV2.inc: Retry rename() for (maximum) 2 seconds.NAKAMURA Takumi2012-05-081-4/+14
| | | | | | Files might be opend by system scanners (eg. file indexer, virus scanner, &c). llvm-svn: 156380
* Calling ReassociateExpression recursively is extremely dangerous since it willDuncan Sands2012-05-083-7/+117
| | | | | | | | | | | | | replace the operands of expressions with only one use with undef and generate a new expression for the original without using RAUW to update the original. Thus any copies of the original expression held in a vector may end up referring to some bogus value - and using a ValueHandle won't help since there is no RAUW. There is already a mechanism for getting the effect of recursion non-recursively: adding the value to be recursed on to RedoInsts. But it wasn't being used systematically. Have various places where recursion had snuck in at some point use the RedoInsts mechanism instead. Fixes PR12169. llvm-svn: 156379
* Rejected r156374: Ordinary PR1255 patch. Due to clang-x86_64-debian-fnt ↵Stepan Dyatkovskiy2012-05-086-236/+39
| | | | | | buildbot failure. llvm-svn: 156377
* Remove 256-bit AVX non-temporal store intrinsics. Similar was previously ↵Craig Topper2012-05-084-22/+57
| | | | | | done for 128-bit. llvm-svn: 156375
* Ordinary patch for PR1255.Stepan Dyatkovskiy2012-05-086-39/+236
| | | | | | | Added new case-ranges orientated methods for adding/removing cases in SwitchInst. After this patch cases will internally representated as ConstantArray-s instead of ConstantInt, externally cases wrapped within the ConstantRangesSet object. Old methods of SwitchInst are also works well, but marked as deprecated. So on this stage we have no side effects except that I added support for case ranges in BitcodeReader/Writer, of course test for Bitcode is also added. Old "switch" format is also supported. llvm-svn: 156374
* [clang.py] Remove trailing whitespace from recent commitsGregory Szorc2012-05-082-6/+6
| | | | llvm-svn: 156373
* [clang.py] TranslationUnit API improvementsGregory Szorc2012-05-083-63/+325
| | | | | | | | | | | | | | | | | * TranslationUnit reading and parsing now implemented as TranslationUnit.from_ast() and TranslationUnit.from_source(). * Index.parse() and Index.read() implemented through above. * Index.parse() and Index.read() now raise a TanslationUnitLoadException instead of returning None if a TranslationUnit could not be instantiated. This is backwards incompatible. * Ability to save TranslationUnits via TranslationUnit.save(). * TranslationUnit now holds onto Index instance that created. This means the Index can't be GC'd until the TranslationUnit is itself GC'd, making memory management thoughtless. * Don't use [] as a default argument value, as the initial value used is reused for the duration of the program. llvm-svn: 156372
* Teach the analyzer about CXXScaleValueInitExpr.Ted Kremenek2012-05-083-10/+21
| | | | llvm-svn: 156369
* <rdar://problem/10605072>Greg Clayton2012-05-081-1/+3
| | | | | | Fixed the command callback override lookup function so we can now override the "process launch" command (or any other multi-word commands). llvm-svn: 156368
* Clean up SemaDeclAttr for high-warnings build.Jordy Rose2012-05-081-8/+8
| | | | | | Includes a real potential initialization problem. llvm-svn: 156363
* [analyzer] BasicConstraintManager: drop NE-constraints once we have a value.Jordy Rose2012-05-081-1/+3
| | | | | | | This could conceivably cut down on state proliferation, although we don't use BasicConstraintManager by default anymore. No functionality change. llvm-svn: 156362
* [analyzer] Rework both constraint managers to handle mixed-type comparisons.Jordy Rose2012-05-0810-219/+766
| | | | | | | | | | | | | | | | | | This involves keeping track of three separate types: the symbol type, the adjustment type, and the comparison type. For example, in "$x + 5 > 0ULL", if the type of $x is 'signed char', the adjustment type is 'int' and the comparison type is 'unsigned long long'. Most of the time these three types will be the same, but we should still do the right thing when the comparison value is out of range, and wraparound should be calculated in the adjustment type. This also re-disables an out-of-bounds test; we were extracting the symbol from non-additive SymIntExprs, but then throwing away the integer. Sorry for the large patch; both the basic and range constraint managers needed to be updated together, since they share code in SimpleConstraintManager. llvm-svn: 156361
* [analyzer] Add an abstraction for the bit width and signedness of an APSInt. ↵Jordy Rose2012-05-083-51/+120
| | | | | | | | No functionality change. There are more parts of the analyzer that could use the convenience of APSIntType, particularly the constraint engine, but that needs a fair amount of rewriting to handle mixed-type constraints anyway. llvm-svn: 156360
* bump TOT version number to lldb-146 to match the checkin on the branch.Jason Molenda2012-05-084-18/+18
| | | | llvm-svn: 156359
* Allow NULL LoopPassManager argument in UnrollLoop. PR12734.Andrew Trick2012-05-082-20/+26
| | | | llvm-svn: 156358
* hopefully unbreak some buildbotsNuno Lopes2012-05-081-2/+2
| | | | llvm-svn: 156357
* <rdar://problem/11358639>Greg Clayton2012-05-08195-429/+948
| | | | | | | | Switch over to the "*-apple-macosx" for desktop and "*-apple-ios" for iOS triples. Also make the selection process for auto selecting platforms based off of an arch much better. llvm-svn: 156354
* [libclang] Map 'id'/'Class'/'SEL' to the corresponding CXType kinds.Argyrios Kyrtzidis2012-05-082-4/+19
| | | | | | rdar://11357807 llvm-svn: 156352
* Add clarification comments.Johnny Chen2012-05-081-0/+2
| | | | llvm-svn: 156350
* Robustify testDouglas Gregor2012-05-081-2/+6
| | | | llvm-svn: 156349
* Add missing 'y'.Rafael Espindola2012-05-082-2/+2
| | | | llvm-svn: 156348
* Introduce a new libclang API to determine the platform availability ofDouglas Gregor2012-05-086-3/+269
| | | | | | | | a given entity, so that we can tell when the entity was introduced/deprecated/obsoleted on each platform for which we have an annotation. Addresses <rdar://problem/11365715>. llvm-svn: 156347
* Teach the static analyzer that NSLog() and friends do not hold on to object ↵Ted Kremenek2012-05-082-0/+20
| | | | | | references (thus extending their lifetime). llvm-svn: 156346
* Extract methods for joining physregs.Jakob Stoklund Olesen2012-05-081-77/+103
| | | | | | No functional change. llvm-svn: 156345
* Updated LLVM to take a fix for disassembly ofSean Callanan2012-05-081-1/+1
| | | | | | Thumb branch operands. llvm-svn: 156344
* Process attributes in the order they appear in the source code. This make clangRafael Espindola2012-05-076-14/+19
| | | | | | | | | | | | | | match gcc behavior for two conflicting visibilities in the same decl. It also makes handling of dllimport/dllexport more natural. As a bonus we now warn on the dllimport in void __attribute__((dllimport)) foo13(); void __attribute__((dllexport)) foo13(); as does gcc. llvm-svn: 156343
* Naming convention and whitespace. No functional change.Jakob Stoklund Olesen2012-05-071-68/+67
| | | | llvm-svn: 156342
* [analyzer]Turn on MallocSizeOfChecker by default; shorten the diagnosticAnna Zaks2012-05-073-17/+16
| | | | llvm-svn: 156341
* Updated to a more meaningful macro name.Johnny Chen2012-05-072-3/+3
| | | | llvm-svn: 156340
* [libclang] Actually commit the changes to make libclang's RecursiveASTVisitorArgyrios Kyrtzidis2012-05-071-190/+121
| | | | | | data-recursive for statements. llvm-svn: 156339
* Fix the problem that 'help breakpoint set' is printing a lot of redundant lines.Johnny Chen2012-05-073-2/+9
| | | | | | | | | | Correctly specify the LLDB_OPT_SET's that the 'shlib' command option belongs to by using a newly added macro like this: #define LLDB_OPT_NOT_10 ( LLDB_OPT_SET_FROM(1, 10) & ~LLDB_OPT_SET_10 ) rdar://problem/11393864 llvm-svn: 156337
* Add an -F option to the redo.py script to selectively re-run only those ↵Johnny Chen2012-05-071-5/+20
| | | | | | | | | | | | failed sessions whose filenames contain the component(s) specified. For example: ./redo.py -F x86_64 -n 2012-05-07-15_28_24 will redo the failed sessions under the 2012-05-07-15_28_24 directory, but only for session names which contain 'x86_64' in it. llvm-svn: 156335
* Coalesce subreg-subreg copies.Jakob Stoklund Olesen2012-05-071-14/+25
| | | | | | | | | | | | | | | | | At least some of them: %vreg1:sub_16bit = COPY %vreg2:sub_16bit; GR64:%vreg1, GR32: %vreg2 Previously, we couldn't figure out that the above copy could be eliminated by coalescing %vreg2 with %vreg1:sub_32bit. The new getCommonSuperRegClass() hook makes it possible. This is not very useful yet since the unmodified part of the destination register usually interferes with the source register. The coalescer needs to understand sub-register interference checking first. llvm-svn: 156334
* Remove C Backend from the bugpoint docsPete Cooper2012-05-071-8/+8
| | | | llvm-svn: 156333
* [libclang] Put the RecursiveASTVisitor in libclang in a cxindex namespace.Argyrios Kyrtzidis2012-05-073-2/+4
| | | | llvm-svn: 156331
OpenPOWER on IntegriCloud