- Apr 16, 2013
-
-
Richard Osborne authored
I intend to extend the test with more offset folding checks llvm-svn: 179620
-
Richard Osborne authored
llvm-svn: 179619
-
Tareq A. Siraj authored
Add CapturedDecl to be the DeclContext for CapturedStmt, and perform semantic analysis. Currently captures all variables by reference. TODO: templates Author: Ben Langmuir <ben.langmuir@intel.com> Differential Revision: http://llvm-reviews.chandlerc.com/D433 llvm-svn: 179618
-
Andy Gibbs authored
Suggested by Nick Kledzik in reference to r179590. llvm-svn: 179617
-
Benjamin Kramer authored
This broke e.g. compiling a crash report from a glibc system on Darwin. Sadly, the implementation had to game the lexer a lot as we're not using a real preprocessor here. It also doesn't handle special cases like arbitrary macros in __has_include, but since this macro isn't common outside of clang's headers we can get away with that. Fixes PR14422. Differential Revision: http://llvm-reviews.chandlerc.com/D594 llvm-svn: 179616
-
Tareq A. Siraj authored
CapturedStmt can be used to implement generic function outlining as described in http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-January/027540.html. CapturedStmt is not exposed to the C api. Serialization and template support are pending. Author: Wei Pan <wei.pan@intel.com> Differential Revision: http://llvm-reviews.chandlerc.com/D370 llvm-svn: 179615
-
Tareq A. Siraj authored
This patch implements parsing ‘#pragma clang __debug’ as a first step for implementing captured statements. Captured statements are a mechanism for doing outlining in the AST. see http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-January/027540.html. Currently returns StmtEmpty Author: Andy Zhang <andy.zhang@intel.com> Differential Revision: http://llvm-reviews.chandlerc.com/D369 llvm-svn: 179614
-
rdar://problem/13657900Greg Clayton authored
Special handling for file descriptor connections that are tty files. llvm-svn: 179613
-
Daniel Dunbar authored
- There is no reason to have a modules specific flag for disabling autolinking. Instead, convert the existing flag into -fno-autolink (which should cover other autolinking code generation paths like #pragmas if and when we support them). llvm-svn: 179612
-
Chad Rosier authored
llvm-svn: 179611
-
Chad Rosier authored
llvm-svn: 179610
-
Howard Hinnant authored
Added extra space to end of EXTRA_FLAGS in buildit. This fixes http://llvm.org/bugs/show_bug.cgi?id=15761 llvm-svn: 179609
-
Howard Hinnant authored
addressof misbehaving for type with an implicit conversion operator to char&. This fixes http://llvm.org/bugs/show_bug.cgi?id=15754 llvm-svn: 179608
-
Chad Rosier authored
llvm-svn: 179607
-
Fariborz Jahanian authored
llvm-svn: 179606
-
rdar://problem/13468295Greg Clayton authored
Show an error message when we have a corrupt mach-o file where the LC_SEGMENT or LC_SEGMENT_64 load command have file offsets or file offsets + sizes that extend beyond the end of the file. llvm-svn: 179605
-
Jyotsna Verma authored
declarations explicitly in the test. llvm-svn: 179604
-
Douglas Gregor authored
llvm-svn: 179603
-
Jyotsna Verma authored
CodeGenCXX/vtable-debug-info.cpp Driver/objc++-cpp-output.mm Driver/objc-cpp-output.m llvm-svn: 179602
-
Eli Bendersky authored
llvm-svn: 179601
-
Douglas Gregor authored
llvm-svn: 179600
-
Fariborz Jahanian authored
for caching couple of global symbols used for generation of CF/NS string meta-data so they are not released prematuely in certain corner cases. // rdar:// 13598026. Reviewed by John M. llvm-svn: 179599
-
Rafael Espindola authored
Patch by Halfdan Ingvarsson! llvm-svn: 179598
-
Andy Gibbs authored
Wrap macro invocations in braces to supress 'suggest braces around empty body in an ‘if’ statement' warning. llvm-svn: 179597
-
Jakob Stoklund Olesen authored
The SPARC v8 and SPARC v8 architectures are very similar, so use a base class to share most information between them. Include operating systems with known SPARC v9 ports. Also fix two issues with the SPARC v8 data layout string: SPARC v8 is a big endian target with a 64-bit aligned stack. llvm-svn: 179596
-
Sergey Matveev authored
Reviewers: kcc, glider, samsonov Reviewed By: glider CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D676 llvm-svn: 179595
-
Evgeniy Stepanov authored
llvm-svn: 179594
-
Logan Chien authored
llvm-svn: 179593
-
Evgeniy Stepanov authored
llvm-svn: 179592
-
Logan Chien authored
llvm-svn: 179591
-
Andy Gibbs authored
Moved llvm_unreachable out of switch blocks to avoid the "control reaches end of non-void function" warning. llvm-svn: 179590
-
Alexey Samsonov authored
llvm-objdump: Don't print contents of BSS sections: it makes no sense and crashes llvm-objdump on relocated objects with large bss llvm-svn: 179589
-
Hans Wennborg authored
LLVMGetThreadLocalMode - exposes GlobalVariable::getThreadLocalMode LLVMSetThreadLocalMode - exposes GlobalVariable::setThreadLocalMode LLVMIsExternallyInitialized - exposes GlobalVariable::isExternallyInitialized LLVMSetExternallyInitialized - exposes GlobalVariable::setExternallyInitialized LLVMThreadLocalMode - maps to GlobalVariable::ThreadLocalMode Patch by Moritz Maxeiner! llvm-svn: 179588
-
Hans Wennborg authored
If a switch instruction has a case for every possible value of its type, with the same successor, SimplifyCFG would replace it with an icmp ult, but the computation of the bound overflows in that case, which inverts the test. Patch by Jed Davis! llvm-svn: 179587
-
Tobias Grosser authored
Regions that have multiple entry edges are very common. A simple if condition yields e.g. such a region: if / \ then else \ / for_region This for_region contains two entry edges 'then' -> 'for_region' and 'else' -> 'for_region'. Previously we scheduled the RegionSimplify pass to translate such regions into simple regions. With this patch, we now support them natively when the region is in -loop-simplify form, which means the entry block should not be a loop header. Contributed by: Star Tan <tanmx_star@yeah.net> llvm-svn: 179586
-
John McCall authored
references thereto. Patch by Tong Shen! llvm-svn: 179585
-
Jason Molenda authored
DynamicLoaderMacOSXDYLD::ReadAllImageInfosStructure for version 13 of that structure. llvm-svn: 179584
-
Jason Molenda authored
a UUID for the shared cache libraries that can be used to confirm that one process' shared cache is the same as another, or that a process' in-memory shared cache is a match for a given on-disk dyld_shared_cache binary file. Use these UUIDs to catch some uncommon problems when the shared caches are being changed for debug purposes. <rdar://problem/13524467> llvm-svn: 179583
-
Jakob Stoklund Olesen authored
llvm-svn: 179582
-
Rafael Espindola authored
This fixes pr15753. This is another case of the fuzzy definition of the "as written" storage class of an instantiation. llvm-svn: 179581
-