- Mar 07, 2014
-
-
Jordan Rose authored
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
-
Michael Gottesman authored
Patch by Konrad Kleine. Differential Revision: http://llvm-reviews.chandlerc.com/D2967 llvm-svn: 203272
-
Ed Maste authored
llvm-svn: 203271
-
Benjamin Kramer authored
It has a lot of them with complex types. C++11 really shines here. llvm-svn: 203270
-
Rafael Espindola authored
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
-
Ed Maste authored
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
-
Ted Kremenek authored
llvm-svn: 203267
-
Ted Kremenek authored
llvm-svn: 203266
-
Ted Kremenek authored
llvm-svn: 203265
-
David Majnemer authored
This is a straightfoward replacement, it makes debugging a little easier. This has no functional impact. llvm-svn: 203264
-
David Blaikie authored
For incoming improvements to inlined functions and lexical blocks suggested by Adrian Prantl in review of r203187. llvm-svn: 203263
-
Aaron Ballman authored
llvm-svn: 203262
-
Aaron Ballman authored
[C++11] Replacing IndirectFieldDecl iterators chain_begin() and chain_end() with iterator_range chains(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203261
-
Nico Weber authored
Patch from Sean McBride <sean@rogue-research.com>! llvm-svn: 203260
-
Nico Weber authored
Patch from Sean McBride <sean@rogue-research.com>! llvm-svn: 203259
-
Nico Weber authored
Patch from Sean McBride <sean@rogue-research.com>! llvm-svn: 203258
-
Duncan P. N. Exon Smith authored
Using const is orthogonal to guidelines on using auto& and auto*. llvm-svn: 203257
-
David Blaikie authored
Code review feedback to r203187 from Oliver Stannard. Thanks! llvm-svn: 203256
-
Aaron Ballman authored
[C++11] Replacing ObjCMethodDecl iterators param_begin() and param_end() with iterator_range params(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203255
-
Duncan P. N. Exon Smith authored
llvm-svn: 203254
-
Ed Maste authored
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
-
Aaron Ballman authored
[C++11] Adding an iterator_range accessor for parameter declarations to the 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
-
Duncan P. N. Exon Smith authored
Be case-insensitive when processing .unreq directives. Patch by Lin Zuojian! llvm-svn: 203251
-
Aaron Ballman authored
[C++11] Replacing BlockDecl iterators param_begin() and param_end() with iterator_range params(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203250
-
Benjamin Kramer authored
Simplify the remaining ones a bit. llvm-svn: 203249
-
Aaron Ballman authored
[C++11] Replacing FunctionDecl iterators param_begin() and param_end() with iterator_range params(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203248
-
Tim Northover authored
llvm-svn: 203247
-
Dmitri Gribenko authored
llvm-svn: 203246
-
Ed Maste authored
llvm.org/pr19075 llvm-svn: 203245
-
Benjamin Kramer authored
llvm-svn: 203244
-
Benjamin Kramer authored
llvm-svn: 203243
-
Benjamin Kramer authored
No functionality change. llvm-svn: 203242
-
Benjamin Kramer authored
No functionality change. llvm-svn: 203241
-
Aaron Ballman authored
[C++11] Replacing iterators ddiag_begin() and ddiag_end() with iterator_range ddiags(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203240
-
Aaron Ballman authored
llvm-svn: 203239
-
Alexey Samsonov authored
llvm-svn: 203238
-
Aaron Ballman authored
llvm-svn: 203237
-
Aaron Ballman authored
[C++11] Replacing iterators attr_begin() and attr_end() with iterator_range attrs(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203236
-
Alexey Samsonov authored
Patch by Viktor Kutuzov! llvm-svn: 203235
-
Richard Sandiford authored
The target was marking SIGN_EXTEND as Custom because it wanted to optimize certain sign-extended shifts. In all other respects the extension is Legal, so it'd be better to do the optimization in PerformDAGCombine instead. No functional change intended. llvm-svn: 203234
-