summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a missing break, from John WiegleyDouglas Gregor2011-03-031-0/+1
| | | | llvm-svn: 126919
* Check the ASM, not LLVM IR.Bill Wendling2011-03-031-1/+2
| | | | llvm-svn: 126918
* http://llvm.org/bugs/show_bug.cgi?id=9349 I introduced a bug with the last ↵Howard Hinnant2011-03-031-0/+1
| | | | | | fix and Ryuta Suzuki has corrected it. And hopefully I committed Ryuta Suzuki's directions correctly this time. llvm-svn: 126917
* Add TestTargetAPI.py:Johnny Chen2011-03-038-36/+266
| | | | | | | | | | | | | | | | | | | | | | | // When stopped on breakppint 1, and then 2, we can get the line entries using // SBFrame API SBFrame.GetLineEntry(). We'll get the start addresses for the // two line entries; with the start address (of SBAddress type), we can then // resolve the symbol context using the SBTarget API // SBTarget.ResolveSymbolContextForAddress(). // // The two symbol context should point to the same symbol, i.e., 'a' function. Add two utility functions to lldbutil.py: o get_stopped_threads(process, reason): return the list of threads with the specified stop reason or an empty list if not found o get_stopped_thread(process, reason): return the first thread with the given stop reason or None if not found llvm-svn: 126916
* pr9367: Add missing predicated BLX instructions.Bob Wilson2011-03-034-4/+27
| | | | | | Patch by Jyun-Yan You, with some minor adjustments and a testcase from me. llvm-svn: 126915
* Testcase for r126913.Bill Wendling2011-03-031-0/+10
| | | | llvm-svn: 126914
* Change the SplitEditor interface to a single instance can be shared for ↵Jakob Stoklund Olesen2011-03-033-41/+51
| | | | | | multiple splits. llvm-svn: 126912
* Only run the updateSSA loop when we have actually seen multiple values.Jakob Stoklund Olesen2011-03-031-3/+23
| | | | | | When only a single value has been seen, new PHIDefs are never needed. llvm-svn: 126911
* Teach CFGImplicitDtor::getDestructorDecl() about arrays of objects with ↵Ted Kremenek2011-03-034-6/+14
| | | | | | destructors. llvm-svn: 126910
* Teach CFGImplicitDtor::getDestructorDecl() about reference types.Ted Kremenek2011-03-032-2/+15
| | | | llvm-svn: 126909
* Let's go with John and Ted's preferred fix.Matt Beaumont-Gay2011-03-031-1/+2
| | | | llvm-svn: 126907
* Fix PHI handling in LiveIntervals::shrinkToUses().Jakob Stoklund Olesen2011-03-031-1/+1
| | | | | | | | | We need to wait until we meet a PHIDef in its defining block before resurrecting PHIKills in the predecessors. This should unbreak the llvm-gcc-build-x86_64-darwin10-x-mingw32-x-armeabi bot. llvm-svn: 126905
* Fix bug where bitwise-AND was being used and it should have been bitwise-OR.Caroline Tice2011-03-031-5/+5
| | | | llvm-svn: 126904
* Add code to emulate ADD (immediate, Thumb) Arm instruction.Caroline Tice2011-03-023-1/+127
| | | | | | Add addition context to EmulateInstruction contexts. llvm-svn: 126903
* Test case for r126864. Radar 9056407.Stuart Hastings2011-03-021-0/+51
| | | | llvm-svn: 126900
* Avoid exponential blow-up when printing DAGs.Bob Wilson2011-03-021-2/+5
| | | | | | | | | | | | | David Greene changed CannotYetSelect() to print the full DAG including multiple copies of operands reached through different paths in the DAG. Unfortunately this blows up exponentially in some cases. The depth limit of 100 is way too high to prevent this -- I'm seeing a message string of 150MB with a depth of only 40 in one particularly bad case, even though the DAG has less than 200 nodes. Part of the problem is that the printing code is following chain operands, so if you fail to select an operation with a chain, the printer will follow all the chained operations back to the entry node. llvm-svn: 126899
* Turn the Edit member into a pointer so it can change dynamically.Jakob Stoklund Olesen2011-03-022-44/+44
| | | | | | No functional change. llvm-svn: 126898
* Keep GCC from complaining about falling off the end of the function.Matt Beaumont-Gay2011-03-021-0/+1
| | | | llvm-svn: 126897
* Test case for r126672. Radar 9055247.Stuart Hastings2011-03-021-0/+2
| | | | llvm-svn: 126896
* Fixes an assertion failure while disassembling ARM rsbs reg/reg form.Kevin Enderby2011-03-022-0/+16
| | | | | | Patch by Ted Kremenek! llvm-svn: 126895
* Transfer simply defined values directly without recomputing liveness and SSA.Jakob Stoklund Olesen2011-03-023-29/+75
| | | | | | | | Values that map to a single new value in a new interval after splitting don't need new PHIDefs, and if the parent value was never rematerialized the live range will be the same. llvm-svn: 126894
* Extract a method. No functional change.Jakob Stoklund Olesen2011-03-022-27/+28
| | | | llvm-svn: 126893
* Export the ability to get the start and end addresses for functionsGreg Clayton2011-03-025-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | and symbols, and also allow clients to get the prologue size in bytes: SBAddress SBFunction::GetStartAddress (); SBAddress SBFunction::GetEndAddress (); uint32_t SBFunction::GetPrologueByteSize (); SBAddress SBSymbol::GetStartAddress (); SBAddress SBSymbol::GetEndAddress (); uint32_t SBSymbol::GetPrologueByteSize (); llvm-svn: 126892
* Add code to emulate MUL Arm instruction.Caroline Tice2011-03-022-1/+159
| | | | | | Add new context type & info structure for mul instruction. llvm-svn: 126891
* Fix a typo.Dan Gohman2011-03-021-1/+1
| | | | llvm-svn: 126890
* Remove cruftDouglas Gregor2011-03-021-9/+0
| | | | llvm-svn: 126888
* Force CaseStmt to store its child statements in source-code order,Douglas Gregor2011-03-023-4/+53
| | | | | | | which is important for libclang's token-annotation and where's-my-cursor functionality. Fixes <rdar://problem/9004439>. llvm-svn: 126887
* Revert "Add CC_Win64ThisCall and set it in the necessary places."Tilmann Scheller2011-03-0216-113/+40
| | | | | | This reverts commit 126863. llvm-svn: 126886
* Added a missing API call in SBTarget that enables one to getGreg Clayton2011-03-024-10/+30
| | | | | | | | | | | | anything in a SBSymbolContext filled in given an SBAddress: SBSymbolContext SBTarget::ResolveSymbolContextForAddress (const SBAddress& addr, uint32_t resolve_scope); Also did a little cleanup on the ProcessGDBRemote stdio file handle code. llvm-svn: 126885
* Apply sysroot to system c++ headers too. Fixes PR9372.Rafael Espindola2011-03-021-1/+1
| | | | llvm-svn: 126884
* Only emit string initializers in-place if types match. Fixes PR9373.Benjamin Kramer2011-03-022-1/+5
| | | | llvm-svn: 126883
* Fixing a bug when printing fpu text to object file. Patch by Mans Rullgard.Renato Golin2011-03-021-1/+1
| | | | llvm-svn: 126882
* Add code to emulate LDRSH (register) Arm instruction.Caroline Tice2011-03-021-1/+184
| | | | llvm-svn: 126881
* Fix the source range for a member access expression that includes aDouglas Gregor2011-03-025-57/+88
| | | | | | | nested-name-specifier and improve the detection of implicit 'this' bases. Fixes <rdar://problem/8750392>. llvm-svn: 126880
* Work around a misdesigned GCC warning.John McCall2011-03-021-1/+1
| | | | llvm-svn: 126879
* add some slice helper methods.Chris Lattner2011-03-021-2/+13
| | | | llvm-svn: 126878
* Clarified the docstrings for int_to_bytearray() and bytearray_to_int().Johnny Chen2011-03-021-6/+4
| | | | llvm-svn: 126877
* Revert "Add preliminary support for MSVC-style vtables."Tilmann Scheller2011-03-021-61/+2
| | | | | | This reverts commit 126865. llvm-svn: 126876
* Introduce CFGImplicitDtor::isNoReturn() to query whether a destructor ↵Ted Kremenek2011-03-024-12/+72
| | | | | | actually returns. Use this for -Wreturn-type to prune false positives reported in PR 6884. llvm-svn: 126875
* revert r126858.Devang Patel2011-03-025-27/+20
| | | | llvm-svn: 126874
* Remove DIFactory. Patch by Devang.Duncan Sands2011-03-022-871/+12
| | | | llvm-svn: 126871
* IRGen. Fix IR when message returns reference type.Fariborz Jahanian2011-03-022-0/+23
| | | | | | // rdar://8604515. llvm-svn: 126869
* Add some function docs.Jim Ingham2011-03-021-0/+18
| | | | llvm-svn: 126868
* Add some comments.Johnny Chen2011-03-021-0/+4
| | | | llvm-svn: 126867
* Add code to emulate LDRSH (literal) Arm instruction.Caroline Tice2011-03-021-0/+108
| | | | llvm-svn: 126866
* Add preliminary support for MSVC-style vtables.Tilmann Scheller2011-03-021-2/+61
| | | | llvm-svn: 126865
* Can't introduce floating-point immediate constants after legalization.Stuart Hastings2011-03-021-2/+6
| | | | | | Radar 9056407. llvm-svn: 126864
* Add CC_Win64ThisCall and set it in the necessary places.Tilmann Scheller2011-03-0216-40/+113
| | | | llvm-svn: 126863
* Add Win64 thiscall calling convention.Tilmann Scheller2011-03-026-1/+18
| | | | llvm-svn: 126862
* Teach libclang how to visit the children of a C++ base-class specifierDouglas Gregor2011-03-022-2/+22
| | | | | | (i.e., the TypeLoc describing the base class type). llvm-svn: 126861
OpenPOWER on IntegriCloud