summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change "frame var" over to using OptionGroups (and thus the ↵Jim Ingham2011-05-0445-354/+393
| | | | | | | | | OptionGroupVariableObjectDisplay). Change the boolean "use_dynamic" over to a tri-state, no-dynamic, dynamic-w/o running target, and dynamic with running target. llvm-svn: 130832
* Remove dead intrinsics.Bill Wendling2011-05-041-16/+0
| | | | llvm-svn: 130831
* Convert the non-temporal store builtins to LLVM-native IR.Bill Wendling2011-05-041-0/+17
| | | | llvm-svn: 130830
* indvars: Added DisableIVRewrite and WidenIVs.Andrew Trick2011-05-042-9/+130
| | | | | | | | This adds functionality to remove size/zero extension during indvars without generating a canonical IV and rewriting all IV users. It's disabled by default so should have no effect on codegen. Work in progress. llvm-svn: 130829
* Fix use after free through StringRef.Nick Lewycky2011-05-041-2/+3
| | | | llvm-svn: 130828
* Type prefixes of unresolved-names should only be mangled as unresolved-typesJohn McCall2011-05-042-19/+131
| | | | | | | | if they match that production, i.e. if they're template type parameters or decltypes (or, as an obvious case not yet described in the ABI document, if they're template template parameters applied to template arguments). llvm-svn: 130824
* Enhance clang_getCXTUResourceUsage() to return the amount of memory used by ↵Ted Kremenek2011-05-043-4/+30
| | | | | | the Preprocessor's bump allocator as well as those from the PreprocessingRecord. llvm-svn: 130823
* Implement serialization of delegating constructors.Alexis Hunt2011-05-045-15/+54
| | | | llvm-svn: 130822
* Ensure that delegating constructor loop detection uses canonicalAlexis Hunt2011-05-043-4/+10
| | | | | | declarations. llvm-svn: 130821
* The system suppression file should catch these, but since they *once again* areNick Lewycky2011-05-042-0/+14
| | | | | | not, I'll just add them here and be done with it. llvm-svn: 130819
* Don't depend on the physreg coalescing order.Jakob Stoklund Olesen2011-05-042-5/+4
| | | | llvm-svn: 130818
* Don't run this test through -regalloc=basic.Jakob Stoklund Olesen2011-05-041-1/+0
| | | | | | | The basic allocator is really bad about hinting, so it doesn't eliminate all copies when physreg joining is disabled. llvm-svn: 130817
* Fix register-dependent XCore testsJakob Stoklund Olesen2011-05-041-6/+3
| | | | llvm-svn: 130816
* Fix register-dependent test in MSP430.Jakob Stoklund Olesen2011-05-041-1/+1
| | | | llvm-svn: 130815
* Implement MSP430RegisterInfo::getMatchingSuperRegClass to enable cross-classJakob Stoklund Olesen2011-05-041-0/+7
| | | | | | coalescing. llvm-svn: 130814
* Fix the delegating constructors test to not rely on basic block names.Alexis Hunt2011-05-041-7/+7
| | | | llvm-svn: 130813
* Remove some random comments that snuck in from somewhere.Eric Christopher2011-05-041-4/+0
| | | | llvm-svn: 130812
* Make the negative test more robust in light of more than one lldb prompts ↵Johnny Chen2011-05-041-2/+2
| | | | | | | | being emitted in one command invocation. llvm-svn: 130811
* When tag lookup finds something ambiguous, and we're defining a newDouglas Gregor2011-05-042-0/+30
| | | | | | | | | | | | | tag, filter out those ambiguous names that we found if they aren't within the declaration context where this newly-defined tag will be visible. This is basically a hack, because we really need to fix the lookup of tag declarations in this case to not find things it shouldn't. However, it's better than what we had before, and it fixes <rdar://problem/9168556>. llvm-svn: 130810
* Fix a typo in a test.Richard Trieu2011-05-041-1/+1
| | | | | | CHEKC -> CHECK llvm-svn: 130809
* Introduce a new libclang API, clang_isFileMultipleIncludeGuarded(),Douglas Gregor2011-05-0412-18/+88
| | | | | | | | which determines whether a particular file is actually a header that is intended to be guarded from multiple inclusions within the same translation unit. llvm-svn: 130808
* Add comments about 'image' being an alias for 'target modules'.Johnny Chen2011-05-031-0/+2
| | | | llvm-svn: 130806
* Introduce ASTUnit::LoadFromCompilerInvocationAction that allows one to ↵Argyrios Kyrtzidis2011-05-032-0/+129
| | | | | | | | | create an ASTUnit from a CompilerInvocation along with an ASTFrontendAction to invoke, and without all the goo about the precompiled preamble. llvm-svn: 130805
* Update the golden output strings to match against after the recent change.Johnny Chen2011-05-031-2/+2
| | | | llvm-svn: 130804
* Ensure that destructors are properly inovked when an exception leavesAlexis Hunt2011-05-034-18/+69
| | | | | | | | | | the body of a delegating constructor call. This means that the delegating constructor implementation should be complete and correct, though there are some rough edges (diagnostic quality with the cycle detection and using a deleted destructor). llvm-svn: 130803
* Remove debug statement.Johnny Chen2011-05-031-1/+1
| | | | llvm-svn: 130802
* Mark ultra-super-registers QQQQ as call-clobbered instead of the D ↵Jakob Stoklund Olesen2011-05-033-32/+11
| | | | | | | | | | | | | | | sub-registers. LiveVariables doesn't understand that clobbering D0 and D1 completely overwrites Q0, so if Q0 is live-in to a function, its live range will extend beyond a function call that only clobbers D0 and D1. This shows up in the ARM/2009-11-01-NeonMoves test case. LiveVariables should probably implement the much stricter rules for physreg liveness that RAFast imposes - a physreg is killed by the first use of any alias. llvm-svn: 130801
* Fix a bunch of ARM tests to be register allocation independent.Jakob Stoklund Olesen2011-05-038-30/+30
| | | | llvm-svn: 130800
* indvars: Added canExpandBackEdgeTakenCount.Andrew Trick2011-05-031-32/+55
| | | | | | | | | Only create a canonical IV for backedge taken count if it will actually be used by LinearFunctionTestReplace. And some related cleanup, preparing to reduce dependence on canonical IVs. No significant effect on x86 or arm in the test-suite. llvm-svn: 130799
* Use a more gentle way of shutting down the child process spawned during the ↵Johnny Chen2011-05-033-8/+11
| | | | | | | | test execution using pexpect. Change some child.expect() to child.expect_exact() as they try to match the string, not a regular expression. llvm-svn: 130797
* Added new OptionGroup classes for UInt64, UUID, File and Boolean values.Greg Clayton2011-05-0328-1952/+2876
| | | | | | | | | | | | | | | | | | | | | Removed the "image" command and moved it to "target modules". Added an alias for "image" to "target modules". Added some new target commands to be able to add and load modules to a target: (lldb) target modules add <path> (lldb) target modules load [--file <path>] [--slide <offset>] [<sect-name> <sect-load-addr> ...] So you can load individual sections without running a target: (lldb) target modules load --file /usr/lib/libSystem.B.dylib __TEXT 0x7fccc80000 __DATA 0x1234000000 Or you can rigidly slide an entire shared library: (lldb) target modules load --file /usr/lib/libSystem.B.dylib --slid 0x7fccc80000 This should improve bare board debugging when symbol files need to be slid around manually. llvm-svn: 130796
* Only the first zero-length bitfield decides alignment ofFariborz Jahanian2011-05-033-3/+52
| | | | | | | the followup data member in an ms_struct struct. // rdar:// 8823265 llvm-svn: 130795
* Even if the subprogram is going to use AT_specification, emit ↵Devang Patel2011-05-031-5/+5
| | | | | | DW_AT_MIPS_linkage_name. This helps gdb and fixes var-path-expr.exp regression reported by gdb testsuite. llvm-svn: 130794
* MCDwarf: Don't save Twine to local variable, this is almost never safe to doDaniel Dunbar2011-05-031-2/+2
| | | | | | | (and should thus never be done). - Should fix a crash on win32. llvm-svn: 130793
* Pre-load the Python script interpreter with the followingCaroline Tice2011-05-031-0/+41
| | | | | | | | | | | convenience variables (from the ExecutionContext) each time it is entered: lldb.debugger, lldb.target, lldb.process, lldb.thread, lldb.frame. If a frame (or thread, process, etc) does not currently exist, the variable contains the Python value 'None'. llvm-svn: 130792
* Replace the "movnt" intrinsics with a native store + nontemporal metadata bit.Bill Wendling2011-05-034-38/+81
| | | | | | <rdar://problem/8460511> llvm-svn: 130791
* Remove type cast that was causing compiler warning.Caroline Tice2011-05-031-2/+2
| | | | llvm-svn: 130790
* Make the driver listen for asynchronous output, rather thanCaroline Tice2011-05-033-20/+27
| | | | | | | the IOChannel, so that it can be written out even while the IOChannel is collecting user input. llvm-svn: 130789
* Move the AST modifications to after the cycle detection inAlexis Hunt2011-05-031-6/+12
| | | | | | | lib/Sema/SemaDeclCXX.cpp to avoid getting stuck in an infinite loop. See the comment for more explanation. llvm-svn: 130788
* Gracefully handle invalid live ranges. Fix PR9831.Jakob Stoklund Olesen2011-05-033-0/+23
| | | | | | | | | | | | | | | | Register coalescing can sometimes create live ranges that end in the middle of a basic block without any killing instruction. When SplitKit detects this, it will repair the live range by shrinking it to its uses. Live range splitting also needs to know about this. When the range shrinks so much that it becomes allocatable, live range splitting fails because it can't find a good split point. It is paranoid about making progress, so an allocatable range is considered an error. The coalescer should really not be creating these bad live ranges. They appear when coalescing dead copies. llvm-svn: 130787
* Extend -Wnon-pod-memset to also encompass memcpy() and memmove(),Douglas Gregor2011-05-034-50/+76
| | | | | | | | checking both the source and the destination operands, renaming the warning group to -Wnon-pod-memaccess and tweaking the diagnostic text in the process. llvm-svn: 130786
* Silence warnings.Devang Patel2011-05-031-0/+2
| | | | llvm-svn: 130785
* Finish off rules for z-length bitfields in ms_structFariborz Jahanian2011-05-036-26/+85
| | | | | | structs. // rdar://8823265 llvm-svn: 130783
* Fix delegating constructors stylistic issues.Alexis Hunt2011-05-033-14/+22
| | | | | | Material bugfixes to come this afternoon. llvm-svn: 130782
* Separate the -Wnon-pod-memset warnings into two separate warnings:Douglas Gregor2011-05-033-12/+25
| | | | | | | - a default-on warning for pointers to dynamic classes (= classes with vtables) - a default-off warning for other non-POD types llvm-svn: 130781
* Implement some basic simplifications involving min/max, for exampleDuncan Sands2011-05-033-0/+356
| | | | | | | | max(a,b) >= a -> true. According to my super-optimizer, these are by far the most common simplifications (of the -instsimplify kind) that occur in the testsuite and aren't caught by -std-compile-opts. llvm-svn: 130780
* Tidy up. Add missing newline to generated file.Jim Grosbach2011-05-031-1/+1
| | | | llvm-svn: 130779
* Make the test less likely to fail with minor changes.Evan Cheng2011-05-031-1/+1
| | | | llvm-svn: 130778
* Modify test_image_search_paths(self) to check for the pattern ↵Johnny Chen2011-05-031-0/+3
| | | | | | | | "%s-[^-]*-[^-]*" % self.getArchitecture() from the output of running 'image list -t 3' command which lists the triples of the image list. llvm-svn: 130777
* Remove unused but set variable.Benjamin Kramer2011-05-031-1/+0
| | | | llvm-svn: 130776
OpenPOWER on IntegriCloud