- Sep 04, 2013
-
-
NAKAMURA Takumi authored
MemoryBuffer.cpp: Don't peek the next page if file is multiple of *physical* pagesize(4k) but is not multiple of AllocationGranularity(64k), when a null terminator is required, on cygwin and win32. For example, r189780's SparcISelLowering.cpp has the size 98304. It crashed clang to touch a null terminator on cygwin. FIXME: It's not good to hardcode 4096 here. dwPageSize shows 4096. llvm-svn: 189939
-
NAKAMURA Takumi authored
llvm-svn: 189938
-
Alexander Kornienko authored
llvm-svn: 189937
-
Alexander Kornienko authored
consistency of serialized form with the actual enum member names without a prefix. llvm-svn: 189936
-
Rafael Espindola authored
This was regression from r134829. When linking we have to be conservative. If one of the symbols has a significant address, then the result should have it too. llvm-svn: 189935
-
Virgile Bello authored
llvm-svn: 189934
-
Manuel Klimek authored
llvm-svn: 189933
-
Manuel Klimek authored
This patch makes sure we produce the right number of unwrapped lines, a follow-up patch will make the whitespace formatting consistent. Before: void f() { int i = {[operation setCompletionBlock : ^{ [self onOperationDone]; }] } ; } After: void f() { int i = {[operation setCompletionBlock : ^{ [self onOperationDone]; }] }; } llvm-svn: 189932
-
Tim Northover authored
"(icmp op i8 A, B)" is equivalent to "(icmp op i8 (A & 0xff), B)" as a degenerate case. Allowing this as a "masked" comparison when analysing "(icmp) &/| (icmp)" allows us to combine them in more cases. rdar://problem/7625728 llvm-svn: 189931
-
Tim Northover authored
Even in cases which aren't universally optimisable like "(A & B) != 0 && (A & C) != 0", the masks can make one of the comparisons completely redundant. In this case, since we've gone to the effort of spotting masked comparisons we should combine them. rdar://problem/7625728 llvm-svn: 189930
-
Kostya Serebryany authored
llvm-svn: 189929
-
Manuel Klimek authored
llvm-svn: 189928
-
NAKAMURA Takumi authored
llvm-svn: 189927
-
Hao Liu authored
sshr,ushr,ssra,usra,srshr,urshr,srsra,ursra,sri,shl,sli,sqshlu,sqshl,uqshl,shrn,sqrshr$ and 4 convert instructions: scvtf,ucvtf,fcvtzs,fcvtzu llvm-svn: 189926
-
Hao Liu authored
sshr,ushr,ssra,usra,srshr,urshr,srsra,ursra,sri,shl,sli,sqshlu,sqshl,uqshl,shrn,sqrshrun,sqshrn,uqshr,sqrshrn,uqrshrn,sshll,ushll and 4 convert instructions: scvtf,ucvtf,fcvtzs,fcvtzu llvm-svn: 189925
-
Manuel Klimek authored
Before: int c = [ &, &a, a]{ [ =, c, &d]{ return b++; }(); }(); After: int c = [&, &a, a] { [=, c, &d] { return b++; }(); }(); llvm-svn: 189924
-
Alexey Samsonov authored
llvm-svn: 189923
-
Eric Christopher authored
llvm-svn: 189922
-
Eric Christopher authored
comparison warning. llvm-svn: 189921
-
Eric Christopher authored
gdb. llvm-svn: 189920
-
Rafael Espindola authored
llvm-svn: 189919
-
Rafael Espindola authored
llvm-svn: 189918
-
Rafael Espindola authored
llvm-svn: 189917
-
Serge Pavlov authored
If source code is invalid, error recovery can lead to name lookup in a set containing invalid declaration. The lookup is stopped once found such declaration, but LookupResult object could remain in inconsistent state. Its destructor triggered a check, which caused assert violation. This patch fixes PR16964 and PR12791. llvm-svn: 189916
-
Michael Gottesman authored
XFAILed the static-member.cpp test since we no longer support emitting debug info that support what Eric calls "the member hack". llvm-svn: 189915
-
Michael Gottesman authored
Revert "Revert "Remove the darwin gdb option, that version of gdb is now dead and the rest of the compatibility should be done on a dwarf-N level."" This reverts commit r189913. Talked with Eric on IRC. I am going to XFAIL the failing test since it is using what Eric described as "the member hack" which was needed on that old GDB. Sorry for the noise! llvm-svn: 189914
-
Michael Gottesman authored
Revert "Remove the darwin gdb option, that version of gdb is now dead and the rest of the compatibility should be done on a dwarf-N level." This reverts commit r189903. This commit broke the phase 1 buildbot for a while. http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/6684 llvm-svn: 189913
-
Michael Gottesman authored
llvm-svn: 189912
-
Michael Gottesman authored
Iterator of std::vector may be implemented as a raw pointer. In this case begin iterators are rvalues and cannot be incremented. For example, this is the case with STDCXX implementation of vector. Patch by Konstantin Tokarev <annulen@yandex.ru>. llvm-svn: 189911
-
Rafael Espindola authored
llvm-svn: 189910
-
Reid Kleckner authored
llvm-svn: 189909
-
James Dennett authored
it to refer to castAs/getAs. The original change to remove the (broken) cast/dyn_cast support from TypeLoc was in r175462. (Thanks to David Blaikie for the reference.) llvm-svn: 189908
-
Shankar Easwaran authored
It looks like there is a possibility of seeing RO/RW note sections and we would need to create an appropriate RO/RW segment associated with them. Adds a test too. llvm-svn: 189907
-
David Blaikie authored
Revert "DebugInfo: Remove explicit declaration-emissiong handling now that we have a more principled approach (the 'requires complete type' callback)" This reverts commit r189013. This is causing a segfault crash in a test case I have. Reverting while I investigate the issue. llvm-svn: 189906
-
NAKAMURA Takumi authored
\param should be used to describe individual parameters. Use a command like \a or \c for visual enhancements. llvm-svn: 189905
-
NAKAMURA Takumi authored
llvm-svn: 189904
-
Eric Christopher authored
the rest of the compatibility should be done on a dwarf-N level. llvm-svn: 189903
-
Eric Christopher authored
in the module. Add a FIXME with a comment about darwin's ld. llvm-svn: 189902
-
Reid Kleckner authored
llvm-svn: 189901
-
Marshall Clow authored
llvm-svn: 189900
-