summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Create a machine basic block in the constant pool and retrieve the symbol ↵Bill Wendling2011-09-292-0/+7
| | | | | | for an MBB. llvm-svn: 140824
* Support creating a constant pool value for a machine basic block.Bill Wendling2011-09-292-2/+30
| | | | | | | This is used when we want to take the address of a machine basic block, but it's not associated with a BB in LLVM IR. llvm-svn: 140823
* Fixed an issue where a lexical block or inlined function might have bad debugGreg Clayton2011-09-295-7/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | information generated for it. Say we have a concrete function "foo" which has inlined function "a" which calls another inlined function "b": foo 1 { 2 { a () 3 { b () 4 { } } } } Sometimes we see the compiler generate an address range in the DWARF for "foo" (block 1 above) as say [0x1000-0x1100). Then the range for "a" is something like [0x1050-0x1060) (note that it is correctly scoped within the "foo" address range). And then we get "b" which is a child of "a", yet the debug info says it has a range of [0x1060-0x1080) (not contained within "a"). We now detect this issue when making our blocks and add an extra range to "a". Also added a new "lldb" logging category named "symbol" where we can find out about symbol file errors and warnings. llvm-svn: 140822
* Fold two identical set lookups into one. No functionality change.Nick Lewycky2011-09-291-4/+2
| | | | llvm-svn: 140821
* Mark the ExtWarn for in-class initialization of static const float members ↵Richard Smith2011-09-297-23/+21
| | | | | | as a GNU extension. Don't extend the scope of this extension to all literal types in C++0x mode. llvm-svn: 140820
* Add an additional "frame select" usage where it will re-select the current frameJason Molenda2011-09-291-0/+6
| | | | | | | if no frame is specified. This is useful to get the source context lines re-displayed when you need a reminder of where you are in the source currently. llvm-svn: 140819
* Minor refactoring. Enumerators may inherit the deprecated/unavailable Fariborz Jahanian2011-09-292-37/+43
| | | | | | | attributes from the enumeration type. // rdar://10201690 llvm-svn: 140818
* Fix verbose logging of unwinders.Jason Molenda2011-09-292-16/+16
| | | | llvm-svn: 140817
* Switch to ArrayRef<CodeGenRegisterClass*>.Jakob Stoklund Olesen2011-09-298-66/+58
| | | | | | | This makes it possible to allocate CodeGenRegisterClass instances dynamically and reorder them. llvm-svn: 140816
* When eliminating unnecessary retain+autorelease on return values,Dan Gohman2011-09-292-1/+61
| | | | | | | handle the case where the retain is in a different basic block. rdar://10210274. llvm-svn: 140815
* Don't eliminate objc_retainBlock calls on stack objects if theDan Gohman2011-09-292-8/+83
| | | | | | | objc_retainBlock call is potentially responsible for copying the block to the heap to extend its lifetime. rdar://10209613. llvm-svn: 140814
* Centralize the warning reporting and use ReportWarning & ReportError ↵Jim Ingham2011-09-292-8/+30
| | | | | | everywhere we were using fprintf(stderr directly. llvm-svn: 140813
* PR11040: CheckICE should not allow an lvalue bitcast as part of an integer ↵Eli Friedman2011-09-292-5/+13
| | | | | | constant expression. llvm-svn: 140812
* Modify the delegation chain from MachThreadList -> MachThread -> ↵Johnny Chen2011-09-2910-20/+107
| | | | | | | | | | | | | | DNBArchProtocol so that when the watchpoint state is changed, not only does the change propagate to all the thread instances, it also updates a global debug state, if chosen by the DNBArchProtocol derivative. Once implemented, the DNBArchProtocol derivative, also makes sure that when new thread comes along, it tries to inherit from the global debug state, if it is valid. Modify TestWatchpointMultipleThreads.py to test this functionality. llvm-svn: 140811
* Tidy up. Formatting.Jim Grosbach2011-09-291-8/+5
| | | | llvm-svn: 140810
* In C++0x, static const volatile data members cannot be initialized in-class.Richard Smith2011-09-294-4/+36
| | | | llvm-svn: 140809
* Free up some space in lldb_private::Block by not requiring a sibling pointer.Greg Clayton2011-09-292-34/+55
| | | | | | | | The old way of storing blocks used to use the sibling pointer, but now all blocks contain a collection of shared pointers to blocks so this isn't required anymore and a parent can be asked to find the sibling block for a child block. llvm-svn: 140808
* Fix typo.Nick Lewycky2011-09-291-1/+1
| | | | llvm-svn: 140807
* Mips64 arithmetic and logical instructions with two source registers.Akira Hatanaka2011-09-292-0/+66
| | | | llvm-svn: 140806
* Windows port work by Ruben Van BoxemHoward Hinnant2011-09-295-8/+101
| | | | llvm-svn: 140805
* Missed one place where we should use the target's SourceManager, not the ↵Jim Ingham2011-09-291-1/+1
| | | | | | debugger's. llvm-svn: 140804
* Clean up uses of switch instructions so they are not dependent on the ↵Eli Friedman2011-09-298-33/+61
| | | | | | operand ordering. Patch by Stepan Dyatkovskiy. llvm-svn: 140803
* PR11000: Fix crash on invalid.Richard Smith2011-09-292-1/+10
| | | | llvm-svn: 140802
* constexpr: semantic checking for constexpr variables.Richard Smith2011-09-2911-56/+248
| | | | | | We had an extension which allowed const static class members of floating-point type to have in-class initializers, 'as a C++0x extension'. However, C++0x does not allow this. The extension has been kept, and extended to all literal types in C++0x mode (with a fixit to add the 'constexpr' specifier). llvm-svn: 140801
* c - Enumerators may inherit the deprecated/unavailable Fariborz Jahanian2011-09-295-9/+41
| | | | | | | attributes from the enumeration type. // rdar://10201690 llvm-svn: 140800
* Add more comments to several checker callback functions.Anna Zaks2011-09-291-0/+18
| | | | llvm-svn: 140797
* Add support for alignment-specifiers in C1X and C++11, removePeter Collingbourne2011-09-2916-58/+153
| | | | | | | support for the C++0x draft [[align]] attribute and add the C1X standard header file stdalign.h llvm-svn: 140796
* Add a warning group for warnings about using C1X features as extensionsPeter Collingbourne2011-09-293-5/+6
| | | | llvm-svn: 140795
* Add support for parsing an attribute-specifier-seq containing multiplePeter Collingbourne2011-09-293-8/+26
| | | | | | attribute-specifiers llvm-svn: 140794
* Add support for parsing the optional attribute-specifier-seq at thePeter Collingbourne2011-09-292-0/+5
| | | | | | end of a decl-specifier-seq llvm-svn: 140793
* Simplify.Devang Patel2011-09-291-11/+17
| | | | llvm-svn: 140789
* If the new .apple_names and .apple_types DWARF accelerator tablesGreg Clayton2011-09-294-13/+46
| | | | | | | | | are available, we currently will still index the DWARF ourselves and assert if the name lookups differ. This will help us transition to the new accelerator tables and make sure they are workng before we switch over entirely. llvm-svn: 140788
* Clarify comments.Devang Patel2011-09-292-4/+3
| | | | llvm-svn: 140787
* Remove unnecessary and unused data member.Devang Patel2011-09-292-3/+2
| | | | llvm-svn: 140786
* Cosmetic changes, as per Nick's review.Devang Patel2011-09-295-21/+17
| | | | llvm-svn: 140785
* Place this bracket according to the LLVM style.Duncan Sands2011-09-291-2/+1
| | | | llvm-svn: 140784
* PTX: Fix broken shared library buildJustin Holewinski2011-09-294-22/+43
| | | | llvm-svn: 140783
* Driver: use correct search paths for multilibPeter Collingbourne2011-09-291-2/+2
| | | | llvm-svn: 140782
* Windows patch work by Ruben Van BoxemHoward Hinnant2011-09-293-45/+56
| | | | llvm-svn: 140781
* Add an ns_bridged attribute, used to specify that a John McCall2011-09-296-1/+60
| | | | | | | | | | | | | | pointer to the annotated struct type can be used as an Objective-C object pointer. If an argument is given, the type is actually "toll-free bridged" to the specific type named there, rather than just to 'id'. For now, we cannot rely on all types being so annotated, and we'll always have to have exceptions for things like CFTypeRef (aka const void*), but this is clearly a good foundation for improving toolage in this area. llvm-svn: 140779
* Like IBOutletCollection, it only makes sense to apply the IBOutlet ↵Ted Kremenek2011-09-295-35/+44
| | | | | | annotation to Objective-C object types. Fixes <rdar://problem/10142685>. llvm-svn: 140778
* Do not warn about empty format strings when there are no data arguments. ↵Ted Kremenek2011-09-292-8/+12
| | | | | | Fixes <rdar://problem/9473155>. llvm-svn: 140777
* Expand the x86 V_SET0* pseudos right after register allocation.Jakob Stoklund Olesen2011-09-295-61/+67
| | | | | | | This also makes it possible to reduce the number of pseudo instructions and get rid of the encoding information. llvm-svn: 140776
* Unnecessary elseDavid Blaikie2011-09-291-2/+1
| | | | llvm-svn: 140775
* Target/ARM: Unbreak! CMake! Build!NAKAMURA Takumi2011-09-291-1/+0
| | | | llvm-svn: 140774
* Delete NEONMoveFix, now unused.Jakob Stoklund Olesen2011-09-293-149/+0
| | | | llvm-svn: 140773
* Use ExecutionDepsFix instead of NEONMoveFix.Jakob Stoklund Olesen2011-09-292-11/+21
| | | | | | | This enables NEON domain tracking across basic blocks, but should otherwise do the same thing. llvm-svn: 140772
* Basic/Diagnostic: Kill off a few unnecessary functions now that refactoring ↵Daniel Dunbar2011-09-294-27/+12
| | | | | | is done, and add a note that the new setDiagnosticGroup{...} methods only operate on the current diagnostic state. llvm-svn: 140771
* Basic/Diagnostics: Rewrite DiagnosticIDs::getDiagnosticLevel completely to ↵Daniel Dunbar2011-09-297-87/+63
| | | | | | | | be straighter line code, use the new DiagnosticMappingInfo flags, and eliminate the odd MAP_WARNING_NO_WERROR and friend mappings. - This fixes a host of obscure bugs with regards to how warning mapping options composed with one another, and I believe makes the code substantially easier to read and reason about. llvm-svn: 140770
* typo + pastoAndrew Trick2011-09-291-2/+2
| | | | llvm-svn: 140769
OpenPOWER on IntegriCloud