summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* In my tests, I'm finding that declaring iterators in terms of ranges can ↵Aaron Ballman2014-03-075-16/+41
| | | | | | | | sometimes have dangerous side-effects where the range temporary is destroyed, taking the underlying iterators out with it. This changes the iterators so that they are no longer implemented in terms of ranges (so it's a very partial revert of the existing rangification efforts). llvm-svn: 203299
* Moved test file from test/MC/Mips to test/CodeGen/Mips.Sasa Stankovic2014-03-071-0/+0
| | | | llvm-svn: 203298
* Remove unnecessary check for Darwin. rdar://problem/16264854Adrian Prantl2014-03-071-1/+1
| | | | llvm-svn: 203297
* DebugInfo: Use DW_FORM_data4 for DW_AT_high_pc in inlined functionsDavid Blaikie2014-03-072-4/+4
| | | | | | Suggested by Adrian Prantl in code review for r203187. llvm-svn: 203296
* DebugInfo: Update test to cover linux (with a FIXME...) tooDavid Blaikie2014-03-071-6/+10
| | | | llvm-svn: 203295
* [C++11] Revert uses of lambdas with array_pod_sort.Benjamin Kramer2014-03-072-9/+11
| | | | | | Looks like GCC implements the lambda->function pointer conversion differently. llvm-svn: 203294
* [C++11] Revert uses of lambdas with array_pod_sort.Benjamin Kramer2014-03-074-23/+31
| | | | | | Looks like GCC implements the lambda->function pointer conversion differently. llvm-svn: 203293
* Remove unused code.Greg Clayton2014-03-072-103/+0
| | | | llvm-svn: 203292
* Update status for LWG 2193 and 2344.Marshall Clow2014-03-071-3/+3
| | | | llvm-svn: 203291
* Implement LWG #2344: quoted()'s interaction with padding is unclear. I think ↵Marshall Clow2014-03-072-9/+25
| | | | | | that anyone using quoted with padding is really confused, but it should work the way the rest of iostreams works. llvm-svn: 203290
* [C++11] Convert sort predicates into lambdas.Benjamin Kramer2014-03-076-50/+35
| | | | | | No functionality change. llvm-svn: 203289
* [C++11] Convert sort predicates into lambdas.Benjamin Kramer2014-03-077-62/+33
| | | | | | No functionality change. llvm-svn: 203288
* Actually include the ArrayRef header rather than rely on the forwardEric Christopher2014-03-071-2/+1
| | | | | | declaration. llvm-svn: 203287
* Fix up formatting.Eric Christopher2014-03-071-9/+8
| | | | llvm-svn: 203286
* Fix EXPECT_* to not produce a compile warning.Eli Bendersky2014-03-071-2/+2
| | | | | | EXPECT_TRUE/FALSE is also more idiomatic for booleans than EXPECT_EQ llvm-svn: 203284
* [-Wunreachable-code] Treat constant globals as configuration values in ↵Ted Kremenek2014-03-072-2/+21
| | | | | | | | | unreachable code heuristics. This one could possibly be refined even further; e.g. looking at the initializer and see if it is truly a configuration value. llvm-svn: 203283
* Zap another dead 'break' statement.Ted Kremenek2014-03-071-1/+0
| | | | llvm-svn: 203282
* R600/SI: Using SGPRs is illegal for instructions that read carry-out from VCCTom Stellard2014-03-073-8/+25
| | | | | Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 203281
* R600/SI: Custom lower i1 storesTom Stellard2014-03-072-3/+26
| | | | | | | | These are sometimes created by the shrink to boolean optimization in the globalopt pass. Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 203280
* Replace OwningPtr with std::unique_ptr.Ahmed Charles2014-03-07154-537/+512
| | | | | | This compiles cleanly with lldb/lld/clang-tools-extra/llvm. llvm-svn: 203279
* [C++11] Replacing DeclBase iterators decls_begin() and decls_end() with ↵Aaron Ballman2014-03-0721-186/+129
| | | | | | iterator_range decls(). The same is true for the noload versions of these APIs. Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203278
* Replace OwningPtr::isValid() with conversion to bool.Ahmed Charles2014-03-078-22/+16
| | | | | | This is a precursor to moving to std::unique_ptr. llvm-svn: 203277
* [C++11] DwarfDebug: Turn single-use functors into lambdas.Benjamin Kramer2014-03-071-25/+16
| | | | | | No functionality change. llvm-svn: 203276
* Change OwningPtr::take() to OwningPtr::release().Ahmed Charles2014-03-0741-111/+99
| | | | | | This is a precursor to moving to std::unique_ptr. llvm-svn: 203275
* Verify we have a correct ELF or Mach core file before we return a valid ↵Greg Clayton2014-03-073-6/+41
| | | | | | instace of ProcessElfCore or ProcessMachCore respectively. llvm-svn: 203274
* [ADT] Update PointerIntPair to handle pointer types with more than 31 bits free.Jordan Rose2014-03-073-5/+84
| | | | | | | | | | Previously, the assertions in PointerIntPair would try to calculate the value (1 << NumLowBitsAvailable); the inferred type here is 'int', so if there were more than 31 bits available we'd get a shift overflow. Also, add a rudimentary unit test file for PointerIntPair. llvm-svn: 203273
* [docs] Teach CMake docs build how to generate Qt Creator help/documentation ↵Michael Gottesman2014-03-073-31/+115
| | | | | | | | | | files. Patch by Konrad Kleine. Differential Revision: http://llvm-reviews.chandlerc.com/D2967 llvm-svn: 203272
* Use predefined $(RM) in clean rule, and -r only for (expected) directoriesEd Maste2014-03-071-3/+4
| | | | llvm-svn: 203271
* [C++11] DwarfDebug: Use range-based for loops.Benjamin Kramer2014-03-071-245/+116
| | | | | | It has a lot of them with complex types. C++11 really shines here. llvm-svn: 203270
* Don't avoid cfi instructions on the bg/p.Rafael Espindola2014-03-072-6/+0
| | | | | | | The integrated assembler now works for ppc. Since this was the last use of the bg/p predicate and Hal says that it is now dead, drop the predicate too. llvm-svn: 203269
* Fix malloc thread step-out test on FreeBSDEd Maste2014-03-071-1/+9
| | | | | | | | | | | | | | | | After hitting the malloc() breakpoint on FreeBSD our top frame is actually an inlined function malloc_init. * frame #0: 0x0000000800dcba19 libc.so.7`malloc [inlined] malloc_init at malloc.c:5397 frame #1: 0x0000000800dcba19 libc.so.7`malloc(size=1024) + 9 at malloc.c:5949 frame #2: 0x00000000004006e5 test_step_out_of_malloc_into_function_b_with_dwarf`b(val=1) + 37 at main2.cpp:29 Add a heuristic to keep stepping out until we come to a non-malloc caller, before checking if it is our desired caller from the test code. llvm.org/pr17944 llvm-svn: 203268
* Remove dead 'break' (dominated by 'return').Ted Kremenek2014-03-071-1/+0
| | | | llvm-svn: 203267
* Remove dead return and simplify code.Ted Kremenek2014-03-071-3/+1
| | | | llvm-svn: 203266
* Remove dead 'return'.Ted Kremenek2014-03-071-1/+0
| | | | llvm-svn: 203265
* MC: Use MachO::SectionType for MCSectionMachO::getType's return typeDavid Majnemer2014-03-073-3/+6
| | | | | | | | | This is a straightfoward replacement, it makes debugging a little easier. This has no functional impact. llvm-svn: 203264
* DebugInfo: Refactor high_pc/low_pc construction into reusable functionDavid Blaikie2014-03-072-6/+13
| | | | | | | For incoming improvements to inlined functions and lexical blocks suggested by Adrian Prantl in review of r203187. llvm-svn: 203263
* Renaming the chains() ranged iterator to chain() per suggestion by Richard ↵Aaron Ballman2014-03-0711-15/+15
| | | | | | Smith. llvm-svn: 203262
* [C++11] Replacing IndirectFieldDecl iterators chain_begin() and chain_end() ↵Aaron Ballman2014-03-0711-48/+32
| | | | | | with iterator_range chains(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203261
* Add a note in the user manual that tsan is not supported on Mac.Nico Weber2014-03-071-1/+1
| | | | | | Patch from Sean McBride <sean@rogue-research.com>! llvm-svn: 203260
* "Mac OS/X" -> "Mac OS X" spelling fixes for clang.Nico Weber2014-03-073-5/+5
| | | | | | Patch from Sean McBride <sean@rogue-research.com>! llvm-svn: 203259
* "Mac OS/X" -> "Mac OS X" spelling fixes for llvm.Nico Weber2014-03-075-8/+8
| | | | | | Patch from Sean McBride <sean@rogue-research.com>! llvm-svn: 203258
* C++11: Remove const from in auto guidelinesDuncan P. N. Exon Smith2014-03-071-7/+5
| | | | | | Using const is orthogonal to guidelines on using auto& and auto*. llvm-svn: 203257
* DebugInfo: Restrict DW_AT_high_pc encoding as data4 offset to DWARF 4 as per ↵David Blaikie2014-03-072-3/+7
| | | | | | | | spec Code review feedback to r203187 from Oliver Stannard. Thanks! llvm-svn: 203256
* [C++11] Replacing ObjCMethodDecl iterators param_begin() and param_end() ↵Aaron Ballman2014-03-0717-94/+65
| | | | | | with iterator_range params(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203255
* C++11: Copy pointers with const auto *Duncan P. N. Exon Smith2014-03-071-1/+5
| | | | llvm-svn: 203254
* Fix test 'make clean' target for empty $(DSYM) on FreeBSDEd Maste2014-03-072-5/+7
| | | | | | | | | | | | | | | A freebsd issue with rm prevents '[g]make clean' from working if $(DSYM) is empty (fts_open(3) fails if passed an empty argument). To work around this, simplify the clean target by using three separate rm invocations: one for the common files, one for the case of non-empty $(DYLIB_NAME), and one for non-empty $(DSYM). Issue diagnosed (and reported to FreeBSD) by John Wolfe. llvm.org/pr17933 llvm-svn: 203253
* [C++11] Adding an iterator_range accessor for parameter declarations to the ↵Aaron Ballman2014-03-071-0/+7
| | | | | | CaptureDecl class; however, the only usage of the iterators cannot be converted to using the range yet. This change is for consistency with other Decls exposing parameters. llvm-svn: 203252
* ARM: Make .unreq directives case-insensitiveDuncan P. N. Exon Smith2014-03-072-1/+21
| | | | | | | | Be case-insensitive when processing .unreq directives. Patch by Lin Zuojian! llvm-svn: 203251
* [C++11] Replacing BlockDecl iterators param_begin() and param_end() with ↵Aaron Ballman2014-03-076-26/+26
| | | | | | iterator_range params(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203250
* [C++11] Now that the users are gone, rip out the duplicated traits from ↵Benjamin Kramer2014-03-072-175/+24
| | | | | | | | type_traits.h Simplify the remaining ones a bit. llvm-svn: 203249
OpenPOWER on IntegriCloud