- Apr 04, 2013
-
-
Eric Christopher authored
support. Caveat: Other than the existing segmented stacks support, no claims are made of this working. llvm-svn: 178744
-
John McCall authored
ARC optimizer while they're held in local unsafe buffers. Based on a patch by Jesse Rusak! rdar://13573224 llvm-svn: 178721
-
- Apr 03, 2013
-
-
Rafael Espindola authored
http://lab.llvm.org:8011/builders/clang-x86_64-darwin10-gdb went back green before it processed the reverted 178663, so it could not have been the culprit. Revert "Revert 178663." This reverts commit 4f8a3eb2ce5d4ba422483439e20c8cbb4d953a41. llvm-svn: 178682
-
Rafael Espindola authored
Looks like it broke http://lab.llvm.org:8011/builders/clang-x86_64-darwin10-gdb Revert "Don't compute a patched/semantic storage class." This reverts commit 8f187f62cb0487d31bc4afdfcd47e11fe9a51d05. llvm-svn: 178681
-
Rafael Espindola authored
For variables and functions clang used to store two storage classes. The one "as written" in the code and a patched one, which, for example, propagates static to the following decls. This apparently is from the days clang lacked linkage computation. It is now redundant and this patch removes it. llvm-svn: 178663
-
John McCall authored
a normal cleanup when entering a @try or @synchronized to ensure that we clean that up if an exception is triggered. Apparently GCC did this, so it's hard to argue that we shouldn't do at least as much. rdar://12364847 llvm-svn: 178599
-
Eric Christopher authored
This reverts commit r178497 since the backend has been fixed. Also add a test to ensure that we're emitting template information for unions. llvm-svn: 178587
-
- Apr 02, 2013
-
-
Fariborz Jahanian authored
about 'isa' ivar being explicitely accessed when base is a user class object reference. // rdar://13503456 llvm-svn: 178562
-
Alexey Samsonov authored
llvm-svn: 178538
-
Adrian Prantl authored
Make sure we do not generate line info for debugging-related frame setup. Follow-up to r178361 / rdar://problem/12767564 llvm-svn: 178517
-
- Apr 01, 2013
-
-
Nico Weber authored
Also add a test for PR15637. llvm-svn: 178497
-
Adrian Prantl authored
when we actually end a lexical block. * Added new test for line table / block cleanup. * Follow-up to r177819 / rdar://problem/13115369 llvm-svn: 178490
-
- Mar 30, 2013
-
-
Justin Holewinski authored
functions for the NVPTX target. llvm-svn: 178418
-
- Mar 29, 2013
-
-
Adrian Prantl authored
* Store the .block_descriptor (instead of self) in the alloca so we can guarantee that all captured variables are available at -O0. * Add the missing OpDeref for the alloca. rdar://problem/12767564 llvm-svn: 178361
-
Adrian Prantl authored
* Let DIType for block-captured self to point to the completed cached interface type. rdar://problem/12767564 llvm-svn: 178360
-
Michael Liao authored
llvm-svn: 178331
-
- Mar 28, 2013
-
-
Richard Smith authored
UBSan: Don't diagnose inf/nan conversions between floating-point types. It's far from clear whether these have undefined behavior, and these checks are helping no-one. Keep the double->float overflow warnings, though, since those are useful in practice, even though it's unclear whether such operations have defined behavior. llvm-svn: 178194
-
- Mar 27, 2013
-
-
Chad Rosier authored
backend output; there's no need to report a fatal error. This reverts r178042. Part of rdar://13295753 and rdar://13401547 llvm-svn: 178102
-
David Blaikie authored
llvm-svn: 178092
-
- Mar 26, 2013
-
-
David Blaikie authored
llvm-svn: 178079
-
Rafael Espindola authored
It is unused since pic support went away. llvm-svn: 178055
-
Manman Ren authored
Initialize CalleeWithThisReturn to 0 in the constructor. Also revert r170815 since checking CalleeWithThisReturn is faster. PR15598 llvm-svn: 178053
-
Chad Rosier authored
machine and one is required. Part of rdar://13295753 llvm-svn: 178042
-
Evgeniy Stepanov authored
CalleeWithThisReturn can be left initialized if HasThisReturn() is false. This change reverses the order of checks in EmitFunctionEpilog such that CalleeWithThisReturn is only examined when it has a meaningful value. Found with MemorySanitizer. llvm-svn: 178015
-
Chandler Carruth authored
line and the library dependencies to reflect this. llvm-svn: 177972
-
- Mar 25, 2013
-
-
Chad Rosier authored
intrinsics. rdar://13213542 llvm-svn: 177911
-
- Mar 24, 2013
-
-
Benjamin Kramer authored
llvm-svn: 177842
-
Guy Benyei authored
OpenCL 1.2 spec. 5.7.3. llvm-svn: 177839
-
- Mar 23, 2013
-
-
Nadav Rotem authored
Make clang to mark static stack allocations with lifetime markers to enable a more aggressive stack coloring. Patch by John McCall with help by Shuxin Yang. rdar://13115369 llvm-svn: 177819
-
John McCall authored
to an out-parameter using the indirect-writeback conversion, and we copied the current value of the variable to the temporary, make sure that we register an intrinsic use of that value with the optimizer so that the value won't get released until we have a chance to retain it. rdar://13195034 llvm-svn: 177813
-
- Mar 22, 2013
-
-
Reid Kleckner authored
Summary: For non-dynamic classes (no virtual bases), member data pointers are simple offsets from the base of the record. Dynamic classes use an aggregate for member data pointers and are therefore currently unsupported. Unlike Itanium, the ms ABI uses 0 to represent null for polymorphic classes. Non-polymorphic classes use -1 like Itanium, since 0 is a valid field offset. Reviewers: rjmccall CC: timurrrr, cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D558 llvm-svn: 177753
-
Reid Kleckner authored
As the comment says, it's a little silly to cache it in the ABI code. llvm-svn: 177738
-
Alexey Bataev authored
llvm-svn: 177705
-
Richard Smith authored
value argument. If not, be sure we don't accidentally use a dynamic alloca. llvm-svn: 177690
-
- Mar 20, 2013
-
-
Manman Ren authored
For constructors/desctructors that return 'this', if there exists a callsite that returns 'this' and is immediately before the return instruction, make sure we are using the return value from the callsite. We don't need to keep 'this' alive through the callsite. It also enables optimizations in the backend, such as tail call optimization. Updated from r177211. rdar://12818789 llvm-svn: 177541
-
Nick Lewycky authored
emit function names in .gcda files by default, and the flag turns that off! Rename the flag to make it match what it actually does. This keeps the default format compatible with gcc 4.2. Also add a test for this flag. llvm-svn: 177475
-
Nick Lewycky authored
is enabled. Also add a new -test-coverage cc1 flag which makes testing coverage possible and add our first clang-side coverage test. llvm-svn: 177470
-
- Mar 19, 2013
-
-
Rafael Espindola authored
llvm-svn: 177402
-
Rafael Espindola authored
If this should not happen, we should have an assert. If it should happen, we should have a test and remove the comment. In no case should we have this self inconsistent code. llvm-svn: 177399
-
Richard Smith authored
it wasn't taking into account that the float should be truncated *before* the range check happens. Thus (unsigned)-0.99 and (unsigned char)255.9 have defined behavior and should not be trapped. llvm-svn: 177362
-