- Apr 28, 2011
-
-
Greg Clayton authored
depth control, pointer depth, and more) when dumping memory and viewing as a type. llvm-svn: 130436
-
Devang Patel authored
llvm-svn: 130435
-
Ted Kremenek authored
Enhance clang_getCXTUResourceUsage() to report how much memory is used by SourceManager's memory buffers. llvm-svn: 130433
-
Ted Kremenek authored
Add MemoryBuffer::getBufferKind() to report whether a memory buffer uses malloc'ed or mmap'ed memory. This is for performance analysis. llvm-svn: 130432
-
Devang Patel authored
llvm-svn: 130431
-
Lenny Maiorani authored
Remove bounded StringRef::compare() since nothing but Clang SA was using it and it is just as easy to use StringRef::substr() preceding StringRef::compare() to achieve the same thing. llvm-svn: 130430
-
Eli Friedman authored
fast-isel sret calls, try 2. We actually do need to do something on x86-32. rdar://problem/9303592 . llvm-svn: 130429
-
Benjamin Kramer authored
llvm-svn: 130428
-
Argyrios Kyrtzidis authored
llvm-svn: 130427
-
Chris Lattner authored
llvm-svn: 130426
-
Lenny Maiorani authored
Use StringRef::substr() and unbounded StringRef::compare() instead of bounded version of StringRef::compare() because bounded version of StringRef::compare() is going to be removed. llvm-svn: 130425
-
Ted Kremenek authored
Make the top-level driver ignore -fobjc-default-synthesize-properties while this feature undergoes more review and development. This is still available as a -cc1 option for testing. llvm-svn: 130424
-
-
Lenny Maiorani authored
Eliminates an assert in the strncpy/strncat checker caused by not validating a cast was successful. If the value of an argument was unknown, the cast would result in a NULL pointer which was later being dereferenced. This fixes Bugzilla #9806. llvm-svn: 130422
-
Argyrios Kyrtzidis authored
that a non-trivial C++ constructor gets called. Fixes rdar://9347552 & http://llvm.org/PR9801 llvm-svn: 130421
-
Argyrios Kyrtzidis authored
llvm-svn: 130420
-
Devang Patel authored
llvm-svn: 130419
-
Eli Friedman authored
llvm-svn: 130418
-
-
Chris Lattner authored
a nice and tidy: %x1 = load i32* %0, align 4 %1 = icmp eq i32 %x1, 1179403647 br i1 %1, label %if.then, label %if.end instead of doing lots of loads and branches. May the FreeBSD bootloader long fit in its allocated space. llvm-svn: 130416
-
Chris Lattner authored
llvm-svn: 130414
-
Eli Friedman authored
llvm-svn: 130412
-
Douglas Gregor authored
non-CVR qualifiers as well as CVR qualifiers. For example, don't allow a reference to an integer in address space 1 to bind to an integer in address space 2. llvm-svn: 130411
-
Owen Anderson authored
Fix a bug in tblgen that caused incorrect encodings on instructions that specified operands with "bit" instead of "bits<1>". Unfortunately, my only testcase for this is fragile, and the ARM AsmParser can't round trip the instruction in question. <rdar://problem/9345702> llvm-svn: 130410
-
Devang Patel authored
Add command line option to print debug info in human readable form as comment in llvm IR output. This, i.e -enable-debug-info-comment, is very useful if you want to easily find out which optimization pass is losing line number information. llvm-svn: 130409
-
Andrew Trick authored
llvm-svn: 130408
-
Manuel Klimek authored
llvm-svn: 130407
-
Benjamin Kramer authored
This happens when GVN widens loads. Part of PR6627. llvm-svn: 130405
-
Eric Christopher authored
if it means we get a fallthrough. llvm-svn: 130404
-
Chris Lattner authored
static functions instead of passing around tons of random ivars. llvm-svn: 130403
-
Douglas Gregor authored
expand the macro, based on a patch by Ori Avtalion. Fixes PR9799. llvm-svn: 130402
-
Chris Lattner authored
llvm-svn: 130401
-
Rafael Espindola authored
converting the symbol passed to .cfi_personality into bytes is the file. llvm-svn: 130400
-
Douglas Gregor authored
as a keyword for the __is_signed type trait. Cope with this conflict via some hackish recovery: if we see a declaration of the form static const bool __is_signed then we stop treating __is_signed as a keyword and instead treat it as an identifier. It's ugly, but it's better than making the __is_signed type trait conditional on some language flag. Fixes PR9804. llvm-svn: 130399
-
Lenny Maiorani authored
llvm-svn: 130398
-
Rafael Espindola authored
llvm-svn: 130397
-
Jay Foad authored
llvm-svn: 130396
-
Chandler Carruth authored
a bit more sinister as the memset doesn't do what the constructor does. There seems to be a cleaner solution than a cast here though, instead we can point the memset destination into the union its actually trying to clear. An alternative is to point to the Untyped member of this union. Review appreciated, and if that is cleaner I'm happy to switch. All of these should be functionally equivalent to the original code. llvm-svn: 130395
-
Chandler Carruth authored
able to revert these based on a patch I'm working on, but no reason for people to be spammed with warnings in the interim. llvm-svn: 130394
-
Chandler Carruth authored
llvm-svn: 130393
-