summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize the type before trying to create a debug type.Anders Carlsson2009-11-141-26/+26
| | | | llvm-svn: 88808
* Have CGDebugInfo::getOrCreateType cache the QualType instead of having every ↵Anders Carlsson2009-11-141-19/+4
| | | | | | ConvertType overload do it. llvm-svn: 88807
* Do not store DIDescriptor directly into a container. Store MDNode directly, ↵Devang Patel2009-11-131-14/+13
| | | | | | through TrackingVH. llvm-svn: 88677
* "Attach debug info with llvm instructions" mode was enabled a month ago. ↵Devang Patel2009-11-121-31/+14
| | | | | | Now make it permanent and remove old way of inserting intrinsics to encode debug info for locations and types. llvm-svn: 87007
* Use getNameAsCString() instead of getName().data()Devang Patel2009-11-121-13/+13
| | | | llvm-svn: 87001
* Move CompileOptions -> CodeGenOptions, and sink it into the CodeGen library.Chandler Carruth2009-11-121-5/+5
| | | | | | This resolves the layering violation where CodeGen depended on Frontend. llvm-svn: 86998
* Do not use StringRef while using DebugInfo interface.Devang Patel2009-11-121-37/+30
| | | | llvm-svn: 86915
* Do not eagerly set stop point for arguments. This misleads the debugger in ↵Devang Patel2009-11-111-4/+19
| | | | | | identifying beginning of function body. Instead, create new location to attach with llvm.dbg.declare. This location is only used to find the context of the variable by the code generator, and it is not used to emit line number info. llvm-svn: 86862
* Attach location info with llvm.dbg.declare.Devang Patel2009-11-101-1/+4
| | | | llvm-svn: 86750
* Revert r86315 and add Type::FixedWidthInt to the FIXME cases.Anders Carlsson2009-11-071-0/+2
| | | | llvm-svn: 86320
* Do not assert if debug info for certain type is not generated.Devang Patel2009-11-071-1/+0
| | | | llvm-svn: 86315
* Do not emit linkage name for global variables. It confuses gdb, because it ↵Devang Patel2009-11-071-1/+3
| | | | | | picks up AT_MIPS_linkage_name and ignores AT_name. llvm-svn: 86308
* Simplify the debug info code, handle lvalue references and template ↵Anders Carlsson2009-11-061-13/+31
| | | | | | specializations. llvm-svn: 86277
* Handle QualifiedNameType and SubstTemplateTypeParmType types in ↵Anders Carlsson2009-11-061-0/+11
| | | | | | CGDebugInfo::CreateTypeNode. llvm-svn: 86274
* Don't assert when trying to generate debug info for vector types. This needs ↵Anders Carlsson2009-11-061-0/+4
| | | | | | to be fixed eventually... llvm-svn: 86268
* Instead of returning a null DIType for unhandled types, assert.Anders Carlsson2009-11-061-9/+1
| | | | llvm-svn: 86254
* Enable debug info for global variables at -O1+Devang Patel2009-11-051-7/+0
| | | | llvm-svn: 86156
* Fixup the return type of functions.Mike Stump2009-10-231-2/+2
| | | | llvm-svn: 84922
* Do not eagerly cache DITypes because it allows real struct type to be ↵Devang Patel2009-10-201-31/+58
| | | | | | shadowed by forward declared struct type. llvm-svn: 84659
* Encode global variable name in debug info.Devang Patel2009-10-201-2/+2
| | | | llvm-svn: 84653
* Remove the ConstantArrayType subtypes. This information is preserved in theJohn McCall2009-10-161-2/+0
| | | | | | | | | | TypeLoc records for declarations; it should not be necessary to represent it directly in the type system. Please complain if you were using these classes and feel you can't replicate previous functionality using the TypeLoc API. llvm-svn: 84222
* Few targets like PIC16 mangle the names of global variables, so retrieve the ↵Sanjiv Gupta2009-10-141-1/+1
| | | | | | | | name from Var itself rather than the decl for DebugInfo metadata. llvm-svn: 84102
* Encode long double.Devang Patel2009-10-121-0/+1
| | | | llvm-svn: 83912
* Allow customization for the producer information in the debug output.Mike Stump2009-10-091-1/+5
| | | | llvm-svn: 83659
* InsertSubprogramStart if ATTACH_DEBUG_INFO_TO_AN_INSN is not defined.Devang Patel2009-10-061-1/+3
| | | | llvm-svn: 83419
* Add support to attach debug info to an instruction.Devang Patel2009-10-061-1/+16
| | | | | | This is not yet enabled. llvm-svn: 83399
* Set appropriate context for a global variable while emitting debug info.Devang Patel2009-10-061-1/+18
| | | | llvm-svn: 83352
* More magic pixie dust.Mike Stump2009-10-021-3/+3
| | | | llvm-svn: 83232
* Fix up debug information for block pointers a bit more.Mike Stump2009-10-021-1/+3
| | | | llvm-svn: 83231
* Implement a FIXME. This improves codegen just a tad.Mike Stump2009-10-011-2/+2
| | | | llvm-svn: 83221
* Improve debugging information for BlockDeclRefExpr. WIP. Given thisMike Stump2009-09-301-0/+202
| | | | | | | scheme, we can switch the previous scheme over to using this code path. There's a bit of simplifications yet to do as well. llvm-svn: 83138
* Fix an infinite loop arising when trying to generate debug informationJohn McCall2009-09-251-16/+23
| | | | | | for a ObjC class with an ivar of weak self type. llvm-svn: 82745
* Refactor the representation of qualifiers to bring ExtQualType out of theJohn McCall2009-09-241-1/+0
| | | | | | | | Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our use of qualifiers and fix a few places that weren't dealing with qualifiers quite right; many more remain. llvm-svn: 82705
* Fix some typos. WIP. Large alignments don't work yet.Mike Stump2009-09-221-3/+3
| | | | llvm-svn: 82512
* Improve debug info generation for __block variables.Mike Stump2009-09-221-1/+133
| | | | llvm-svn: 82508
* Ok, an AssertingVH definitely doesn't work for now because we free our cache ↵Daniel Dunbar2009-09-191-3/+6
| | | | | | after the optimizer may have hacked on the module. Use a WeakVH instead. llvm-svn: 82324
* Switch CGDebugInfo type cache to using an AssertingVH.Daniel Dunbar2009-09-191-18/+17
| | | | llvm-svn: 82321
* Factor out CGDebugInfo::CreateTypeNode method.Daniel Dunbar2009-09-191-24/+35
| | | | | | - No functionality change. llvm-svn: 82320
* Be sure to use the correct version instead of inventing the wrong one.Mike Stump2009-09-151-1/+2
| | | | llvm-svn: 81924
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-85/+85
| | | | llvm-svn: 81346
* Basic support for representing elaborated type specifiersJohn McCall2009-09-051-0/+3
| | | | | | | | | | | | | | | directly in the AST. The current thinking is to create these only in C++ mode for efficiency. But for now, they're not being created at all; patch to follow. This will let us do things like verify that tags match during template instantation, as well as signal that an elaborated type specifier was used for clients that actually care. Optimally, the TypeLoc hierarchy should be adjusted to carry tag location information as well. llvm-svn: 81057
* Rename DIBlock as DILexicalBlock.Devang Patel2009-08-311-1/+1
| | | | llvm-svn: 80634
* Introduce LocInfoType which is a Sema-specific implementation detail.Argyrios Kyrtzidis2009-08-191-1/+1
| | | | | | | | This is a Type subclass that can hold a DeclaratorInfo* when we have type source info coming out of a declarator that we want to preserve. This is used only at the "border" of Parser/Sema for passing/getting QualTypes, it does not participate in the type system semantics in any way. llvm-svn: 79394
* Do now overflow while calulating upper bound for zero sized array.Devang Patel2009-08-141-2/+3
| | | | llvm-svn: 79043
* Use DICompositeType->replaceAllUsesWith()Devang Patel2009-07-271-4/+3
| | | | llvm-svn: 77228
* Use DICompositeType->replaceAllUsesWith().Devang Patel2009-07-221-4/+3
| | | | | | This requires llvm rev. 76769 or higher. llvm-svn: 76770
* Revert r75641.Anders Carlsson2009-07-181-1/+1
| | | | llvm-svn: 76327
* Remove ObjCQualifiedInterfaceType:-)Steve Naroff2009-07-181-1/+0
| | | | llvm-svn: 76321
* Revert 75648 for now. It is causing test failures.Devang Patel2009-07-141-21/+6
| | | | llvm-svn: 75684
* [llvm up] adjust to match mainline.Chris Lattner2009-07-141-3/+4
| | | | llvm-svn: 75647
OpenPOWER on IntegriCloud