summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* First round of code cleanups:Enrico Granata2011-08-1714-646/+610
| | | | | | | | | | | | | | | | | | - all instances of "vobj" have been renamed to "valobj" - class Debugger::Formatting has been renamed to DataVisualization (defined in FormatManager.h/cpp) The interface to this class has not changed - FormatCategory now uses ConstString's as keys to the navigators instead of repeatedly casting from ConstString to const char* and back all the time Next step is making the same happen for categories themselves - category gnu-libstdc++ is defined in the constructor for a FormatManager The source code for it is defined in gnu_libstdcpp.py, drawn from examples/synthetic at compile time All references to previous 'osxcpp' name have been removed from both code and file names Functional changes: - the name of the option to use a summary string for 'type summary add' has changed from the previous --format-string to the new --summary-string. It is expected that the short option will change from -f to -s, and -s for --python-script will become -o llvm-svn: 137886
* Fix PR10688. Add support for spliting 256-bit vector shifts when theBruno Cardoso Lopes2011-08-172-11/+31
| | | | | | shift amount is variable llvm-svn: 137885
* Reorganize the return-type vs. expression checking code inJohn McCall2011-08-171-30/+30
| | | | | | block returns; no functionality change. llvm-svn: 137884
* Somehow I fouled up this test.John McCall2011-08-171-2/+0
| | | | llvm-svn: 137882
* Tidy up. 80 columns.Jim Grosbach2011-08-171-34/+49
| | | | llvm-svn: 137881
* Add the support in code-gen for the landingpad instruction lowering.Bill Wendling2011-08-173-3/+75
| | | | | | | | | | The landingpad instruction is lowered into the EXCEPTIONADDR and EHSELECTION SDNodes. The information from the landingpad instruction is harvested by the 'AddLandingPadInfo' function. The new EH uses the current EH scheme in the back-end. This will change once we switch over to the new scheme. (Reviewed by Jakob!) llvm-svn: 137880
* ARM clean up the imm_sr operand class representation.Jim Grosbach2011-08-178-29/+36
| | | | | | | | | Represent the operand value as it will be encoded in the instruction. This allows removing the specialized encoder and decoder methods entirely. Add an assembler match class while we're at it to lay groundwork for parsing the thumb shift instructions. llvm-svn: 137879
* Remove an unnecessary assignment (to InstFromD).Argyrios Kyrtzidis2011-08-171-7/+3
| | | | | | Caught by the static analyzer! llvm-svn: 137878
* Gather cleanups correctly in block return statements.John McCall2011-08-172-12/+33
| | | | | | Thanks to Ted for finding this with magic tools. llvm-svn: 137877
* Disable PRE for landing pads.Bill Wendling2011-08-171-2/+14
| | | | | | | | PRE needs the landing pads to have their critical edges split. Doing this for a landing pad is non-trivial. Abandon the attempt to perform PRE when we come across a landing pad. (Reviewed by Owen!) llvm-svn: 137876
* Revert patch. Forgot a dependent commit.Bill Wendling2011-08-171-39/+3
| | | | llvm-svn: 137875
* [analyzer] Migrate assumption and binding handling from CFRefCount to ↵Jordy Rose2011-08-171-100/+94
| | | | | | RetainReleaseChecker. This is mostly a textual move and required no supporting changes. No functionality change intended. llvm-svn: 137874
* Add the body of 'visitLandingPad'.Bill Wendling2011-08-171-3/+39
| | | | | | | | This generates the SDNodes for the new exception handling scheme. It takes the two values coming from the landingpad instruction and assigns them to the EXCEPTIONADDR and EHSELECTION nodes. llvm-svn: 137873
* Increment the insertion iterator to beyond the landingpad instruction.Bill Wendling2011-08-171-1/+1
| | | | llvm-svn: 137872
* Don't optimize the landing pad exit block.Bill Wendling2011-08-171-4/+18
| | | | | | | | One way to exit the loop is through an unwind edge. However, that may involve splitting the critical edge of the landing pad, which is non-trivial. Prevent the transformation from rewriting the landing pad exit loop block. llvm-svn: 137871
* Fix incorrect code indentation and silence dead store warning due to ↵Ted Kremenek2011-08-171-43/+45
| | | | | | idiomatic code. llvm-svn: 137870
* In the AST file format, eliminate the CHAINED_METADATA record. Instead,Douglas Gregor2011-08-176-41/+45
| | | | | | | | | | | | | all AST files have a normal METADATA record that has the same form regardless of whether we refer to a chained PCH or any other kind of AST file. Introduce the IMPORTS record, which describes all of the AST files that are imported by this AST file, and how (as a module, a PCH file, etc.). Currently, we emit at most one entry to this record, to support chained PCH. llvm-svn: 137869
* Fix a handful of dead stores found by Clang's static analyzer. There's a ↵Ted Kremenek2011-08-173-7/+6
| | | | | | bunch of others I haven't touched. llvm-svn: 137867
* Assert that we aren't trying to split the critical edge of a landing pad. DoingBill Wendling2011-08-171-0/+5
| | | | | | so requires more care than this generic algorithm should handle. llvm-svn: 137866
* Fix predicate for imm1_32Jim Grosbach2011-08-171-1/+4
| | | | llvm-svn: 137865
* Thumb assembly parsing and encoding for ADR.Jim Grosbach2011-08-173-2/+11
| | | | llvm-svn: 137864
* Revert r137655. There is some question about whether the 'landingpad'Bill Wendling2011-08-173-3/+5
| | | | | | instruction should be marked as potentially reading and/or writing memory. llvm-svn: 137863
* Don't move assign string::allocator_type when ↵Howard Hinnant2011-08-171-1/+23
| | | | | | propagate_on_container_move_assignment is false. llvm-svn: 137862
* Add a couple of FIXMEs.Jim Grosbach2011-08-171-0/+8
| | | | llvm-svn: 137861
* Add a bit more comments to the BugReporter and friends.Anna Zaks2011-08-171-5/+35
| | | | llvm-svn: 137859
* [libclang] Implicit objc methods are skipped, no need to check isSynthesized.Argyrios Kyrtzidis2011-08-171-6/+0
| | | | | | Plus, isSynthesized returning true does not mean that there is not a user-declared method declaration. llvm-svn: 137858
* 80 columns.Jim Grosbach2011-08-171-1/+2
| | | | llvm-svn: 137857
* Tidy up.Jim Grosbach2011-08-171-2/+1
| | | | llvm-svn: 137856
* Modify for the new EH scheme.Bill Wendling2011-08-171-1/+57
| | | | | | | | Things are much saner now. We no longer need to modify the laning pads, because of the invariants we impose upon them. The only thing DwarfEHPrepare needs to do is convert the 'resume' instruction into a call to '_Unwind_Resume'. llvm-svn: 137855
* Remove unneeded sentence.Bill Wendling2011-08-171-2/+1
| | | | llvm-svn: 137854
* Revert r137781; I agree with Duncan's comment that the situation in question ↵Eli Friedman2011-08-171-5/+4
| | | | | | is clearly impossible given the current structure of the code. llvm-svn: 137853
* Mark objc methods that are implicitly declared for properties (not ↵Argyrios Kyrtzidis2011-08-1711-46/+48
| | | | | | | | user-declared) as implicit. This results in libclang ignoring such methods. llvm-svn: 137852
* Fix -ferror-limit= to properly emit notes following the last errorDouglas Gregor2011-08-173-4/+44
| | | | | | messages. Fi from David Blaikie, tests from Nikola Smiljanic! llvm-svn: 137851
* New category "gnu-libstdc++" provides summary for std::string and synthetic ↵Enrico Granata2011-08-179-16/+338
| | | | | | | | | | children for types std::map, std::list and std::vector The category is enabled by default. If you run into issues with it, disable it and the previous behavior of LLDB is restored ** This is a temporary solution. The general solution to having formatters pulled in at startup should involve going through the Platform. Fixed an issue in type synthetic list where a category with synthetic providers in it was not shown if all the providers were regex-based llvm-svn: 137850
* Fix iterator end for r137842.Chad Rosier2011-08-171-1/+1
| | | | llvm-svn: 137849
* Add support for half-word unaligned loads and stores.Akira Hatanaka2011-08-173-14/+31
| | | | llvm-svn: 137848
* Fix test case.Devang Patel2011-08-171-1/+2
| | | | llvm-svn: 137847
* Remove superficial test.Devang Patel2011-08-171-6/+0
| | | | llvm-svn: 137846
* Robustify test.Devang Patel2011-08-171-4/+8
| | | | llvm-svn: 137845
* Static fields require an out-of-line definition. Fix DynamicLibrary for real.Jordy Rose2011-08-171-0/+2
| | | | llvm-svn: 137844
* ...and make sure DynamicLibrary builds by removing "const" from the Invalid ↵Jordy Rose2011-08-171-1/+1
| | | | | | placeholder. llvm-svn: 137843
* [driver] Clang doesn't support -mkernel/-fapple-kext for i386, so it's Chad Rosier2011-08-173-0/+23
| | | | | | | | automatically invoking llvm-gcc's cc1plus, which doesn't support all options supported by Clang. Therefore, filter out unsupported options. rdar://9964354 llvm-svn: 137842
* Don't use NULL to represent an invalid library; Cygwin uses this for ↵Jordy Rose2011-08-171-2/+7
| | | | | | RTLD_DEFAULT. Caught by Takumi. llvm-svn: 137841
* Start building a Thumb1 decoding test file based on the Thumb1 ↵Owen Anderson2011-08-171-0/+30
| | | | | | parsing/encoding test file. llvm-svn: 137840
* Add additional path to Linux toolchain. Patch by Will Dietz. PR10690.Eli Friedman2011-08-171-0/+3
| | | | llvm-svn: 137839
* Be more careful in the Thumb decoder hooks to avoid walking off the end of ↵Owen Anderson2011-08-171-8/+12
| | | | | | the OpInfo array. llvm-svn: 137838
* Silly mistake from r137777; restore significant isStructTy() checks. While ↵Eli Friedman2011-08-172-4/+28
| | | | | | | | | | here, be a bit more defensive with unknown instructions. Fixes PR10687. llvm-svn: 137836
* Add the ARM VFP variants to the cc_kext libraries for armv6 and armv7.Bob Wilson2011-08-171-2/+36
| | | | | | Radar 9959402. llvm-svn: 137835
* Add Gentoo gcc 4.3.4 include pathsNico Weber2011-08-171-0/+4
| | | | llvm-svn: 137834
* Thumb assembly parsing and encoding for ADC(register) instruction.Jim Grosbach2011-08-171-0/+8
| | | | llvm-svn: 137833
OpenPOWER on IntegriCloud