summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Initialize TypeOrExpr to NULL to silence a false-positive uninitialized warningNick Lewycky2010-09-151-1/+1
| | | | | | from certain GCC's. Patch by Neil Vachharajani! llvm-svn: 113995
* Test commitMarcin Swiderski2010-09-151-0/+1
| | | | llvm-svn: 113994
* Remove unnecessary/inappropriate output-printing functions fromCaroline Tice2010-09-1515-335/+7
| | | | | | the API. llvm-svn: 113993
* Check bb to ensure that alloca is in separate basic block.Devang Patel2010-09-151-7/+9
| | | | | | This fixes funcargs.exp regression reported by gdb testsuite. llvm-svn: 113992
* Also added BuildAndIntegration to the directories to search for an existingJohnny Chen2010-09-151-2/+6
| | | | | | | | | | | | | | | | lldb.py module. The priorities to search for are Debug, Release, then BuildAndIntegration. You can always override this with a valid PYTHONPATH environment variable before running the test driver. For example: $ PYTHONPATH=/Find/My/LLDB/Module/Here ./dotest.py -v . Python runtime will try to locate the lldb.py module from /Find/My/LLDB/Module/Here first before trying the Debug, Release, and then BuildAndIntegration directories. llvm-svn: 113991
* Revert "Clean up in buildbot directories."Jakob Stoklund Olesen2010-09-151-1/+0
| | | | | | | | | This reverts commit 113814. This patch was never intended to stay in the repository. If you are reading this from the future, we apologize for the noise. llvm-svn: 113990
* Changed to a more informative message.Johnny Chen2010-09-151-1/+1
| | | | llvm-svn: 113989
* We believed the intermittent process launch failure while running the test suiteJohnny Chen2010-09-151-0/+2
| | | | | | | has been fixed by r113947. But just in case it still fails, emits a prominent message always. llvm-svn: 113986
* Recognize VST1q64Pseudo and VSTMQ as stack slot stores.Jakob Stoklund Olesen2010-09-151-0/+22
| | | | | | | | | Recognize VLD1q64Pseudo as a stack slot load. Reject these if they are loading or storing a subregister. The API (and VirtRegRewriter) doesn't know how to deal with that. llvm-svn: 113985
* Reapply Gabor's 113839, 113840, and 113876 with a fix for a problemBob Wilson2010-09-152-2/+18
| | | | | | | | encountered while building llvm-gcc for arm. This is probably the same issue that the ppc buildbot hit. llvm::prior works on a MachineBasicBlock::iterator, not a plain MachineInstr. llvm-svn: 113983
* Removed the @expectedFailure decorator for test_with_dwarf() test case. It hasJohnny Chen2010-09-151-1/+0
| | | | | | been fixed. llvm-svn: 113981
* the darwin9-powerpc buildbot keeps consistently crashing,Gabor Greif2010-09-152-17/+2
| | | | | | | | | | backing out following to get it back to green, so I can investigate in peace: svn merge -c -113840 llvm/test/CodeGen/ARM/arm-and-tst-peephole.ll svn merge -c -113876 -c -113839 llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp llvm-svn: 113980
* Move ARM is{LoadFrom,StoreTo}StackSlot closer to their siblings so they won't beJakob Stoklund Olesen2010-09-151-78/+64
| | | | | | | | | | forgotten in the future. Coalesce identical cases in switch. No functional changes intended. llvm-svn: 113979
* Spelling fix.Bob Wilson2010-09-153-13/+13
| | | | llvm-svn: 113978
* trailing whitespace and 80 column cleanupJim Grosbach2010-09-152-33/+33
| | | | llvm-svn: 113977
* Improve code completion for Objective-C message sends when the openingDouglas Gregor2010-09-155-28/+44
| | | | | | | | | | | | | | | | | | | | | | | '[' is missing. Prior commits improving recovery also improved code completion beyond the first selector, e.g., at or after the "to" in calculator add:x to:y but not after "calculator". We now provide the same completions for calculator <CC> that we would for [calculator <CC> if "calculator" is an expression whose type is something that can receive Objective-C messages. This code completion works for instance and super message sends, but not class message sends. llvm-svn: 113976
* trailing whitespaceJim Grosbach2010-09-151-49/+49
| | | | llvm-svn: 113975
* Make the new -fobjc-nonfragile-abi2 the defaultFariborz Jahanian2010-09-151-10/+12
| | | | | | | abi for clang's objective-c compilations. (radar 8353555). llvm-svn: 113974
* llvmc: make -x work with unknown suffixes.Mikhail Glushenkov2010-09-153-3/+13
| | | | llvm-svn: 113972
* Extend bracket insertion to message sends to "super", e.g.,Douglas Gregor2010-09-152-0/+26
| | | | | | | | super method:arg] will now recover nicely and insert the '[' before 'super'. llvm-svn: 113971
* Removed TracingBrainF from examples Makefile.Garrison Venn2010-09-151-2/+1
| | | | llvm-svn: 113970
* Extend bracket insertion to handle nullary selectors, e.g.Douglas Gregor2010-09-152-1/+3
| | | | | | a getFoo] llvm-svn: 113969
* Implement bracket insertion for Objective-C instance message sends asDouglas Gregor2010-09-1510-28/+124
| | | | | | | | | | | | | | | | | | | | | | | part of parser recovery. For example, given: a method1:arg]; we detect after parsing the expression "a" that we have the start of a message send expression. We pretend we've seen a '[' prior to the a, then parse the remainder as a message send. We'll then give a diagnostic+fix-it such as: fixit-objc-message.m:17:3: error: missing '[' at start of message send expression a method1:arg]; ^ [ The algorithm here is very simple, and always assumes that the open bracket goes at the beginning of the message send. It also only works for non-super instance message sends at this time. llvm-svn: 113968
* If dbg.declare from non-entry block is using alloca from entry block then ↵Devang Patel2010-09-151-2/+14
| | | | | | use offset available in StaticAllocaMap to emit DBG_VALUE. Right now, this has no material impact because varible info also collected using offset table maintained in machine module info. llvm-svn: 113967
* Tweak regex not to accidentally match a trailing \r.Benjamin Kramer2010-09-151-1/+1
| | | | llvm-svn: 113966
* Release-Asserts no longer exists.Duncan Sands2010-09-151-1/+1
| | | | llvm-svn: 113965
* Fix pointer-signext.c test case: it was relying on value names, which don't ↵Cameron Esfahani2010-09-151-3/+3
| | | | | | appear in the non-assert build. Switch to using check-next as well. llvm-svn: 113964
* Test hardening.John McCall2010-09-151-6/+6
| | | | llvm-svn: 113963
* one piece of code is responsible for the lifetime of every aggregateJohn McCall2010-09-1520-222/+346
| | | | | | | | | | | | | slot. The easiest way to do that was to bundle up the information we care about for aggregate slots into a new structure which demands that its creators at least consider the question. I could probably be convinced that the ObjC 'needs GC' bit should be rolled into this structure. Implement generalized copy elision. The main obstacle here is that IR-generation must be much more careful about making sure that exactly llvm-svn: 113962
* 15-20% speed improvement when parsing DWARF. I used instruments toGreg Clayton2010-09-1510-298/+575
| | | | | | | | | find the hotspots in our code when indexing the DWARF. A combination of using SmallVector to avoid collection allocations, using fixed form sizes when possible, and optimizing the hot loops contributed to the speedup. llvm-svn: 113961
* Remove the Ada bindings which are unmaintained and unused. The project whichDuncan Sands2010-09-1525-17093/+0
| | | | | | | was the main putative user of the binding is actually maintaining its own different binding, see http://git.ada.cx/cgi-bin/cgit.cgi/draco.git/ llvm-svn: 113960
* Remove LLVM_GLOBAL_VISIBILITY, which is unused, and was not working properly.Duncan Sands2010-09-151-11/+1
| | | | | | | | | | | | | The problem was that the test for whether a compiler supports it or not was inaccurate, but has to be accurate: LLVM_LOCAL_VISIBILITY is an optimization and not needed for correctness, so wrongly thinking a compiler doesn't support it is not a big deal, but LLVM_GLOBAL_VISIBILITY is for correctness, and not an optimization: getting it wrong is fatal: it needs to be set based on a configure test not testing the gcc version. Since dragonegg has moved to a different scheme, and it was the only user of LLVM_GLOBAL_VISIBILITY, just remove this macro. llvm-svn: 113959
* Relax assertion in CFG builder when processing ForStmts. This fixes an ↵Ted Kremenek2010-09-152-1/+8
| | | | | | | | assertion failure on code containing GNU statement expressions reported in PR 8141. llvm-svn: 113953
* Modify "settings list" so you can specify a particular instance setting name,Caroline Tice2010-09-154-6/+268
| | | | | | | or a settings prefix, and it will list information about the subset of settings you requested. Also added tab-completion (now that it takes an optional argument). llvm-svn: 113952
* Fixed a missing newline when dumping mixed disassembly.Greg Clayton2010-09-1512-27/+72
| | | | | | | | | | | | | | | | | Added a "bool show_fullpaths" to many more objects that were previously always dumping full paths. Fixed a few places where the DWARF was not indexed when we we needed it to be when making queries. Also fixed an issue where the DWARF in .o files wasn't searching all .o files for the types. Fixed an issue with the output from "image lookup --type <TYPENAME>" where the name and byte size might not be resolved and might not display. We now call the accessors so we end up seeing all of the type info. llvm-svn: 113951
* Remove all visible uses of "[DEFAULT]" instance name.Caroline Tice2010-09-152-16/+77
| | | | | | | Add ability to rename UserSettingsInstances after they have been created (via UserSettingsController::RenameInstanceSettings. llvm-svn: 113950
* lcall and ljmp always default to lcalll and ljmpl. This finallyChris Lattner2010-09-152-10/+18
| | | | | | wraps up r8418316 llvm-svn: 113949
* apparently jmpl $1,$2 is an alias for ljmpl, similiarlyChris Lattner2010-09-153-1/+36
| | | | | | for call. Add this. llvm-svn: 113948
* Fixed a race condition that was sometimes stopping our command line Greg Clayton2010-09-151-1/+3
| | | | | | | | | | | | interpreter from working. The communication read thread could startup and immediately exit if m_read_thread_enabled was checked in the thread function before it was set by the thread that spawns the read thread. Now m_read_thread_enabled is set to true prior to spawning the read thread to avoid this issue. Hopefully this will clear up the sporatic failures in our test suite. llvm-svn: 113947
* Disambiguate lcall/ljmp to the 32-bit version. This happensChris Lattner2010-09-152-0/+16
| | | | | | even in 64-bit mode apparently. llvm-svn: 113945
* fix the encoding of sldt GR16 to have the 0x66 prefix, andChris Lattner2010-09-152-2/+13
| | | | | | | add sldt GR32, which isn't documented in the intel manual but which gas accepts. Part of rdar://8418316 llvm-svn: 113938
* implement aliases for shld/shrd, part of rdar://8418316Chris Lattner2010-09-152-0/+20
| | | | llvm-svn: 113937
* fix rdar://8431880 - rcl/rcr with no shift amount not recognizedChris Lattner2010-09-152-1/+20
| | | | llvm-svn: 113936
* tests/lit: Split options into two groups, so we don't get driver warnings aboutDaniel Dunbar2010-09-151-9/+10
| | | | | | unused linker arguments for compile only tests. llvm-svn: 113935
* tests: Remove some stray cleanup code.Daniel Dunbar2010-09-151-2/+0
| | | | llvm-svn: 113934
* So we can't use .debug_pubtypes as it, as designed, does not tell us about Greg Clayton2010-09-1510-548/+439
| | | | | | | | | | | | | | | | | all types in all compile units. I added a new kind of accelerator table to the DWARF that allows us to index the DWARF compile units and DIEs in a way that doesn't require the data to stay loaded. Currently when indexing the DWARF we check if the compile unit had parsed its DIEs and if it hasn't we index the data and free all of the DIEs so we can reparse later when we need to after using one of our complete accelerator tables to determine we need to reparse some DWARF. If the DIEs had already been parsed we leave them loaded. The new accelerator table uses the "const char *" pointers from our ConstString class as the keys, and NameToDIE::Info as the value. This info contains the compile unit index and the DIE index which means we are pointed right to the DIE we need unlike the other DWARF accelerator tables that often just point us to the compile unit we would find our answer in. llvm-svn: 113933
* add various broken forms of fnstsw. I didn't add the %raxChris Lattner2010-09-152-1/+28
| | | | | | | version because it adds a prefix and makes even less sense than the other broken forms. This wraps up rdar://8431422 llvm-svn: 113932
* tests: Fixup lit config, which got garbled somehow...Daniel Dunbar2010-09-151-2/+3
| | | | llvm-svn: 113931
* add some aliases for f[u]comi, part of rdar://8431422Chris Lattner2010-09-152-7/+23
| | | | llvm-svn: 113930
* add a bunch of aliases for fp operations with no operand,Chris Lattner2010-09-152-5/+47
| | | | | | rdar://8431422 llvm-svn: 113929
OpenPOWER on IntegriCloud