Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Apply explicit braces to avoid ambiguous 'else' [-Wparentheses] | Nick Lewycky | 2011-04-09 | 1 | -2/+2 | |
| | | | | llvm-svn: 129176 | |||||
* | Do not use zero as an upper bound for unbounded array because upper bound ↵ | Devang Patel | 2011-04-08 | 1 | -6/+17 | |
| | | | | | | zero also indicates one element array. llvm-svn: 129157 | |||||
* | [Reapply r128776, modified so that it does not break debug info.] | Ken Dyck | 2011-04-07 | 1 | -1/+4 | |
| | | | | | | | Change the return type of CodeGenVTables::getVirtualBaseOffsetOffset() to CharUnits. No change in functionality intended. llvm-svn: 129072 | |||||
* | Simplify. | Devang Patel | 2011-04-05 | 1 | -3/+1 | |
| | | | | llvm-svn: 128957 | |||||
* | Emit debug info for function template parameters. | Devang Patel | 2011-04-05 | 1 | -14/+40 | |
| | | | | llvm-svn: 128948 | |||||
* | Remove unintentional check-in. | Devang Patel | 2011-04-05 | 1 | -3/+0 | |
| | | | | llvm-svn: 128928 | |||||
* | Fix typo. | Devang Patel | 2011-04-05 | 1 | -0/+4 | |
| | | | | llvm-svn: 128921 | |||||
* | Use TemplateParameterList to extract template parameter name. | Devang Patel | 2011-04-05 | 1 | -8/+15 | |
| | | | | llvm-svn: 128915 | |||||
* | Refactor. | Devang Patel | 2011-04-05 | 1 | -23/+31 | |
| | | | | llvm-svn: 128893 | |||||
* | Eliminate conservative check that is covered by isIncompleteType() check. | Devang Patel | 2011-04-04 | 1 | -5/+0 | |
| | | | | llvm-svn: 128857 | |||||
* | Incomplete type does not have any size. | Devang Patel | 2011-04-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 128855 | |||||
* | Revert r128770, r128771, r128773 and r128776 for now. It breaks debug info. | Devang Patel | 2011-04-04 | 1 | -5/+4 | |
| | | | | llvm-svn: 128842 | |||||
* | Change the return type of CodeGenVTables::getVirtualBaseOffsetOffset() to | Ken Dyck | 2011-04-02 | 1 | -4/+5 | |
| | | | | | | CharUnits. No change in functionality intended. llvm-svn: 128776 | |||||
* | Do not try calculate the size of forward-declared template type array. | Devang Patel | 2011-04-01 | 1 | -0/+8 | |
| | | | | llvm-svn: 128725 | |||||
* | Update type cache when a type is completed. | Devang Patel | 2011-03-23 | 1 | -1/+15 | |
| | | | | | | Radar 9168773 llvm-svn: 128150 | |||||
* | Add support for language-specific address spaces. On top of that, | Peter Collingbourne | 2011-03-18 | 1 | -2/+2 | |
| | | | | | | | | | add support for the OpenCL __private, __local, __constant and __global address spaces, as well as the __read_only, _read_write and __write_only image access specifiers. Patch originally by ARM; language-specific address space support by myself. llvm-svn: 127915 | |||||
* | Correctly unwrap 'auto' types. Fixes PR9414. | Anders Carlsson | 2011-03-06 | 1 | -0/+3 | |
| | | | | llvm-svn: 127121 | |||||
* | Make AttributedTypes for GC-qualified types and fix some miscellaneous | John McCall | 2011-03-04 | 1 | -0/+1 | |
| | | | | | | | bugs with such types. Not sure this is quite how I want the desugaring and a.k.a. logic to go, but it suffices. llvm-svn: 126986 | |||||
* | Encode argument numbering in debug info so that code generator can emit them ↵ | Devang Patel | 2011-03-03 | 1 | -7/+11 | |
| | | | | | | | | in order. This fixes few blocks.exp regressions. llvm-svn: 126960 | |||||
* | revert r126858. | Devang Patel | 2011-03-02 | 1 | -11/+7 | |
| | | | | llvm-svn: 126874 | |||||
* | Encode argument numbering in debug info so that code generator can emit them ↵ | Devang Patel | 2011-03-02 | 1 | -7/+11 | |
| | | | | | | | | | | in order. This fixes few blocks.exp regressions. Reapply r126795 with a fix (one character change) for gdb testsuite regressions. llvm-svn: 126858 | |||||
* | Revert r126794. | Devang Patel | 2011-03-02 | 1 | -11/+7 | |
| | | | | llvm-svn: 126848 | |||||
* | Hack in something so that we emit better debug information about | John McCall | 2011-03-02 | 1 | -3/+17 | |
| | | | | | | captured __block variables in the block-literal type. llvm-svn: 126834 | |||||
* | Encode argument numbering in debug info so that code generator can emit them ↵ | Devang Patel | 2011-03-01 | 1 | -7/+11 | |
| | | | | | | | | in order. This fixes few blocks.exp regressions. llvm-svn: 126795 | |||||
* | Use single code path to handle c++ structs and classes while generating ↵ | Devang Patel | 2011-02-28 | 1 | -8/+6 | |
| | | | | | | debug info. llvm-svn: 126691 | |||||
* | Emit the structure layout of the block literal parameter to a block | John McCall | 2011-02-22 | 1 | -68/+217 | |
| | | | | | | | | | | invocation function into the debug info. Rather than faking up a class, which is tricky because of the custom layout we do, we just emit a struct directly from the layout information we've already got. Also, don't emit an unnecessarily parameter alloca for this "variable". llvm-svn: 126255 | |||||
* | Use LLVM coding standard. | Devang Patel | 2011-02-22 | 1 | -93/+93 | |
| | | | | llvm-svn: 126232 | |||||
* | Implement the C++0x deduced 'auto' feature. | Richard Smith | 2011-02-20 | 1 | -0/+1 | |
| | | | | | | This fixes PR 8738, 9060 and 9132. llvm-svn: 126069 | |||||
* | Start using enums from DIBuilder. | Devang Patel | 2011-02-18 | 1 | -9/+9 | |
| | | | | llvm-svn: 125990 | |||||
* | If preprocessed token introduced empty filename then use main translation ↵ | Devang Patel | 2011-02-16 | 1 | -1/+1 | |
| | | | | | | unit's filename for debug info entries. llvm-svn: 125672 | |||||
* | Simplify test to check an aggregate argument that has non trivial ↵ | Devang Patel | 2011-02-16 | 1 | -15/+14 | |
| | | | | | | | | constructor or destructor. This patch rewrites r125142. llvm-svn: 125632 | |||||
* | Only c++ class arguments with non trivial constructor or destructor needs a ↵ | Devang Patel | 2011-02-15 | 1 | -1/+1 | |
| | | | | | | | | | reference. C struct arguments do not need this adjustment. This fixes 7 failures in callfuncs.exp from gdb testsuite. llvm-svn: 125615 | |||||
* | If an aggregate is returned as 'sret' argument then let debugger know about ↵ | Devang Patel | 2011-02-10 | 1 | -0/+6 | |
| | | | | | | this. llvm-svn: 125249 | |||||
* | Do not emit AT_MIPS_linkage_name for Objective-C method static variable i. | Devang Patel | 2011-02-09 | 1 | -1/+2 | |
| | | | | llvm-svn: 125210 | |||||
* | Emit debug info for objc_selector. | Devang Patel | 2011-02-09 | 1 | -0/+6 | |
| | | | | llvm-svn: 125163 | |||||
* | If an aggregate argument is passed indirectly because it has non trivial | Devang Patel | 2011-02-09 | 1 | -3/+12 | |
| | | | | | | | | destructor or copy constructor than let debug info know about it. Radar 8945514. llvm-svn: 125142 | |||||
* | Reorganize CodeGen{Function,Module} to eliminate the unfortunate | John McCall | 2011-02-08 | 1 | -0/+1 | |
| | | | | | | | | Block{Function,Module} base class. Minor other refactorings. Fixed a few address-space bugs while I was there. llvm-svn: 125085 | |||||
* | A few more tweaks to the blocks AST representation: | John McCall | 2011-02-07 | 1 | -11/+19 | |
| | | | | | | | | | | | | | | | | | - BlockDeclRefExprs always store VarDecls - BDREs no longer store copy expressions - BlockDecls now store a list of captured variables, information about how they're captured, and a copy expression if necessary With that in hand, change IR generation to use the captures data in blocks instead of walking the block independently. Additionally, optimize block layout by emitting fields in descending alignment order, with a heuristic for filling in words when alignment of the end of the block header is insufficient for the most aligned field. llvm-svn: 125005 | |||||
* | Emit debug info for template value parameters. | Devang Patel | 2011-02-02 | 1 | -0/+7 | |
| | | | | llvm-svn: 124756 | |||||
* | Emit debug info for template type parameters. | Devang Patel | 2011-02-02 | 1 | -1/+18 | |
| | | | | llvm-svn: 124753 | |||||
* | Debug info generation for rvalue references | Douglas Gregor | 2011-01-22 | 1 | -6/+9 | |
| | | | | llvm-svn: 124020 | |||||
* | Change QualType::getTypePtr() to return a const pointer, then change a | John McCall | 2011-01-19 | 1 | -4/+2 | |
| | | | | | | thousand other things which were (generally inadvertantly) relying on that. llvm-svn: 123814 | |||||
* | Simplify. | Devang Patel | 2011-01-17 | 1 | -15/+9 | |
| | | | | llvm-svn: 123682 | |||||
* | Fix debug info for __block variable referenced outside of block. | Devang Patel | 2011-01-11 | 1 | -1/+30 | |
| | | | | llvm-svn: 123199 | |||||
* | Introduce an AttributedType, but don't actually use it anywhere yet. | John McCall | 2011-01-06 | 1 | -0/+3 | |
| | | | | | | | | | | The initial TreeTransform is a cop-out, but it's more-or-less equivalent to what we were doing before, or rather what we're doing now and might eventually stop doing in favor of using this type. I am simultaneously intrigued by the possibilities of rebuilding a dependent Attri llvm-svn: 122942 | |||||
* | Added ParenType type node. | Abramo Bagnara | 2010-12-10 | 1 | -0/+4 | |
| | | | | llvm-svn: 121488 | |||||
* | It's kindof silly that ExtQuals has an ASTContext&, and we can use that | John McCall | 2010-12-10 | 1 | -1/+1 | |
| | | | | | | | | | | space better. Remove this reference. To make that work, change some APIs (most importantly, getDesugaredType()) to take an ASTContext& if they need to return a QualType. Simultaneously, diminish the need to return a QualType by introducing some useful APIs on SplitQualType, which is just a std::pair<const Type *, Qualifiers>. llvm-svn: 121478 | |||||
* | Remove unused parameter. getContextDescriptor() and getOrCreateNameSpace(). | Devang Patel | 2010-12-09 | 1 | -15/+13 | |
| | | | | llvm-svn: 121333 | |||||
* | Remove unused parameter. | Devang Patel | 2010-12-09 | 1 | -3/+2 | |
| | | | | llvm-svn: 121326 | |||||
* | Start using DIBuilder. It provides cleaner interface. | Devang Patel | 2010-12-08 | 1 | -344/+237 | |
| | | | | llvm-svn: 121302 |