summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix typoChris Lattner2011-01-151-1/+1
| | | | llvm-svn: 123516
* Catch ~x < cst just like ~x < ~y, we currently handle this throughChris Lattner2011-01-151-4/+8
| | | | | | means that are about to disappear. llvm-svn: 123515
* reduce indentationChris Lattner2011-01-151-29/+29
| | | | llvm-svn: 123514
* lldb-41 and debugserver-126 are set in the Xcode projects.Greg Clayton2011-01-153-16/+16
| | | | llvm-svn: 123513
* Add initial prototype for implementation ofTed Kremenek2011-01-156-0/+521
| | | | | | -Wuninitialized based on CFG dataflow analysis. WIP. llvm-svn: 123512
* Add const version if CFG::isBlkExpr().Ted Kremenek2011-01-151-1/+4
| | | | llvm-svn: 123511
* Store/retrieve -fshort-enums for PCH, fixes rdar://8854933.Argyrios Kyrtzidis2011-01-152-0/+4
| | | | llvm-svn: 123510
* Added complete complex support for displaying and parsing complex types.Greg Clayton2011-01-154-15/+64
| | | | llvm-svn: 123509
* Tweak the storage mechanism for a set of overloaded template names inDouglas Gregor2011-01-151-4/+4
| | | | | | | the TemplateName class. Nothing actually changes, but I find this less objectionable (and it will factor into an upcoming change). llvm-svn: 123508
* Enabled ObjC 2 abilities for expressions. We will enable the fragile ivarGreg Clayton2011-01-151-0/+8
| | | | | | | stuff soon when we get a fix for looking up the "OBJC_IVAR_$_Class.ivar" style symbols into IRForTarget::ResolveExternals() next week. llvm-svn: 123507
* Introduce a new expression kind, SubstNonTypeTemplateParmPackExpr,Douglas Gregor2011-01-1518-7/+237
| | | | | | | | | that captures the substitution of a non-type template argument pack for a non-type template parameter pack within a pack expansion that cannot be fully expanded. This follows the approach taken by SubstTemplateTypeParmPackType. llvm-svn: 123506
* 80-col.Eric Christopher2011-01-151-2/+4
| | | | llvm-svn: 123505
* Add empty implementation of pure virtual ↵Stephen Wilson2011-01-152-0/+8
| | | | | | | | | RegisterContext::InvalidateAllRegisters. This patch simply allows the tree to build. A proper implementation still needs to be provided. llvm-svn: 123504
* Set the ID of a ProcessLinux instance to the PID of the inferior on launch.Stephen Wilson2011-01-151-0/+1
| | | | llvm-svn: 123503
* Miscellaneous cleanups in ProcessMonitor.Stephen Wilson2011-01-151-8/+15
| | | | | | | Propagate the environment if one is not provided. Also, do not allocate the monitor threads launch arguments on the stack. llvm-svn: 123502
* Generalize LoadAndStorePromoter a bit and switch LICMChris Lattner2011-01-154-193/+131
| | | | | | to use it. llvm-svn: 123501
* Use the correct type for thread handle.Stephen Wilson2011-01-151-1/+1
| | | | llvm-svn: 123500
* Implement ProcessLinux::GetImageInfoAddress().Stephen Wilson2011-01-152-0/+16
| | | | llvm-svn: 123499
* Test if an ELF object is executable by checking if an entry point is defined.Stephen Wilson2011-01-151-1/+1
| | | | | | | The previous check on header type ET_EXEC is not general enough. Position independent executables have type ET_DYN. llvm-svn: 123498
* Fix a comment.Bob Wilson2011-01-151-2/+2
| | | | llvm-svn: 123497
* Implement GetEntryPoint, GetImageInfoAddress and GetArchitecture for ↵Stephen Wilson2011-01-152-2/+85
| | | | | | ObjectFileELF. llvm-svn: 123496
* Have LinuxThread cache it's current StopInfo object.Stephen Wilson2011-01-152-17/+41
| | | | llvm-svn: 123495
* Fix 80-cols.Eric Christopher2011-01-141-7/+14
| | | | llvm-svn: 123494
* Teach template template argument pack expansions to keep track of theDouglas Gregor2011-01-1411-24/+117
| | | | | | | number of expansions, when we know it, and propagate that information through Sema. llvm-svn: 123493
* Added the ability to wait for a predicate value, and set it to a new value ↵Greg Clayton2011-01-141-0/+32
| | | | | | all in a thread safe fashion. llvm-svn: 123492
* Update CMake build.Ted Kremenek2011-01-141-0/+2
| | | | llvm-svn: 123491
* Fix some tablegen issues to allow using zero_reg for InstAlias definitions.Bob Wilson2011-01-142-3/+23
| | | | | | | | This is needed to allow an InstAlias for an instruction with an "OptionalDef" result register (like ARM's cc_out) where you want to set the optional register to reg0. llvm-svn: 123490
* Handle substitutions into function parameter packs whose patternsDouglas Gregor2011-01-145-17/+79
| | | | | | contain multiple parameter packs at different levels. llvm-svn: 123488
* Fix memory leak found by clang static analyzer.Ted Kremenek2011-01-141-1/+1
| | | | llvm-svn: 123487
* 'HiReg' is written but never read. Nuke itsTed Kremenek2011-01-141-5/+5
| | | | | | | | declaration and its assignments. Found by clang static analyzer. llvm-svn: 123486
* Cleanup confused code that redundantly called "getDeclContext()" twice.Ted Kremenek2011-01-141-3/+1
| | | | | | Found by clang static analyzer. llvm-svn: 123485
* The variable 'ReusedDecl' is written but never read.Ted Kremenek2011-01-141-2/+0
| | | | | | Remove this variable (found by clang static analyzer). llvm-svn: 123484
* The variable 'isTemplateSpecialization' is no longerTed Kremenek2011-01-141-6/+3
| | | | | | used; nuke all assignments and its declaration. llvm-svn: 123483
* Remove unused store to variable 'Name'. Found by clang static analyzer.Ted Kremenek2011-01-141-1/+0
| | | | llvm-svn: 123482
* Driver: tweak handling of '--analyze' to invokeTed Kremenek2011-01-141-10/+25
| | | | | | | | | | analyzer -cc1 options that are tailored to the input type. If the input type is "C++", we should only run the dead stores checker (for now). Similarly, checks specific to Objective-C should only run on Objective-C Code. llvm-svn: 123481
* Fix a false-positive warning.Owen Anderson2011-01-141-1/+3
| | | | llvm-svn: 123480
* Delete an assignment to ThisBB which isn't needed, and tidy up someDan Gohman2011-01-141-4/+6
| | | | | | comments. llvm-svn: 123479
* Fixed by r123477.Owen Anderson2011-01-141-1/+0
| | | | llvm-svn: 123478
* Enhance GlobalOpt to be able evaluate initializers that involve stores throughOwen Anderson2011-01-141-2/+49
| | | | | | bitcasts, at least in simple cases. This fixes clang's CodeGenCXX/virtual-base-dtor.cpp llvm-svn: 123477
* Add a possibility to switch between CFI directives- and table-based frame ↵Anton Korobeynikov2011-01-148-18/+32
| | | | | | description emission. Currently all the backends use table-based stuff. llvm-svn: 123476
* CleanupAnton Korobeynikov2011-01-141-6/+1
| | | | llvm-svn: 123475
* Add CFI directives-based frame information emission. Not hooked yet.Anton Korobeynikov2011-01-144-1/+210
| | | | llvm-svn: 123474
* Split stuff as a preparation for CFI directives-based frame information emissionAnton Korobeynikov2011-01-144-356/+440
| | | | llvm-svn: 123473
* Use common style for .cfi directivesAnton Korobeynikov2011-01-141-7/+7
| | | | llvm-svn: 123472
* Converted to use Makefile.rules.Johnny Chen2011-01-141-122/+3
| | | | llvm-svn: 123471
* Teach PackExpansionExpr to keep track of the number of pack expansionsDouglas Gregor2011-01-1410-21/+86
| | | | | | it will expand to, if known. Propagate this information throughout Sema. llvm-svn: 123470
* Add makefile debugging rule for printing out the value of a variable.Johnny Chen2011-01-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | From http://blog.melski.net/tag/debugging-makefiles/. Example: [13:14:59] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CC CC=gcc origin = file flavor = recursive value = gcc [13:15:09] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-LD LD= g++ origin = file flavor = recursive value = $(call cxx_linker,$(CC)) [13:15:21] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CXX CXX= g++ origin = file flavor = recursive value = $(call cxx_compiler,$(CC)) [13:15:29] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ llvm-svn: 123469
* Support for precise scheduling of the instruction selection DAG,Andrew Trick2011-01-141-537/+663
| | | | | | | | | | | | | | | | | | | | | | | | | disabled in this checkin. Sorry for the large diffs due to refactoring. New functionality is all guarded by EnableSchedCycles. Scheduling the isel DAG is inherently imprecise, but we give it a best effort: - Added MayReduceRegPressure to allow stalled nodes in the queue only if there is a regpressure need. - Added BUHasStall to allow checking for either dependence stalls due to latency or resource stalls due to pipeline hazards. - Added BUCompareLatency to encapsulate and standardize the heuristics for minimizing stall cycles (vs. reducing register pressure). - Modified the bottom-up heuristic (now in BUCompareLatency) to prioritize nodes by their depth rather than height. As long as it doesn't stall, height is irrelevant. Depth represents the critical path to the DAG root. - Added hybrid_ls_rr_sort::isReady to filter stalled nodes before adding them to the available queue. Related Cleanup: most of the register reduction routines do not need to be templates. llvm-svn: 123468
* Recent modifications to the Python script interpreter caused some problemsCaroline Tice2011-01-142-7/+88
| | | | | | | | | | | | when handling one-liner commands that contain escaped characters. In order to deal with the new namespace/dictionary stuff, the command was being embedded within a second string, which messed up the escaping. This fixes the problem by handling one-liners in a different manner, so they no longer need to be embedded within another string, and can still be processed in the proper namespace/dictionary context. llvm-svn: 123467
* Extend the ObjectFile interface to support dynamic loading on ELF platforms.Stephen Wilson2011-01-141-0/+27
| | | | | | | | | | | | | | | | | Debuggers on ELF platforms hook into the runtime linker by monitoring a special "rendezvous" embedded in the address space of the inferior process. The exact location of this structure is filled in by the runtime linker and can be resolved by locating the DT_DEBUG entry in the processes .dynamic section. The new GetImageInfoAddress() method (morally equivalent to Process::GetImageInfoAddress) provides the mechanism to locate this information. GetEntryPoint() simply returns the address of the start symbol in the executable if present. It is useful to the dynamic loader plugin for ELF systems as this is the earliest point where LLDB can break and probe the inferiors .dynamic section and rendezvous structure. Also, this address can be used in the computation of the virtual base address for position independent executables. llvm-svn: 123466
OpenPOWER on IntegriCloud