summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add an erase() method to llvm::ThreadLocal.Owen Anderson2010-07-284-0/+13
| | | | llvm-svn: 109686
* refactor the autosizing code, eliminating duplicationChris Lattner2010-07-281-58/+53
| | | | | | and making Get8ByteTypeAtOffset always succeed and documented. llvm-svn: 109685
* Add more doxygen comments for llvm::ThreadLocal.Owen Anderson2010-07-281-0/+9
| | | | llvm-svn: 109683
* Don't die when a member access refers to a non-class member via aDouglas Gregor2010-07-282-0/+17
| | | | | | qualified name. Fixes <rdar://problem/8231724>. llvm-svn: 109682
* fix PR7714 by not referencing off the end of a struct when passed by value inChris Lattner2010-07-282-7/+53
| | | | | | | x86-64 abi. This also improves codegen as well. Some refactoring is needed of this code. llvm-svn: 109681
* Turn off precompiled preamble support for C++Douglas Gregor2010-07-281-1/+2
| | | | llvm-svn: 109680
* Get rid of LVIQuery as a distinct data structure, so that we don't have to ↵Owen Anderson2010-07-281-93/+66
| | | | | | initialize a new set of maps on every query. llvm-svn: 109679
* Add some comment about possible related bug info.Johnny Chen2010-07-281-1/+5
| | | | llvm-svn: 109678
* When performing code completion for a case statement in a switch whoseDouglas Gregor2010-07-283-6/+44
| | | | | | | condition is not of enumeration type, provide code-completion results containing all values of integral or enumeral type. llvm-svn: 109677
* Support extended vector types in chained PCH.Sebastian Redl2010-07-284-5/+23
| | | | llvm-svn: 109675
* Added a test case to test that we can successfully step into an STL function.Johnny Chen2010-07-281-0/+75
| | | | | | This test case currently always fails. llvm-svn: 109674
* The unix "source" command maps to "command source" in lldb. :-)Johnny Chen2010-07-282-2/+2
| | | | llvm-svn: 109673
* Add a test case for tentative definitions in chained PCH. Fix a bug that ↵Sebastian Redl2010-07-284-1/+82
| | | | | | completely messed up source locations and thus caused a crash whenever a diagnostic was emitted in chained PCH files. llvm-svn: 109660
* Move MaximumAlignment to Value.h, now that GlobalValue.h needs it.Dan Gohman2010-07-282-4/+4
| | | | llvm-svn: 109656
* Make GlobalValue alignment consistent with load, store, and allocaDan Gohman2010-07-283-5/+13
| | | | | | alignment, fixing silent truncation of alignment values. llvm-svn: 109653
* Create a fixed stack object for varargs that is as large as any register.Jakob Stoklund Olesen2010-07-281-1/+4
| | | | | | | | | | The size of this object isn't used for anything - technically it is of variable size. This avoids a false positive from the assert in X86InstrInfo::loadRegFromStackSlot, and fixes PR7735. llvm-svn: 109652
* Added first bit of support for the dwarf .file directive. This patch collectsKevin Enderby2010-07-286-1/+178
| | | | | | | the info from the .file directive and makes file and directory tables that will eventually be put out as part of the dwarf info in the output file. llvm-svn: 109651
* RegionInfo: Make sure to free cached nodes; Tobias, please check!Daniel Dunbar2010-07-281-0/+5
| | | | llvm-svn: 109650
* MC: Put back the MCFragment vtable, so subclasses are destroyed properly (duh).Daniel Dunbar2010-07-282-0/+4
| | | | llvm-svn: 109649
* Regenerate.Eric Christopher2010-07-281-0/+12
| | | | llvm-svn: 109647
* Use a C++ compiler for the atomic builtin check since we'llEric Christopher2010-07-281-0/+4
| | | | | | | | be using a C++ compiler to build. Patch by Török Edwin! llvm-svn: 109646
* Define a maximum supported alignment value for load, store, andDan Gohman2010-07-288-1/+46
| | | | | | | | | alloca instructions (constrained by their internal encoding), and add error checking for it. Fix an instcombine bug which generated huge alignment values (null is infinitely aligned). This fixes undefined behavior noticed by John Regehr. llvm-svn: 109643
* Fix flags in global block descriptor whenFariborz Jahanian2010-07-282-17/+24
| | | | | | | block returns structs. Fies radar 8241648. Executable test added to llvm test suite. llvm-svn: 109620
* Make the pointer arguments to the __sync_* builtins pointers toDouglas Gregor2010-07-282-64/+70
| | | | | | volatile-qualified types. Fixes <rdar://problem/8228293>. llvm-svn: 109618
* Print out the regclass of any virtual registers used by a machine instruction.Jakob Stoklund Olesen2010-07-281-0/+31
| | | | llvm-svn: 109608
* some cleanups and get alignments correct for various coerce cases.Chris Lattner2010-07-281-9/+16
| | | | llvm-svn: 109607
* The grammar for GNU typeof in C requires an expression to beDouglas Gregor2010-07-282-4/+14
| | | | | | | | | | | | | parenthesized, unlike in C++, e.g., C has: typeof ( expression) C++ has: typeof unary-expression So, once we've parsed a parenthesized expression after typeof, we should only go on to parse the postfix expression suffix if we're in C++. Fixes <rdar://problem/8237491>. llvm-svn: 109606
* Fix a warning from gcc-4.0 (from the ppc buildbot).Bob Wilson2010-07-281-0/+2
| | | | llvm-svn: 109605
* Test commitTanya Lattner2010-07-281-1/+1
| | | | llvm-svn: 109604
* Instead of abusing swapProgramIn, just add a Module argument toRafael Espindola2010-07-285-36/+28
| | | | | | EmitProgressBitcode. llvm-svn: 109602
* Test commit.Tanya Lattner2010-07-281-1/+1
| | | | llvm-svn: 109601
* Update checker build.Ted Kremenek2010-07-281-1/+1
| | | | llvm-svn: 109600
* Fixed some bugs in the ecma bracket epression regarding escaped characters, ↵Howard Hinnant2010-07-283-24/+1845
| | | | | | and got the awk grammar going. llvm-svn: 109599
* Unbreak my CMake build, say you'll compile for me again...Douglas Gregor2010-07-281-0/+1
| | | | llvm-svn: 109598
* Fix this code to avoid decrementing an iterator past the beginningDan Gohman2010-07-281-5/+2
| | | | | | of a std::vector. llvm-svn: 109597
* When user code intentionally dereferences null, the alignment of theDan Gohman2010-07-281-2/+7
| | | | | | | dereference is theoretically infinite. Put a cap on the computed alignment to avoid overflow, noticed by John Regehr. llvm-svn: 109596
* Do GEP offset calculations with unsigned math rather than signed mathDan Gohman2010-07-281-1/+1
| | | | | | to avoid undefined behavior on overflow, noticed by John Regehr. llvm-svn: 109594
* Add some extra friend declarations to fix a gcc-4.0 compile error.Dan Gohman2010-07-282-0/+3
| | | | | | This is a temporary fix, until more elaborate changes are ready. llvm-svn: 109593
* accept and ignore a few more gcc warnings.Chris Lattner2010-07-281-0/+4
| | | | llvm-svn: 109591
* Add proper callbacks for DeclStmt -- we weren't recursing onCraig Silverstein2010-07-281-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the decls. This was just an oversight before; one we didn't catch because lots of information in a DeclStmt was also being traversed (redundantly) elsewhere. Once DeclStmt was cleaned up, I could clean up some of the redundant traversals found elswhere as well -- in particular, traversing the declarations inside a function as part of the function callback (instead of as part of the CompoundExpr callback that constitutes the body of the function). The old way was really weird, and led to some parts of local variable declarations (but not all) being visited twice. That is now resolved. I also was able to simplify the traversers for IfStmt/WhileStmt/etc, which used to have redundant calls to work around the fact DeclStmt wasn't working properly. While in the area, I fixed up a few more recursion-ordering issues. I try to hold to the principle that RecursiveASTVisitor visits objects in the source code in the same order they're typed. So the return-type of a variable comes before the variable-name. This still isn't perfect, but we're closer to that. Reviewed by chandlerc and wan. llvm-svn: 109590
* simplifyGabor Greif2010-07-281-2/+2
| | | | llvm-svn: 109589
* Rename -Wlogical-bitwise-confusion to -Wconstant-logical-operand, which strikesDaniel Dunbar2010-07-281-1/+1
| | | | | | me as more consistent and less pejorative. llvm-svn: 109588
* Preprocessor: Add support for '#pragma clang __debug crash' and '#pragma clangDaniel Dunbar2010-07-281-0/+28
| | | | | | | | __debug overflow_stack'. - For testing crash reporting stuff... you'd think I could just use some C++ code but Doug keeps fixing stuff! llvm-svn: 109587
* Support: Add CrashRecoveryContext helper object.Daniel Dunbar2010-07-282-0/+170
| | | | | | | | | - Designed as a simple wrapper to allow clients to attempt to catch crashes (memory errors, assertion violations, etc.) and do some kind of recovery. - Currently doesn't actually attempt to catch crashes. llvm-svn: 109586
* simplifyGabor Greif2010-07-281-4/+2
| | | | llvm-svn: 109585
* Update svn:ignore properties.Dan Gohman2010-07-280-0/+0
| | | | llvm-svn: 109584
* Enable expression transformations in the current-instantiationDouglas Gregor2010-07-282-9/+35
| | | | | | | rebuilder, i.e., remove a silly short-sighted hack from long ago. Thanks to Abramo Bagnara for the test case/bug report! llvm-svn: 109583
* When a nested-name-specifier refers into a current instantiation that hasDouglas Gregor2010-07-282-6/+24
| | | | | | | | dependent bases, construct a dependent nested-name-specifier rather than complaining that the name could not be found within the current instantiation itself. Fixes PR7725. llvm-svn: 109582
* use Value* constructor of CallSite to create potentially improper site, and ↵Gabor Greif2010-07-281-2/+1
| | | | | | test that llvm-svn: 109581
* use Value* constructor of CallSite to create potentially improper site, and ↵Gabor Greif2010-07-281-3/+3
| | | | | | test that llvm-svn: 109580
OpenPOWER on IntegriCloud