summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correctly add the QueueID to a pending block's extended thread backtrace thread.Jason Molenda2014-03-105-75/+149
| | | | | | | | | Seed the QueueItem objects with the item_refs and addresses when they are fetched in one batch. If additional information is needed from the QueueItem, fetch it lazily one pending item per function call. <rdar://problem/16270007>, <rdar://problem/16032150> llvm-svn: 203449
* [LCG] Make this call graph a fully regular type by giving it assignmentChandler Carruth2014-03-101-0/+6
| | | | | | | as well. I don't see any particular need but it imposes no cost to support it and it makes the API cleaner. llvm-svn: 203448
* [LCG] Make the iterator move constructable (and thus movable in general)Chandler Carruth2014-03-101-1/+1
| | | | | | now that there is essentially no cost to doing so. Yay C++11. llvm-svn: 203447
* clang/test/Index/preamble-reparse-warn-*.c: Stabilize on win32.NAKAMURA Takumi2014-03-102-7/+4
| | | | llvm-svn: 203446
* clang/test/Index/preamble-reparse-warn-*.c: Use @LINE in FileCheck.NAKAMURA Takumi2014-03-102-5/+5
| | | | llvm-svn: 203445
* [C++11] Remove 'virtual' keyword from methods marked with 'override' keyword.Craig Topper2014-03-108-138/+131
| | | | llvm-svn: 203444
* Fix bug I introduced (enabling implicit conversions from compare function to ↵Marshall Clow2014-03-102-4/+38
| | | | | | map) in r202994. Thanks to Sebastian Redl for the catch. llvm-svn: 203443
* [C++11] Remove 'virtual' keyword from methods marked with 'override' keyword.Craig Topper2014-03-1014-67/+62
| | | | llvm-svn: 203442
* [AArch64] Fix a use of uninitialized memory introduced in r203125,Chandler Carruth2014-03-101-3/+3
| | | | | | | and caught by the MSan bootstrap build bot. This should hopefully get the bot green at long last. llvm-svn: 203441
* De-virtualize a method since it doesn't override anything and isn't ↵Craig Topper2014-03-101-1/+1
| | | | | | overridden itself. llvm-svn: 203440
* [C++11] Add 'override' keyword to virtual methods that override their base ↵Craig Topper2014-03-1010-115/+114
| | | | | | class. llvm-svn: 203439
* [LCG] One more formatting fix that I failed to get into the priorChandler Carruth2014-03-101-1/+1
| | | | | | | commit. Sorry for the churn, just trying to keep it out of any functionality changed. llvm-svn: 203438
* [TTI] There is actually no realistic way to pop TTI implementations offChandler Carruth2014-03-109-41/+0
| | | | | | | | | | | | | | the stack of the analysis group because they are all immutable passes. This is made clear by Craig's recent work to use override systematically -- we weren't overriding anything for 'finalizePass' because there is no such thing. This is kind of a lame restriction on the API -- we can no longer push and pop things, we just set up the stack and run. However, I'm not invested in building some better solution on top of the existing (terrifying) immutable pass and legacy pass manager. llvm-svn: 203437
* ADT/PointerIntPairTest.cpp: Appease msc17.NAKAMURA Takumi2014-03-101-1/+3
| | | | | | | - Use constructor instead of initializer list. - Disable ManyUnusedBits for now. llvm-svn: 203436
* [LCG] Ran clang-format over this too and it pointed out some fixes.Chandler Carruth2014-03-101-4/+6
| | | | llvm-svn: 203435
* [PM] While I'm here, fix a few other clang-format issues. Pulls someChandler Carruth2014-03-102-6/+6
| | | | | | lines under 80-columns, etc. llvm-svn: 203434
* [C++11] Add 'override' keyword to virtual methods that override their base ↵Craig Topper2014-03-1031-414/+407
| | | | | | class. llvm-svn: 203433
* [PM] Cleanup formatting and namespace commenting. Mostly done withChandler Carruth2014-03-101-36/+45
| | | | | | | clang-format, but with some modifications by me where it got things wrong or got confused. llvm-svn: 203432
* [PM] As Dave noticed in review, I had erroneously copied the moveChandler Carruth2014-03-101-7/+9
| | | | | | | | | | | | | | | | | | constructors from the classes which only have a single reference member to many other places. This resulted in them copying their single member instead of moving. =/ Fix this. There's really not a useful test to add sadly because these move constructors are only called when something deep inside some standard library implementation *needs* to move them. Many of the types aren't even user-impacting types. Or, the objects are copyable anyways and so the result was merely a performance problem rather than a correctness problem. Anyways, thanks for the review. And this is a great example of why I wish I colud have the compiler write these for me. llvm-svn: 203431
* MC: Appease the buildbotsDavid Majnemer2014-03-101-2/+2
| | | | | | This is fallout from r203429. llvm-svn: 203430
* MC: Cleanup MCSectionMachO::ParseSectionSpecifierDavid Majnemer2014-03-101-77/+43
| | | | | | | | | Split by comma once instead of multiple times. Moving this upfront makes the rest of the code considerably simpler. No functional change. llvm-svn: 203429
* [PM] Add a comment I missed and add the special members to one moreChandler Carruth2014-03-101-0/+14
| | | | | | class that might (at some point) need them. llvm-svn: 203428
* [PM] Comment on all of the totally pointless definitions of specialChandler Carruth2014-03-101-2/+28
| | | | | | members as being te workaround MSVC. llvm-svn: 203427
* [PM] I have been educated by several folks that MSVC will neverChandler Carruth2014-03-101-23/+152
| | | | | | | | | | | | | | | | | synthesize a move constructor. Thus, for any types where move semantics are important (yea, that's essentially every type...) you must explicitly define the special members. Do so systematically throughout the pass manager as the core of the design relies heavily on move semantics. This will hopefully fix the build with MSVC 2013. We still don't know why MSVC 2012 accepted this code, but it almost certainly wasn't doing the right thing. I've also added explicit to a few single-argument constructors spotted in passing. llvm-svn: 203426
* When a type's definition is instantiated, the definition becomes visible, evenRichard Smith2014-03-108-2/+95
| | | | | | | | | if the type's declaration was previously instantiated in an unimported module. (For an imported type definition, this already worked, because the source location is set to the location of the definition, but for locally-instantiated type definitions, it did not.) llvm-svn: 203425
* [Sparc] Add support for decoding 'swap' instruction.Venkatraman Govindaraju2014-03-093-1/+46
| | | | llvm-svn: 203424
* Fix inconsistent whitespace.Bob Wilson2014-03-091-1/+1
| | | | llvm-svn: 203423
* Remove trailing whitespace.Bob Wilson2014-03-091-1/+1
| | | | llvm-svn: 203422
* libBacktraceRecording __introspection_dispatch_queue_get_pending_items isJason Molenda2014-03-095-51/+115
| | | | | | | | | | | changing the data it returns; this change accepts either the old format or the new format. It doesn't yet benefit from the new format's additions - but I need to get this checked in so we aren't rev-locked. Also add a missing .i entry for SBQueue::GetNumRunningItems() missing from the last checkin. <rdar://problem/16272115> llvm-svn: 203421
* SBQueue::GetNumPendingItems() should not force a fetch of the pendingJason Molenda2014-03-092-6/+32
| | | | | | | | | items; the backing Queue object has the number of pending items already cached. Also, add SBQueue::GetNumRunningItems() to provide that information. <rdar://problem/16272016> llvm-svn: 203420
* Work around FreeBSD rtld rpath $ORIGIN limitationEd Maste2014-03-091-0/+3
| | | | | | | | | FreeBSD's rtld requires the DF_ORIGIN flag set in order to process $ORIGIN in rpath. FreeBSD bug http://bugs.freebsd.org/187114 llvm-svn: 203419
* [C++11] Add 'override' keyword to virtual methods that override their base ↵Craig Topper2014-03-0912-65/+62
| | | | | | class. llvm-svn: 203418
* Tab to spaces. No functionality change.Nick Lewycky2014-03-091-1/+1
| | | | llvm-svn: 203417
* Fix uninitialized value in AttributedTypeLoc.Logan Chien2014-03-091-3/+10
| | | | | | | | | | | Clang might crash while reading the precompiled headers if we don't initialize the AttrEnumOperandLoc properly. This commit fixes the combination of string attribute operand and enum operand. Besides, this commit also adds several assertions to avoid unexpected operand kind. llvm-svn: 203416
* StackColoring: Use range-based for loops.Benjamin Kramer2014-03-091-79/+47
| | | | | | No functionality change. llvm-svn: 203415
* MachineModuleInfo: Turn nested std::pairs into a proper struct.Benjamin Kramer2014-03-094-26/+24
| | | | llvm-svn: 203414
* SimplifyCFG: Simplify the weight scaling algorithm.Benjamin Kramer2014-03-091-15/+6
| | | | | | No change in functionality. llvm-svn: 203413
* [Mips] Fix addendum reading for R_MIPS_26 relocation.Simon Atanasyan2014-03-092-1/+41
| | | | llvm-svn: 203412
* [Mips] Fix addendum reading for R_MIPS_32 relocation.Simon Atanasyan2014-03-092-3/+34
| | | | llvm-svn: 203411
* [Mips] Fix addendum reading for R_MIPS_HI16 / R_MIPS_LO16 relocations.Simon Atanasyan2014-03-094-26/+155
| | | | llvm-svn: 203410
* [Mips] Create ELF object reader for MIPS target.Simon Atanasyan2014-03-093-0/+119
| | | | llvm-svn: 203409
* [ELF] Factor out the code creates a Reference for the specified symbolSimon Atanasyan2014-03-091-23/+38
| | | | | | and relocation entry into the two virtual functions. llvm-svn: 203408
* [Mips] Rename R_MIPS_26 relocation handling test case.Simon Atanasyan2014-03-091-13/+13
| | | | llvm-svn: 203407
* [Mips] Remove redundant 'mips' prefix from names of MipsELFWriter classSimon Atanasyan2014-03-091-15/+14
| | | | | | fields. llvm-svn: 203406
* [Mips] Reduce the code indentation.Simon Atanasyan2014-03-091-15/+16
| | | | llvm-svn: 203405
* [Mips] Change unused return type from 'bool' to 'void'.Simon Atanasyan2014-03-091-2/+1
| | | | llvm-svn: 203404
* [Mips] Remove unnecessary LLVM_ATTRIBUTE_UNUSED attribute.Simon Atanasyan2014-03-091-1/+1
| | | | llvm-svn: 203403
* [Mips] Do not inherit MipsDynamicLibraryWriter and MipsExecutableWriterSimon Atanasyan2014-03-093-12/+11
| | | | | | from MipsELFWriter class. MipsELFWriter is just a helper. llvm-svn: 203402
* [Mips] Mark class by 'final' keyword.Simon Atanasyan2014-03-091-3/+3
| | | | llvm-svn: 203401
* [Mips] Remove redundant 'mips' prefix from names of MipsTargetHandlerSimon Atanasyan2014-03-092-19/+18
| | | | | | and MipsDynamicSymbolTable classes fields. llvm-svn: 203400
OpenPOWER on IntegriCloud