summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* This is a simplified (and superior) implementation of __invoke, __invokable ↵Howard Hinnant2011-05-202-213/+55
| | | | | | and __invoke_of. It is superior in that __invoke now handles reference qualified member functions whereas the previous implementation did not. And it simply has less infrastructure in its implementation. I'm still learning how to program in C++11 (and probably will be for a long time). This change does not impact the behavior we're seeing in http://llvm.org/bugs/show_bug.cgi?id=9975 llvm-svn: 131761
* No reason not to allow defining the CFA as a reg w/ offset zero.Jim Grosbach2011-05-202-4/+0
| | | | llvm-svn: 131760
* Add a missing case for default constructor deletion.Alexis Hunt2011-05-202-5/+9
| | | | | | | This case is tested by the fact that the modified test produces significatly worse diagnostics. That's on the list. llvm-svn: 131759
* In CC_MipsO32, allocate a stack space regardless of whether the argument isAkira Hatanaka2011-05-201-22/+25
| | | | | | passed in register or on the stack. llvm-svn: 131758
* Fix typo.Jim Grosbach2011-05-201-1/+1
| | | | llvm-svn: 131757
* Add support for frame info use of the .cfi_def_cfa directive.Jim Grosbach2011-05-201-1/+2
| | | | llvm-svn: 131756
* Add missing leading \t when printing .cfi_def_cfa in the asmstreamer.Jim Grosbach2011-05-201-1/+1
| | | | llvm-svn: 131755
* Introduce XFAILed test for braced initializer lists.Sebastian Redl2011-05-201-0/+127
| | | | llvm-svn: 131754
* Define functions that get/set maximum call frame size.Akira Hatanaka2011-05-201-1/+6
| | | | llvm-svn: 131752
* adds some attributes to attribute section when cpu is "xscale"Rafael Espindola2011-05-202-0/+37
| | | | | | | | (this is what used in Android NDK, when architecture is ARMv5) patch by Koan-Sin Tan llvm-svn: 131751
* fixes target address tBL and tBLX and sets relocation typeRafael Espindola2011-05-203-2/+50
| | | | | | | | of tBL/tBLX to R_ARM_THM_CALL (ARM ELF 4.7.1.6) Patch by koan-sin tan. llvm-svn: 131748
* Add asserts in StringRef to make sure we avoid undefined behavior:Argyrios Kyrtzidis2011-05-201-7/+20
| | | | | | | | | -strlen should not be called with NULL. Also guarantee that StringRef's Length is 0 if Data is NULL. -memcmp should not be called with NULL (even if size is 0) Patch by Matthieu Monrocq! llvm-svn: 131747
* Re-commit 131641 with fixes; de-pseudoize MOVSX16rr8 and friends.Stuart Hastings2011-05-206-50/+60
| | | | | | rdar://problem/8614450 llvm-svn: 131746
* Make $fp and $ra callee-saved registers and let PrologEpilogInserter handleAkira Hatanaka2011-05-206-103/+39
| | | | | | saving and restoring them. llvm-svn: 131745
* indvars: Prototyping Sign/ZeroExtend elimination without canonical IVs.Andrew Trick2011-05-204-114/+373
| | | | | | | | | | No functionality enabled by default. Use -disable-iv-rewrite. Extended IVUsers to keep track of the phi that represents the users' IV. Added the WidenIV transform to replace a narrow IV with a wide IV by doing a one-for-one replacement of IV users instead of expanding the SCEV expressions. [sz]exts are removed and truncs are inserted. llvm-svn: 131744
* Now that they're implemented, make the Win64 EH MCAsmStreamer methods callCharles Davis2011-05-201-0/+26
| | | | | | super. llvm-svn: 131743
* Better way to build the CFCPP sources as part of liblldbHostMacOSX.Charles Davis2011-05-201-6/+8
| | | | llvm-svn: 131742
* When installing the binary part of the LLDB Python modules, symlink to theCharles Davis2011-05-201-1/+1
| | | | | | | installed liblldb instead of the built one. Now Python support won't break if you clean your build directories. llvm-svn: 131741
* Fixed regression due to commit 131709, which disables vararg tail call ↵Chad Rosier2011-05-201-12/+24
| | | | | | optimizations on Win64 llvm-svn: 131740
* Revert accidental commit.Evan Cheng2011-05-203-10/+1
| | | | llvm-svn: 131739
* Workaround the issue of llvm:tB (A8.6.16 B Encoding T2) not being processed asJohnny Chen2011-05-201-0/+24
| | | | | | | | | | a branch instruction and therefore the symbolic information is not being dumped for non-raw mode. The problem is that the ARMAsmParser is not recognizing the "#274" in "b #274" as a valid operand when doing disassembly in non-raw mode. llvm-svn: 131738
* Introduce Type::isSignedIntegerOrEnumerationType() andDouglas Gregor2011-05-2017-39/+91
| | | | | | | | | | | | | Type::isUnsignedIntegerOrEnumerationType(), which are like Type::isSignedIntegerType() and Type::isUnsignedIntegerType() but also consider the underlying type of a C++0x scoped enumeration type. Audited all callers to the existing functions, switching those that need to also handle scoped enumeration types (e.g., those that deal with constant values) over to the new functions. Fixes PR9923 / <rdar://problem/9447851>. llvm-svn: 131735
* "Implement" the HandlerData Win64 EH method in the base MCStreamer.Charles Davis2011-05-201-2/+1
| | | | | | | | There's really nothing to implement. All this really does is swap to a pseudo-section that later gets written to the unwind info struct. That needs to be implemented in the object streamers. llvm-svn: 131734
* CMake: add support for CLANG_VENDOR. PR9966.Oscar Fuentes2011-05-201-0/+7
| | | | llvm-svn: 131733
* Downgrade the error about re-opening an inline namespace as non-inlineDouglas Gregor2011-05-203-4/+14
| | | | | | | to a warning, since apparently libstdc++'s debug mode does this (and we can recover safely). Add a Fix-It to insert the "inline", just for kicks. llvm-svn: 131732
* Diagnose unexpanded parameter packs in return statements. ThisDouglas Gregor2011-05-203-13/+25
| | | | | | | manifested in a crash with blocks in PR9953, but it was a ticking time bomb for normal functions, too. Fixes PR9953. llvm-svn: 131731
* Rename the "sandybridge" subtarget to "corei7-avx", for GCC compatibility.Benjamin Kramer2011-05-203-3/+3
| | | | llvm-svn: 131730
* sandybridge is now called corei7-avxBenjamin Kramer2011-05-201-1/+1
| | | | llvm-svn: 131729
* Remove the clang-test-XXX targets from the CMake builds; they really aren't ↵Douglas Gregor2011-05-201-24/+0
| | | | | | useful llvm-svn: 131728
* Clean up two commentsDouglas Gregor2011-05-202-2/+6
| | | | llvm-svn: 131727
* Remove noisy semicolons.Benjamin Kramer2011-05-203-8/+13
| | | | llvm-svn: 131724
* Fix PR9941 for out-of-line template destructors too.Sebastian Redl2011-05-203-11/+22
| | | | llvm-svn: 131722
* Do not parse DIE's outside a compilation units range.Stephen Wilson2011-05-201-11/+19
| | | | | | | | | | | | | | | In DWARFCompileUnit::ExtractDIEsIfNeeded we are relying on a compilation units DIEs to be terminated by a null entry. I think the standard is fairly clear that all sibling chains are to be terminated by null, but at least gcc 4.5.2 disagrees -- the top level chain drops the final entry. This results in us interpreting the next compilation unit header as a DIE. Regardless of whether gcc is right or wrong, we should not overstep a compilation units extent. This patch ensures that we do not attempt to extract a DIE beyond the length specified for a given DWARFCompileUnit by ensuring our current offset is strictly less than the start of the next CU. llvm-svn: 131721
* Fix typo. Stupid 'n' key...Charles Davis2011-05-201-1/+1
| | | | llvm-svn: 131720
* Some makefile fixes for the Interpreter:Charles Davis2011-05-201-2/+17
| | | | | | | | | | | | | - Make the generation of LLDBWrapPython.cpp respect the VERBOSE setting. - Use -classic mode when generating. LLDPWrapPython.cpp #errors out if -classic wasn't set when it was generated with recent Swig. - Install the Python modules. Now we shouldn't get loads of Python errors trying to run LLDB. Last of my build fixes. The LLDB that I built works, except that I can't debug anything with it until debugserver gets built. llvm-svn: 131719
* Fix the Host library build on Mac OS X with makefiles.Charles Davis2011-05-202-2/+10
| | | | llvm-svn: 131718
* Fix PR9960 by teaching SimpleRegisterCoalescing::AdjustCopiesBackFrom() to ↵Cameron Zwarich2011-05-202-0/+36
| | | | | | | | preserve the phikill flag. llvm-svn: 131717
* indvars: minor cleanup in preparation for sign/zero extend elimination.Andrew Trick2011-05-201-18/+11
| | | | llvm-svn: 131716
* Fixed an issue in GDBRemoteCommunicationClient where we weren't listening toGreg Clayton2011-05-205-23/+114
| | | | | | | | | | | | | | | | | | | | the "payload_length" argument for the "payload" packet data. This meant we could end up sending random extra data with a packet depending on how the packet was constructed. Fixed GDBRemoteRegisterContext to properly save and restore all registers. Previous fixes had been added to work around the "payload_length" issues fixed above and aren't needed anymore. Fix logging in GDBRemoteCommunication to make sure we log the correct packet data being sent by using the packet length when dumping the packet contents. Added register definitions for 'arm-lldb' in the "disasm-gdb-remote.pl" script so if you have a register dump from the GDB remote that doesn't include the qRegisterInfo packets, you can manually tell the script which registers are which. llvm-svn: 131715
* Fix bug in which nodes that write to argument registers do not get glued ↵Akira Hatanaka2011-05-202-16/+17
| | | | | | with the JALR node. Patch by Sasa Stankovic llvm-svn: 131714
* Added a perl script to disassemble, into human readable form, the GDB remoteGreg Clayton2011-05-201-0/+1897
| | | | | | | | packet output from "log enable gdb-remote packets". This should help people track down and see what is going wrong more easily when you have log output that includes GDB remote packets. llvm-svn: 131713
* Remove code that creates unnecessary frame objects.Akira Hatanaka2011-05-201-4/+0
| | | | llvm-svn: 131711
* Define variables and functions in MipsFunctionInfo.Akira Hatanaka2011-05-201-1/+30
| | | | | | | This is the first of a series of patches that attempt to simplify handling of stack frame objects. llvm-svn: 131710
* Don't attempt to tail call optimize for Win64.Chad Rosier2011-05-202-8/+9
| | | | llvm-svn: 131709
* Revert r131664 and fix it in instcombine instead. rdar://9467055Evan Cheng2011-05-207-33/+31
| | | | llvm-svn: 131708
* Add the LanguageRuntime plugins to liblldb. Fixes link errors for me; if thisCharles Davis2011-05-191-2/+5
| | | | | | | | | | breaks it for you (or if the LanguageRuntime plugins break the build on your machine), please let me know and I'll revert. Also, link to CoreServices and Carbon on Mac. Yep, LLDB needs these ancient frameworks. llvm-svn: 131707
* Undo enough of r131143 to make private copy ctor diags say "copy ↵Matt Beaumont-Gay2011-05-193-6/+11
| | | | | | constructor" again llvm-svn: 131706
* Fix PR9955 by only attaching load memory operands to load instructions andCameron Zwarich2011-05-191-3/+37
| | | | | | | similarly for stores. Now "make check" passes with the MachineVerifier forced on with the VerifyCoalescing option! llvm-svn: 131705
* Add the LanguageRuntime plugins to the makefile build, and remove theCharles Davis2011-05-193-2/+33
| | | | | | | | | Mac OS X Process plugin from the build. I'm surprised no one caught this earlier. Am I the only one who builds with the makefiles on Mac? llvm-svn: 131704
* Add goalHoward Hinnant2011-05-191-0/+1
| | | | llvm-svn: 131703
OpenPOWER on IntegriCloud