Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Harden CGDebugInfo::CreateType() a bit for cases where we couldn't generate ↵ | Douglas Gregor | 2010-11-30 | 1 | -1/+9 |
| | | | | | | type info for its component types llvm-svn: 120401 | ||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 |
| | | | | llvm-svn: 120297 | ||||
* | Rename RecordLayout::getPrimaryBaseWasVirtual to isPrimaryBaseVirtual. | Anders Carlsson | 2010-11-24 | 1 | -1/+1 |
| | | | | llvm-svn: 120133 | ||||
* | Refactoring of Diagnostic class. | Argyrios Kyrtzidis | 2010-11-18 | 1 | -1/+1 |
| | | | | | | | | | | | -Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class. -DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units. -The rest of the state in Diagnostic object is considered related and tied to one translation unit. -Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a SourceLocation instead of a FullSourceLoc. -Reflect the changes to various interfaces. llvm-svn: 119730 | ||||
* | Teach debug-info generation that SourceManager::getPresumedLoc() can | Douglas Gregor | 2010-11-11 | 1 | -7/+9 |
| | | | | | | | produce an invalid location even when given a valid location, if the file system has changed underneath us. Recovery more gracefully. llvm-svn: 118834 | ||||
* | Remove broken support for variadic templates, along with the various | Douglas Gregor | 2010-11-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | abstractions (e.g., TemplateArgumentListBuilder) that were designed to support variadic templates. Only a few remnants of variadic templates remain, in the parser (parsing template type parameter packs), AST (template type parameter pack bits and TemplateArgument::Pack), and Sema; these are expected to be used in a future implementation of variadic templates. But don't get too excited about that happening now. llvm-svn: 118385 | ||||
* | Simplify. Builtin types' context is always implied. | Devang Patel | 2010-11-01 | 1 | -12/+13 |
| | | | | llvm-svn: 117928 | ||||
* | Rename getBaseClassOffset to getBaseClassOffsetInBits and introduce a ↵ | Anders Carlsson | 2010-10-31 | 1 | -1/+1 |
| | | | | | | getBaseClassOffset which returns the offset in CharUnits. Do the same thing for getVBaseClassOffset. llvm-svn: 117881 | ||||
* | After processing named unions do not fall through to handle anonymous unions. | Devang Patel | 2010-10-29 | 1 | -0/+1 |
| | | | | | | This is tested by funcargs.exp in gdb testsuite. llvm-svn: 117659 | ||||
* | Basic types are language defined builtins. They are always defined at top ↵ | Devang Patel | 2010-10-28 | 1 | -6/+10 |
| | | | | | | most level. llvm-svn: 117613 | ||||
* | Directly use NamespaceDecl->getLocation() to find the source file. | Devang Patel | 2010-10-28 | 1 | -3/+2 |
| | | | | llvm-svn: 117576 | ||||
* | Stay within 80 columns. | Devang Patel | 2010-10-28 | 1 | -10/+13 |
| | | | | llvm-svn: 117561 | ||||
* | Fix context info for enums. | Devang Patel | 2010-10-27 | 1 | -2/+4 |
| | | | | | | Radar 8595129 llvm-svn: 117507 | ||||
* | Revert unintentional check-in. | Devang Patel | 2010-10-22 | 1 | -1/+1 |
| | | | | llvm-svn: 117120 | ||||
* | Tidy up MIPS_linkage name. Provide it only if it does not match regular ↵ | Devang Patel | 2010-10-22 | 1 | -5/+18 |
| | | | | | | | | name, otherwise it confuses debugger. This is tested by local.C in llvmgcc testsuite. llvm-svn: 117107 | ||||
* | patch fixes class names missing from method names in debug information for | Fariborz Jahanian | 2010-10-18 | 1 | -0/+2 |
| | | | | | | synthesized property. // rdar: //8498026 llvm-svn: 116717 | ||||
* | Use root non-virtual primary base class, not just immediate primary base ↵ | Devang Patel | 2010-10-14 | 1 | -1/+11 |
| | | | | | | | | class, for AT_containing_type. This is tested by virtfunc.exp in gdb testsuite. llvm-svn: 116535 | ||||
* | Fix debug info for anon union. | Devang Patel | 2010-10-12 | 1 | -12/+45 |
| | | | | | | This is tested by anon-union.exp. llvm-svn: 116372 | ||||
* | Fixes a typo which caused byte offset in debug info | Fariborz Jahanian | 2010-10-11 | 1 | -1/+1 |
| | | | | | | for ivars to be 0. Fixes pr8353. llvm-svn: 116273 | ||||
* | Fix debug info for functions whose context is a namespace. | Devang Patel | 2010-10-11 | 1 | -2/+6 |
| | | | | | | This is tested by namespace.exp in gdb testsuite. llvm-svn: 116248 | ||||
* | Permit constant evaluation of const floating-point variables with | John McCall | 2010-10-09 | 1 | -1/+1 |
| | | | | | | constant initializers. llvm-svn: 116138 | ||||
* | Identify functions with prototype appropriately in debug info. | Devang Patel | 2010-10-07 | 1 | -1/+7 |
| | | | | | | This is tested by callfuncs.exp in gdb testsuite. llvm-svn: 115989 | ||||
* | Mark FunctionNoProtoType's argument as unspecified parameters. | Devang Patel | 2010-10-06 | 1 | -3/+3 |
| | | | | llvm-svn: 115834 | ||||
* | Do not emit subrange for incomplete array type. | Devang Patel | 2010-10-06 | 1 | -7/+11 |
| | | | | | | This is tested by ptype.exp in gdb testsuite. llvm-svn: 115805 | ||||
* | Remove unused argument. | Devang Patel | 2010-10-06 | 1 | -2/+1 |
| | | | | llvm-svn: 115789 | ||||
* | Mark explict methods as explict in debug info. | Devang Patel | 2010-10-01 | 1 | -1/+9 |
| | | | | llvm-svn: 115379 | ||||
* | Output debug info. for ivars declared in class | Fariborz Jahanian | 2010-10-01 | 1 | -3/+2 |
| | | | | | | | extension and implementation. Fixes rdar://8493239. llvm-svn: 115248 | ||||
* | Introduce -flimit-debug-info. | Devang Patel | 2010-09-30 | 1 | -6/+46 |
| | | | | | | In this experimental mode try avoiding debug info emission for classes as much as possible. The goal is to reduce size of produced debuginfo without reducing quality of debug info in general. This is a work in progress. llvm-svn: 115188 | ||||
* | Attach aritifical attribute with implicit parameters. | Devang Patel | 2010-09-29 | 1 | -3/+6 |
| | | | | | | Radar 8493141. llvm-svn: 115104 | ||||
* | Emit method access specifier. | Devang Patel | 2010-09-29 | 1 | -0/+6 |
| | | | | | | Radar 8490416. llvm-svn: 115090 | ||||
* | Update to reflect DIFactory::CreateSubprogram() interface change from r115084. | Devang Patel | 2010-09-29 | 1 | -15/+20 |
| | | | | llvm-svn: 115085 | ||||
* | Remove dead code. | Devang Patel | 2010-09-29 | 1 | -7/+0 |
| | | | | llvm-svn: 115079 | ||||
* | Adjust for debug info API change. | Benjamin Kramer | 2010-09-21 | 1 | -1/+1 |
| | | | | llvm-svn: 114438 | ||||
* | do not rely on the implicit-dereference semantics of dyn_cast_or_null | Gabor Greif | 2010-09-18 | 1 | -2/+2 |
| | | | | llvm-svn: 114281 | ||||
* | While handling change of file, check if _current_ file is already seen or ↵ | Devang Patel | 2010-09-15 | 1 | -1/+2 |
| | | | | | | | | not. If current file is seen then it indicates that end of previous file's lexical scope. This fixes radar 8396182. llvm-svn: 114018 | ||||
* | Tidy up last commit, as per Devang's comments. | David Chisnall | 2010-09-02 | 1 | -12/+19 |
| | | | | llvm-svn: 112840 | ||||
* | Use the unmangled name for the display name in Objective-C debug info. This ↵ | David Chisnall | 2010-09-02 | 1 | -0/+14 |
| | | | | | | should have no effect with the Mac runtime where clang (unlike GCC) uses the display name symbol name. llvm-svn: 112833 | ||||
* | Debug info for friends! | Devang Patel | 2010-08-27 | 1 | -13/+49 |
| | | | | | | Patch originally by Alexander Herz. llvm-svn: 112275 | ||||
* | Fix enum size and align. Tested by setvar.exp in gdb testsuite. | Devang Patel | 2010-08-24 | 1 | -4/+6 |
| | | | | llvm-svn: 111936 | ||||
* | Debug Info: Put full Clang version into the debug info, to make it easier to | Daniel Dunbar | 2010-08-24 | 1 | -5/+1 |
| | | | | | | identify what version of the compiler was used to build something. llvm-svn: 111927 | ||||
* | Emit debug info for enum constants. | Devang Patel | 2010-08-23 | 1 | -32/+35 |
| | | | | llvm-svn: 111852 | ||||
* | Reinstate the code for emitting an initial debug type for a struct, | Dan Gohman | 2010-08-23 | 1 | -4/+11 |
| | | | | | | | to handle the case where the struct is only forward-declared. In this case, a temporary MDNode is not needed and not desired. llvm-svn: 111842 | ||||
* | Detabify. | Eli Friedman | 2010-08-22 | 1 | -3/+3 |
| | | | | llvm-svn: 111768 |