summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix braino in dominator tree walk.Jakob Stoklund Olesen2011-01-121-1/+1
| | | | llvm-svn: 123338
* Fixing an ambiguity in variadics found by clang.Howard Hinnant2011-01-121-9/+9
| | | | llvm-svn: 123337
* Add the location of the right parenthesis of a C++ named castDouglas Gregor2011-01-126-31/+61
| | | | | | | (static_cast, dynamic_cast, reinterpret_cast, or const_cast) to improve source-location information. Fixes PR8960. llvm-svn: 123336
* Sometimes, old virtual registers can linger on DBG_VALUE instructions.Jakob Stoklund Olesen2011-01-121-1/+2
| | | | | | Make sure we don't crash in that case, but simply turn them into %noreg instead. llvm-svn: 123335
* Teach VirtRegRewriter to update slot indexes when erasing instructions.Jakob Stoklund Olesen2011-01-121-38/+26
| | | | | | It was leaving dangling pointers in the slot index maps. llvm-svn: 123334
* Annotate VirtRegRewriter debug output with slot indexes.Jakob Stoklund Olesen2011-01-122-2/+6
| | | | llvm-svn: 123333
* Add IR generation support for SizeOfPackExpr.Douglas Gregor2011-01-122-0/+17
| | | | llvm-svn: 123332
* Add some more partial-ordering tests, including one that changes withDouglas Gregor2011-01-121-0/+33
| | | | | | | the proposed resolution to core isue 692. I'm not certain which way we'll go on this one. llvm-svn: 123331
* Verify slot index ordering.Jakob Stoklund Olesen2011-01-121-0/+25
| | | | | | The slot indexes must be monotonically increasing through the function. llvm-svn: 123324
* Assert if anybody tries to put a slot index on a DBG_VALUE instruction.Jakob Stoklund Olesen2011-01-121-0/+3
| | | | llvm-svn: 123323
* Verify that machine instruction parent pointers are consistent.Jakob Stoklund Olesen2011-01-121-0/+5
| | | | llvm-svn: 123322
* Sort the register list based on the *actual* register numbers rather than theBill Wendling2011-01-122-5/+13
| | | | | | enum values we give to them. <rdar://problem/8823730> llvm-svn: 123321
* wint_t is defined as 'unsigned int' on Linux. Fixes PR8938.Douglas Gregor2011-01-122-0/+205
| | | | llvm-svn: 123320
* Update Xcode project.Anders Carlsson2011-01-121-6/+9
| | | | llvm-svn: 123319
* Use SmallVector instead of SmallPtrSet and avoid non-deterministic behavior.Devang Patel2011-01-121-3/+3
| | | | llvm-svn: 123318
* Mostly undo r123297, but move the default case in EvaluateAsPCRel to the topMatt Beaumont-Gay2011-01-121-3/+3
| | | | | | of the switch block to appease GCC. llvm-svn: 123317
* Teach TreeTransform how to transform a pack expansion type intoDouglas Gregor2011-01-124-13/+74
| | | | | | | | | another pack expansion type. This can happen when rebuilding types in the current instantiation. Fixes <rdar://problem/8848837> (Clang crashing on libc++ <functional>). llvm-svn: 123316
* Add another note taken from the gcc bugzilla.Nick Lewycky2011-01-121-1/+20
| | | | llvm-svn: 123315
* PR3558: mark "logically const" accessor methods in ASTContext as const,Jay Foad2011-01-1225-425/+460
| | | | | | | and mark the fields they use as mutable. This allows us to remove a few const_casts. llvm-svn: 123314
* Add some documentation for C++ static analyzer.Zhongxing Xu2011-01-121-0/+22
| | | | llvm-svn: 123313
* Add cast expr kinds to CheckerVisitor.def.Zhongxing Xu2011-01-121-0/+3
| | | | llvm-svn: 123312
* Implement RETURNADDR and FRAMEADDR lowering in SPARC backend.Venkatraman Govindaraju2011-01-124-4/+131
| | | | llvm-svn: 123310
* Do not pass an invalid thread to Thread{Cancel,Join}.Stephen Wilson2011-01-121-4/+5
| | | | | | | | | | | | | A race condition exists between StopReadThread and the reader thread proper. When StopReadThread sets m_read_thread_enabled to false the reader thread can terminate and set m_read_thread to LLDB_INVALID_HOST_THREAD on exit. Thus calls to ThreadCancel or ThreadJoin in StopReadThread can be passed an invalid handle. This patch removes the race by using m_read_thread_enabled as the flag thru which the reader thread can notify the parent thread of early/abnormal termination. llvm-svn: 123309
* Initialize SymbolFileDWARFDebugMap on Apple platforms only.Stephen Wilson2011-01-121-2/+2
| | | | | | | SymbolFileDWARFDebugMap handles the parsing of OSO stabs which are effectively a Mach-O specific feature and is incompatible with other object file formats. llvm-svn: 123308
* Null terminate path returned by readlink().Stephen Wilson2011-01-121-2/+4
| | | | llvm-svn: 123307
* Log diagnostic when setting software breakpoints only on failure.Stephen Wilson2011-01-121-2/+3
| | | | | | | | | | Previously we would be posting a "FAILED" message to the log channel even when the operation succeeded. Also, take this opportunity to add braces thus eliminating an "ambiguous else" compiler warning. llvm-svn: 123306
* Bumped Xcode project version to 40 for lldb-40.Greg Clayton2011-01-122-11/+11
| | | | llvm-svn: 123305
* Remove SPARC backend getpcx instruction's Uses. Also, insert an assert to Venkatraman Govindaraju2011-01-122-3/+5
| | | | | | ensure %o7 is not assigned as the destination of getpcx instruction. llvm-svn: 123304
* Fix a latent bug where, after emitting an expression statement, we wouldJohn McCall2011-01-124-27/+69
| | | | | | | | | | | | | | delete the block we began emitting into if it had no predecessors. We never want to do this, because there are several valid cases during statement emission where an existing block has no known predecessors but will acquire some later. The case in my test case doesn't inherently fall into this category, because we could safely emit the case-range code before the statement body, but there are examples with labels that can't be fallen into that would also demonstrate this bug. rdar://problem/8837067 llvm-svn: 123303
* revert 123144, reenabling the rest of memset formation.Chris Lattner2011-01-122-7/+3
| | | | llvm-svn: 123302
* Fix SPARC backend call instruction so that arguments passed through registersVenkatraman Govindaraju2011-01-123-11/+37
| | | | | | | are correctly marked as used instead of passing all possible argument registers as used. llvm-svn: 123301
* Added the following functions to SBThread to allow threads to be suspended ↵Greg Clayton2011-01-125-29/+84
| | | | | | | | | | when a process is resumed: bool SBThread::Suspend(); bool SBThread::Resume(); bool SBThread::IsSuspended(); llvm-svn: 123300
* revert r123146 which disabled code that wasn't the root causeChris Lattner2011-01-122-8/+4
| | | | | | of the bootstrap miscompare issue. llvm-svn: 123299
* revert r123149, reenabling an improvement to memcpyopt that wasn'tChris Lattner2011-01-121-4/+2
| | | | | | the source of the bootstrap problem. llvm-svn: 123298
* Prefer llvm_unreachable to assert(0)Matt Beaumont-Gay2011-01-121-3/+3
| | | | llvm-svn: 123297
* Driver: Change -dumpversion to return a GCC compatible answer.Daniel Dunbar2011-01-121-1/+7
| | | | | | - See comment for why. llvm-svn: 123296
* Slight bugfix to the attribute-distribution logic for GC attributes.John McCall2011-01-123-20/+26
| | | | | | Slight optimization of getObjCGCAttrKind. llvm-svn: 123295
* 1. Support ELF pcrel relocations for movw/movt:Jason W Kim2011-01-126-5/+84
| | | | | | | | R_ARM_MOVT_PREL and R_ARM_MOVW_PREL_NC. 2. Fix minor bug in ARMAsmPrinter - treat bitfield flag as a bitfield, not an enum. 3. Add support for 3 new elf section types (no-ops) llvm-svn: 123294
* Set unnamed_addr in every type info.Rafael Espindola2011-01-118-108/+106
| | | | llvm-svn: 123293
* Workaround for bug 8721.Jason W Kim2011-01-112-0/+120
| | | | | | .s Test added. llvm-svn: 123292
* Add a comment for r123231.Francois Pichet2011-01-111-0/+2
| | | | llvm-svn: 123291
* The world is not ready for LiveDebugVariables yet.Jakob Stoklund Olesen2011-01-114-5/+6
| | | | llvm-svn: 123290
* Add TemplateArgument::CreatePackCopy() to create a new parameter packDouglas Gregor2011-01-115-21/+32
| | | | | | | in ASTContext-allocated memory, copying the provided template arguments. Use this new routine where we can. No functionality change. llvm-svn: 123289
* Remove the PR8954 workaround.Jakob Stoklund Olesen2011-01-111-4/+0
| | | | llvm-svn: 123288
* Fix a non-deterministic loop in llvm::MergeBlockIntoPredecessor.Jakob Stoklund Olesen2011-01-111-2/+2
| | | | | | | | | DT->changeImmediateDominator() trivially ignores identity updates, so there is really no need for the uniqueing provided by SmallPtrSet. I expect this to fix PR8954. llvm-svn: 123286
* Enable LiveDebugVariables by default.Jakob Stoklund Olesen2011-01-114-6/+5
| | | | llvm-svn: 123282
* SPARC backend: correct ICC/FCC uses for ADDX and SELECT_CCVenkatraman Govindaraju2011-01-112-15/+95
| | | | llvm-svn: 123281
* Set unnamed_addr in VTTs.Rafael Espindola2011-01-114-8/+9
| | | | llvm-svn: 123280
* Implement partial ordering of class template partial specializationsDouglas Gregor2011-01-115-6/+114
| | | | | | | | | | | | | | | | | | | | | | and function templates that contain variadic templates. This involves three small-ish changes: (1) When transforming a pack expansion, if the transformed argument still contains unexpanded parameter packs, build a pack expansion. This can happen during the substitution that occurs into class template partial specialiation template arguments during partial ordering. (2) When performing template argument deduction where the argument is a pack expansion, match against the pattern of that pack expansion. (3) When performing template argument deduction against a non-pack parameter, or a non-expansion template argument, deduction fails if the argument itself is a pack expansion (C++0x [temp.deduct.type]p22). llvm-svn: 123279
* Dial back the speculative fix for PR8954 a bit, so that we only recompute ↵Cameron Zwarich2011-01-111-1/+3
| | | | | | | | dominators once at the beginning of GVN instead of once per iteration. llvm-svn: 123278
OpenPOWER on IntegriCloud