summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Start refactoring lldbtest.TestBase so that it inherits from a newly created ↵Johnny Chen2011-08-011-127/+148
| | | | | | | | | | lldbtest.Base class, while its API clients remain unchanged. The new lldbtest.Base class is to capture common behaviors when working with the test driver to accomplish things. The clients of lldbtest.Base can be lldb command line and api tests as well as other generic tests like a benchmark test. llvm-svn: 136636
* Enhance the fixed length disassembler to better handle operand decoding ↵Owen Anderson2011-08-011-2/+2
| | | | | | failures. llvm-svn: 136635
* Add a clear() operation to MCInst, to drop all of its operands. Useful for ↵Owen Anderson2011-08-011-0/+2
| | | | | | the disassembler, where we may realize fairly late into decoding that something is wrong and need to reset. llvm-svn: 136634
* Remove the @expectedFailure decorator since the bug has been fixed.Johnny Chen2011-08-011-4/+4
| | | | | | rdar://problem/9673664 llvm-svn: 136633
* Added checking to make sure that the target has aSean Callanan2011-08-014-5/+22
| | | | | | scratch AST context before attempting to parse. llvm-svn: 136631
* Pass records with non-trivial destructors or constructors indirectly.Akira Hatanaka2011-08-011-0/+5
| | | | llvm-svn: 136630
* Fixed a bug where named constants were beingSean Callanan2011-08-011-2/+17
| | | | | | | | | | | | | | treated as externals, causing problems when we tried to look their locations up in the debug info. For example: expr char c[] = "foo"; c[0] would terminate when trying to find c in the debug information, despite the fact that c was defined inside the expression. llvm-svn: 136629
* Fix linkage type for tentative definition of ivar offset variables (GNUstep ↵David Chisnall2011-08-011-2/+2
| | | | | | runtime) llvm-svn: 136628
* Remove the deprecated MacOSX native plug-in.Greg Clayton2011-08-0137-11384/+38
| | | | llvm-svn: 136626
* Copy the native darwin register stuff out of the ProcessMacOSXGreg Clayton2011-08-016-0/+380
| | | | | | plug-in folder. llvm-svn: 136625
* Move the serialization of the MODULE_OFFSET_MAP out of the ↵Douglas Gregor2011-08-011-32/+35
| | | | | | source-manager-writing code and into the general chained-PCH writing code llvm-svn: 136624
* Fix crash with varargs function with no named parameters.Richard Osborne2011-08-012-2/+19
| | | | llvm-svn: 136623
* Updated LLVM to pick up a few new ARM targets.Sean Callanan2011-08-011-1/+1
| | | | llvm-svn: 136622
* Update CMake target names for tablegen-generated data in the X86 and ARM ↵Douglas Gregor2011-08-013-3/+3
| | | | | | targets. This should fix the CMake build with MSVC. llvm-svn: 136621
* Rename the AST file's SOURCE_LOCATION_MAP to MODULE_OFFSET_MAP, to indicate ↵Douglas Gregor2011-08-013-5/+8
| | | | | | the greater role it will soon play in remapping. llvm-svn: 136619
* Add BlockFrequency::getEntryFrequency()Jakub Staszak2011-08-012-7/+11
| | | | llvm-svn: 136618
* Add braces.Jay Foad2011-08-011-1/+2
| | | | llvm-svn: 136612
* Simplify printAlias.Jay Foad2011-08-011-21/+2
| | | | llvm-svn: 136611
* Micro-optimisation in getAliasedGlobal.Jay Foad2011-08-011-1/+1
| | | | llvm-svn: 136610
* Remove an unnecessary cast.Jay Foad2011-08-011-1/+1
| | | | llvm-svn: 136609
* The operands of a GlobalAlias are always Constants. Simplify thingsJay Foad2011-08-011-5/+4
| | | | | | accordingly. llvm-svn: 136608
* Update Xcode project versions to lldb-70 and debugserver-142.Greg Clayton2011-08-013-22/+22
| | | | llvm-svn: 136606
* I mis-interpreted the MCDisassembler's intended dependencies. Now to fixChandler Carruth2011-07-311-2/+9
| | | | | | | | | | | | | them properly. Specifically, the disassembler clearly attempts to initialiaze all TargetInfo, MCTargeDesc, AsmParser, and Disassembler sublibraries of registered targets. This makes the CMakeLists accurately reflect this intent in the code. This should fix the last of the link errors that I have gotten reports of on OS X, but if anyone continues to see link errors, continue to pester me and I'll look into it. llvm-svn: 136603
* Test for // rdar://9846759Fariborz Jahanian2011-07-311-0/+32
| | | | llvm-svn: 136602
* Correct misspelling:_LIBCPP_APPLE_STABLE_ABI -> _LIBCPP_STABLE_APPLE_ABIHoward Hinnant2011-07-311-3/+3
| | | | llvm-svn: 136597
* Change how _LIBCPP_HAS_NO_ADVANCED_SFINAE gets set.Howard Hinnant2011-07-311-1/+1
| | | | llvm-svn: 136596
* Fixed PR10507 (http://llvm.org/bugs/show_bug.cgi?id=10507)Howard Hinnant2011-07-311-3/+4
| | | | llvm-svn: 136595
* Fix some validation errors.Bill Wendling2011-07-311-0/+2
| | | | llvm-svn: 136591
* Fix some validation errors.Bill Wendling2011-07-311-3/+5
| | | | llvm-svn: 136590
* Add the 'resume' instruction for the new EH rewrite.Bill Wendling2011-07-3124-73/+257
| | | | | | | | | This adds the 'resume' instruction class, IR parsing, and bitcode reading and writing. The 'resume' instruction resumes propagation of an existing (in-flight) exception whose unwinding was interrupted with a 'landingpad' instruction (to be added later). llvm-svn: 136589
* Do not handle cases with >= and <= predicates.Jakub Staszak2011-07-311-7/+0
| | | | llvm-svn: 136588
* Remove untrue comment.Jakub Staszak2011-07-311-3/+0
| | | | llvm-svn: 136587
* Do not handle case where LHS is equal to zero, because InstCombiner always movesJakub Staszak2011-07-311-24/+8
| | | | | | it to RHS anyway. llvm-svn: 136586
* Add a small gep optimization I noticed was missing while reading some IL.Rafael Espindola2011-07-312-11/+33
| | | | llvm-svn: 136585
* Time the emission of debug values.Jakob Stoklund Olesen2011-07-311-1/+4
| | | | llvm-svn: 136584
* Add Zero Heurestics to BranchProbabilityInfo. If we compare value to zero weJakub Staszak2011-07-311-1/+91
| | | | | | | | | | | | | decide whether condition is likely to be true this way: x == 0 -> false x < 0 -> false x <= 0 -> false x != 0 -> true x > 0 -> true x >= 0 -> true llvm-svn: 136583
* Remove InvalidateStructLayoutInfo from the ocaml bindings.Benjamin Kramer2011-07-314-17/+0
| | | | llvm-svn: 136582
* Remove dead code flagged by GCC's -Wunused-but-set-variable.Benjamin Kramer2011-07-313-12/+0
| | | | llvm-svn: 136581
* Add reloc arg to standard JIT createJIT()Peter Collingbourne2011-07-301-0/+1
| | | | | | Fixes non-__APPLE__ build. Patch by Matt Johnson! llvm-svn: 136580
* Protect a bit against uninitialized std::list objects, but there is moreGreg Clayton2011-07-301-26/+33
| | | | | | work to be done. llvm-svn: 136579
* Protect a bit better against uninitialized vectors.Greg Clayton2011-07-301-8/+38
| | | | llvm-svn: 136578
* Revert r136547, r136545, and r136542 by removing slist.Chandler Carruth2011-07-301-126/+0
| | | | | | | | | | | This was checked in without review. It is not clear its reasonable to include with libc++ at all, and needs discussion at a highlevel before moving forward. It's also completely lacking tests, and included several bugs in the implementation. llvm-svn: 136577
* Revert r136546, which was submitted without review.Chandler Carruth2011-07-301-1/+0
| | | | | | | | | Original change: Destruct elements of hash tables when removing individual entries from the hash_table. I think this is the correct solution to PR10507, but I'm not sure since this is a little bit cargo-culted. Howard, please review. llvm-svn: 136576
* Not sure why we bother updating FunctionDecl's EndRangeLoc in ↵Argyrios Kyrtzidis2011-07-301-5/+0
| | | | | | | | FunctionDecl::setParams. EndRangeLoc should always be set to at least the ending paren or brace. llvm-svn: 136573
* [libclang] Annotation of parameters that got default args from a previous ↵Argyrios Kyrtzidis2011-07-304-0/+31
| | | | | | | | | declarations was broken because the end location of the parameter was the end location of the default arg, resulting in a source range that could begin in one file and end in another. llvm-svn: 136572
* Revert r136528 "Enable compact region splitting by default."Jakob Stoklund Olesen2011-07-301-1/+1
| | | | | | | While this generally helped x86-64, there was some large regressions for i386. llvm-svn: 136571
* Switch another of the old dependencies on implicitly produced syntheticChandler Carruth2011-07-301-1/+1
| | | | | | | rules to the new explicitly listed TableGen rules. Somehow I missed this in my original sweep. llvm-svn: 136567
* Introduce a Fix-It for the "missing sentinel" warning, adding anDouglas Gregor2011-07-304-7/+35
| | | | | | | appropriate sentinel at the end of the argument list. Also, put the sentinel warnings under -Wsentinel. Fixes <rdar://problem/8764236>. llvm-svn: 136566
* Remove yet another buried and hidden implicit dependency: every singleChandler Carruth2011-07-301-7/+0
| | | | | | | | | | | | | sub-library for the targets depended on the core target CodeGen library. This completely undermined the careful work to separate the those libraries, especially the MC-layer ones. This surfaced as circular dependencies when the libraries were built as shared libraries where CMake doesn't allow cycles. This should fix PR10537. I'll watch the bots to see if there is fallout on other platforms. llvm-svn: 136565
* Add code completion to produce "else" blocks after an "if"Douglas Gregor2011-07-304-0/+71
| | | | | | statement. Fixes <rdar://problem/9229438>. llvm-svn: 136564
OpenPOWER on IntegriCloud