summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* More descriptive trace messages for the matchings of start and sub strings.Johnny Chen2010-08-241-4/+9
| | | | llvm-svn: 112000
* Preserve invalidity of typeof operands in C++.John McCall2010-08-242-1/+8
| | | | llvm-svn: 111999
* In code-completion contexts where both types and other values areDouglas Gregor2010-08-247-37/+37
| | | | | | | | | present, prefer values to types, since it's more common to compute with values than it is to declare new entities or perform type casts. So, tweak the ranking of types vs. other declarations and constants accordingly. llvm-svn: 111998
* Catch the case of trying to turn '&(X::a)' into a member pointer as well.John McCall2010-08-243-35/+65
| | | | llvm-svn: 111997
* Fix comment.Eric Christopher2010-08-241-2/+2
| | | | llvm-svn: 111996
* Don't include the is-function-local bit in the FoldingSetNodeIDDan Gohman2010-08-241-15/+15
| | | | | | | | for MDNodes, since this information is effectively implied by the operands. This allow allows the code to avoid doing a recursive is-it-really-function-local check in some cases. llvm-svn: 111995
* split the vector case of getCopyFromParts out to its own function,Chris Lattner2010-08-241-81/+102
| | | | | | no functionality change. llvm-svn: 111994
* Use Bits.data() instead of &Bits[0].Dan Gohman2010-08-241-3/+3
| | | | llvm-svn: 111993
* Removed the @unitest2.expectedFailure decorator. The i386 process launch worksJohnny Chen2010-08-241-4/+1
| | | | | | | correctly after all. It was my own configuration error (I was building x86_64 only). llvm-svn: 111992
* USRs for class extensions should "mangle" in the location of the extension. ↵Ted Kremenek2010-08-242-8/+49
| | | | | | (<rdar://problem/8350262>) llvm-svn: 111991
* split the vector case out of getCopyToParts into its own function. NoChris Lattner2010-08-241-117/+126
| | | | | | functionality change. llvm-svn: 111990
* Fixed another issue with the inline stack frames where if the first frameGreg Clayton2010-08-246-187/+67
| | | | | | | | | | | | has inlined functions that all started at the same address, then the inlined backtrace would not produce correct stack frames. Also cleaned up and inlined a lot of stuff in lldb_private::Address. Added a function to StackFrame to detect if the frame is a concrete frame so we can detect the difference between actual frames and inlined frames. llvm-svn: 111989
* Move the test for radar 8018252 toFariborz Jahanian2010-08-242-9/+7
| | | | | | SemaCXX/expressions.cpp. llvm-svn: 111988
* When trying to resolve the address of an overloaded expression,John McCall2010-08-244-17/+68
| | | | | | | | only form pointers-to-member if the expression has the appropriate form. This avoids assertions later on on invalid code, but also allows us to properly resolve mixed-staticity overloads. llvm-svn: 111987
* AST writer support for having specializations of templates from earlier in ↵Sebastian Redl2010-08-246-5/+71
| | | | | | the chain. This ought to finish C++ chained PCH support. llvm-svn: 111986
* AST reader support for having specializations of templates from earlier in ↵Sebastian Redl2010-08-244-1/+36
| | | | | | the chain. llvm-svn: 111985
* Remove i386 macro check from expected output of preprocessorDouglas Gregor2010-08-241-1/+0
| | | | llvm-svn: 111984
* Frontend: Add basic -H support.Daniel Dunbar2010-08-2410-16/+68
| | | | | | | - I didn't implement the GCC "multiple include guard" detection parts, because it doesn't seem useful or obvious. llvm-svn: 111983
* tidy up, reduce indentationChris Lattner2010-08-242-127/+123
| | | | llvm-svn: 111982
* Fix predicate and add a comment.Eric Christopher2010-08-241-1/+2
| | | | llvm-svn: 111981
* Add some missing X86-specific asm constraint letters, and fixDale Johannesen2010-08-242-4/+40
| | | | | | | some bugs in setting allowsRegister on the ones there. 8348447. llvm-svn: 111980
* correct the -isystem option to not add the -isysroot path. Only the weirdChris Lattner2010-08-243-14/+21
| | | | | | -iwithsysroot flag should do that. This fixes rdar://8345942 llvm-svn: 111979
* Fix printf format string checking for '%lc' (which expects a wint_t or ↵Ted Kremenek2010-08-245-1/+48
| | | | | | compatible argument). Fixes PR 7981. llvm-svn: 111978
* It is not error in c++ to take address ofFariborz Jahanian2010-08-242-1/+13
| | | | | | register variable (c++03 7.1.1P3). radar 8108252. llvm-svn: 111977
* Implement code completion for preprocessor expressions and in macroDouglas Gregor2010-08-2411-16/+137
| | | | | | arguments. llvm-svn: 111976
* Added a test for launching a universal binary. Launch of i386 architectureJohnny Chen2010-08-242-0/+54
| | | | | | | | currently fails: rdar://problem/8349784. Forgot to check in lldbtest.py in the previous commit r111958. llvm-svn: 111975
* Rework braindead conditionals I put in yesterday.Eric Christopher2010-08-241-14/+12
| | | | llvm-svn: 111974
* Fix thumb2 mode loads to have the correct operand ordering. Add a todoEric Christopher2010-08-241-4/+9
| | | | | | to fix this in the port. llvm-svn: 111973
* NULL loads are only invalid in the default address space.Owen Anderson2010-08-241-1/+1
| | | | llvm-svn: 111972
* Add support for inferring values for the default cases of switches.Owen Anderson2010-08-241-3/+22
| | | | llvm-svn: 111971
* tests: Use REQUIRES: instead of XFAIL: for crash recovery tests; running them onDaniel Dunbar2010-08-244-3/+9
| | | | | | | Windows breaks things (because it pops up dialogs) since we don't have crash recovery support there (yet). llvm-svn: 111970
* Add ARM heuristic for when to allocate a virtual base register for stackJim Grosbach2010-08-244-10/+48
| | | | | | access. rdar://8277890&7352504 llvm-svn: 111968
* Change the parsing of .loc back to allow the LineNumber field to be optional asKevin Enderby2010-08-241-7/+8
| | | | | | it is with other assemblers. llvm-svn: 111967
* Implement -iwithsysroot, an apple extension which is a close cousin of -isystem.Chris Lattner2010-08-243-2/+5
| | | | | | | Instead of implementing -isystem, I accidentally implemented this cousin. Next up is to implement -isystem right. llvm-svn: 111966
* Improvements to IdempotentOperationChecker and its use of PseudoConstantAnalysisTom Care2010-08-248-26/+109
| | | | | | | | | | | | - Added wasReferenced function to PseudoConstantAnalysis to determine if a variable was ever referenced in a function (outside of a self-assignment) - BlockDeclRefExpr referenced variables are now explicitly added to the non-constant list - Remove unnecessary ignore of implicit casts - Generalized parameter self-assign detection to detect deliberate self-assigns of variables to avoid unused variable warnings - Updated test cases with deliberate self-assignments - Fixed bug with C++ references and pseudoconstants - Added test case for C++ references and pseudoconstants llvm-svn: 111965
* Got a lot of the kinks worked out in the inline support after debugging moreGreg Clayton2010-08-2422-152/+185
| | | | | | | | | | | | | | | | | | | | | | complex inlined examples. StackFrame classes don't have a "GetPC" anymore, they have "GetFrameCodeAddress()". This is because inlined frames will have a PC value that is the same as the concrete frame that owns the inlined frame, yet the code locations for the frame can be different. We also need to be able to get the real PC value for a given frame so that variables evaluate correctly. To get the actual PC value for a frame you can use: addr_t pc = frame->GetRegisterContext()->GetPC(); Some issues with the StackFrame stomping on its own symbol context were resolved which were causing the information to change for a frame when the stack ID was calculated. Also the StackFrame will now correctly store the symbol context resolve flags for any extra bits of information that were looked up (if you ask for a block only and you find one, you will alwasy have the compile unit and function). llvm-svn: 111964
* Fix COFF x86-64 relocations. PR7960.Michael J. Spencer2010-08-244-52/+89
| | | | | | Multiple symbol reloc handling part of the patch by Cameron Esfahani. llvm-svn: 111963
* XFAIL this on mingw, following remove_arguments_test.ll.Dan Gohman2010-08-241-0/+1
| | | | llvm-svn: 111962
* Converted to Makefile.rules.Johnny Chen2010-08-241-123/+3
| | | | llvm-svn: 111961
* More descriptive method doc string.Johnny Chen2010-08-241-1/+1
| | | | llvm-svn: 111960
* Add support for inferring that a load from a pointer implies that it is not ↵Owen Anderson2010-08-241-4/+17
| | | | | | null. llvm-svn: 111959
* Added a test case which uses "image lookup" command on an enum data type.Johnny Chen2010-08-241-0/+51
| | | | llvm-svn: 111958
* Move some of SemaOverload's API to various places in Overload.h, and killJohn McCall2010-08-247-430/+437
| | | | | | some of it off completely. llvm-svn: 111957
* First bit of support for the dwarf .loc directive. This patch updates theKevin Enderby2010-08-244-19/+162
| | | | | | | | | | needed parsing for the .loc directive and saves the current info from that into the context. The next patch will take the current loc info after an instruction is assembled and save that info into a vector for each section for use to build the line number tables. The patch after that will encode the info from those vectors into the output file as the dwarf line tables. llvm-svn: 111956
* Add a testcase for basic bugpointing in the presence of metadata.Dan Gohman2010-08-241-0/+34
| | | | llvm-svn: 111955
* Implement preprocessor code completion where a macro name is expected,Douglas Gregor2010-08-2412-8/+107
| | | | | | | e.g., after #ifdef/#ifndef or #undef, or inside a defined <macroname> expression in a preprocessor conditional. llvm-svn: 111954
* - Add the LinkerPrivateWeakDefAutoLinkage to the Ada bindings.Bill Wendling2010-08-243-19/+30
| | | | | | - Support the LinkerWeak*Linkage types in llvm-nm and in LinkModules.cpp. llvm-svn: 111952
* MC/X86: Tweak imul recognition, previous hack only applies for the imul formDaniel Dunbar2010-08-242-1/+6
| | | | | | taking immediates. llvm-svn: 111950
* Link NamedMDNodes after linking GlobalValues, so that MDNodesDan Gohman2010-08-241-3/+5
| | | | | | which reference GlobalValues are properly remapped. llvm-svn: 111949
* When linking NamedMDNodes, remap their operands.Dan Gohman2010-08-241-3/+5
| | | | llvm-svn: 111948
OpenPOWER on IntegriCloud