- Dec 16, 2009
-
-
Daniel Dunbar authored
problem", this broke llvm-gcc bootstrap for release builds on x86_64-apple-darwin10. This reverts commit db22309800b224a9f5f51baf76071d7a93ce59c9. llvm-svn: 91534
-
Daniel Dunbar authored
this", this broke llvm-gcc bootstrap for release builds on x86_64-apple-darwin10. llvm-svn: 91533
-
Chris Lattner authored
miscompile (i386.o miscompares) but it happens both with and without this patch. llvm-svn: 91532
-
Chris Lattner authored
llvm-svn: 91531
-
Chris Lattner authored
llvm-svn: 91530
-
Chris Lattner authored
SmallVectorBase::grow_pod out of line, finally satisfying PR3758. llvm-svn: 91529
-
Chris Lattner authored
is not used by anything performance sensitive, so just use std::string. llvm-svn: 91528
-
Chris Lattner authored
a fixed size buffer is perfectly fine. llvm-svn: 91527
-
Chris Lattner authored
common function. It is still an inline method, which will be fixed next. llvm-svn: 91526
-
John McCall authored
used as expressions). In dependent contexts, try to recover by doing a lookup in previously-dependent base classes. We get better diagnostics out, but unfortunately the recovery fails: we need to turn it into a method call expression, not a bare call expression. Thus this is still a WIP. llvm-svn: 91525
-
Victor Hernandez authored
llvm-svn: 91524
-
Chris Lattner authored
SmallVectorTemplateBase class, which allows us to statically dispatch on isPodLike instead of dynamically. llvm-svn: 91523
-
Chris Lattner authored
down into SmallVectorImpl. This requires sprinking a ton of this->'s in, but gives us a place to factor. llvm-svn: 91522
-
Nick Lewycky authored
llvm-svn: 91521
-
Anders Carlsson authored
Use GetAddrOfRTTI everywhere and remove GenerateRTTI and GenerateRTTIRef. With this change, we can now compile and link TableGen. llvm-svn: 91520
-
Anders Carlsson authored
llvm-svn: 91519
-
Chris Lattner authored
and there is a new SmallVectorTemplateBase class in between it and SmallVectorImpl. SmallVectorTemplateBase can be specialized based on isPodLike. llvm-svn: 91518
-
Zhongxing Xu authored
llvm-svn: 91517
-
Douglas Gregor authored
InitializationSequence to perform the actual initialization. Also, introduced the notion of a tree of initialized entities, so that we can know where an initialization began when dealing with nested initializations (as occur when performing list initialization). This will, eventually, be useful for producing better diagnostics when list initialization fails, because we can show the path from the top-level object being initialized down to the actual subobject where initialization failed. llvm-svn: 91516
-
Eli Friedman authored
declarations of abort(), and two, we mark it noreturn. Missing the latter shows up in one of the "embarassing" tests (from the thread on llvmdev "detailed comparison of generated code size for LLVM and other compilers"). llvm-svn: 91515
-
Anders Carlsson authored
llvm-svn: 91514
-
Anders Carlsson authored
llvm-svn: 91513
-
Ted Kremenek authored
Teach RetainSummaryManager::getSummary(FunctionDecl* FD) that 'FD->getIdentifier()' will not always return a non-null IdentifierInfo*. llvm-svn: 91512
-
Ted Kremenek authored
llvm-svn: 91511
-
Ted Kremenek authored
Teach NoReturnFunctionChecker that FunctionDecl::getIdentifier() is not guaranteed to return a non-null IdentifierInfo*. llvm-svn: 91510
-
Ted Kremenek authored
llvm-svn: 91509
-
Ted Kremenek authored
llvm-svn: 91508
-
Anders Carlsson authored
llvm-svn: 91507
-
Zhongxing Xu authored
llvm-svn: 91506
-
Ted Kremenek authored
llvm-svn: 91505
-
Douglas Gregor authored
llvm-svn: 91504
-
Douglas Gregor authored
llvm-svn: 91503
-
Mike Stump authored
llvm-svn: 91502
-
Ted Kremenek authored
This change was a lot bigger than I originally anticipated; among other things it requires us storing more information in the CFG to record what block-level expressions need to be evaluated as lvalues. The big change is that CFGBlocks no longer contain Stmt*'s by CFGElements. Currently CFGElements just wrap Stmt*, but they also store a bit indicating whether the block-level expression should be evalauted as an lvalue. DeclStmts involving the initialization of a reference require us treating the initialization expression as an lvalue, even though that information isn't recorded in the AST. Conceptually this change isn't that complicated, but it required bubbling up the data through the CFGBuilder, to GRCoreEngine, and eventually to GRExprEngine. The addition of CFGElement is also useful for when we want to handle more control-flow constructs or other data we want to keep in the CFG that isn't represented well with just a block of statements. In GRExprEngine, this patch introduces logic for evaluating the lvalues of references, which currently retrieves the internal "pointer value" that the reference represents. EvalLoad does a two stage load to catch null dereferences involving an invalid reference (although this could possibly be caught earlier during the initialization of a reference). Symbols are currently symbolicated using the reference type, instead of a pointer type, and special handling is required creating ElementRegions that layer on SymbolicRegions (see the changes to RegionStoreManager). Along the way, the DeadStoresChecker also silences warnings involving dead stores to references. This was the original change I introduced (which I wrote test cases for) that I realized caused GRExprEngine to crash. llvm-svn: 91501
-
Mike Stump authored
llvm-svn: 91500
-
Mike Stump authored
__builtin_unreachable. WIP. llvm-svn: 91499
-
Mike Stump authored
llvm-svn: 91498
-
Victor Hernandez authored
MDNodes that refer to an instruction are local to a function; in that case, explicitly keep track of the function they are local to llvm-svn: 91497
-
Johnny Chen authored
bytes of Inst to 0x0000 for the benefit of the Thumb decoder. llvm-svn: 91496
-
Devang Patel authored
llvm-svn: 91495
-