summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Keep track of Record context to ensure that record elements are properly ↵Devang Patel2010-03-111-1/+20
| | | | | | nested in debug info. llvm-svn: 98283
* Rename getVirtualBaseOffsetIndex to getVirtualBaseOffsetOffset to reflect ↵Anders Carlsson2010-03-111-2/+2
| | | | | | what it actually does. llvm-svn: 98248
* Create a new InjectedClassNameType to represent bare-word references to the John McCall2010-03-101-0/+1
| | | | | | | | | | | | | injected class name of a class template or class template partial specialization. This is a non-canonical type; the canonical type is still a template specialization type. This becomes the TypeForDecl of the pattern declaration, which cleans up some amount of code (and complicates some other parts, but whatever). Fixes PR6326 and probably a few others, primarily by re-establishing a few invariants about TypeLoc sizes. llvm-svn: 98134
* Use SmallString instead of alloca.Devang Patel2010-03-101-2/+3
| | | | llvm-svn: 98112
* Fix file reference for derived and composite types. Now, dwarf writer uses ↵Devang Patel2010-03-091-41/+38
| | | | | | strict verifier that ignores debug info for such types if their file info is unknown. llvm-svn: 98096
* More then one anonymous aggregates on one line creates chaos when MDNode ↵Devang Patel2010-03-091-4/+4
| | | | | | | | uniquness is combined with RAUW operation. Right solution is to avoid using RAUW. This fixes PR 6554. llvm-svn: 98083
* Use getLast() instead of getBasename().Devang Patel2010-03-091-1/+1
| | | | llvm-svn: 98072
* Start using DIFile. Corresponding llvm patch is r98020.Devang Patel2010-03-091-117/+95
| | | | llvm-svn: 98021
* Avoid using DIDescriptor.isNull(). Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97976
* Revert r97949.Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97964
* Avoid DIDescriptor.isNull() checks.Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97949
* Targets (like pic16) may have mangled the name of global variables, Sanjiv Gupta2010-02-251-1/+1
| | | | | | so get the name from Var rather than the original decl. llvm-svn: 97114
* Emit debug info for VectorType.Devang Patel2010-02-231-2/+25
| | | | llvm-svn: 96999
* Distinguish two lexical blocks at the same level.Devang Patel2010-02-161-1/+4
| | | | llvm-svn: 96397
* Do not ignore anonymous records.Devang Patel2010-02-121-2/+2
| | | | llvm-svn: 95953
* Cache new compile unit.Devang Patel2010-02-121-1/+8
| | | | llvm-svn: 95952
* Eliminate the ASTContext parameter from RecordDecl::getDefinition()Douglas Gregor2010-02-111-1/+1
| | | | | | | and CXXRecordDecl::getDefinition(); it's totally unnecessary. No functionality change. llvm-svn: 95836
* Refactor code that generates debug info for variables that has BlocksAttr.Devang Patel2010-02-101-245/+124
| | | | llvm-svn: 95786
* Use current location as the location of compiler generated arguments, e.g. ↵Devang Patel2010-02-101-8/+10
| | | | | | self, _cmd etc. llvm-svn: 95743
* Fix virtual bases' debug info.Devang Patel2010-02-091-2/+4
| | | | llvm-svn: 95678
* Mark implicit "this" argument as an artificial argument.Devang Patel2010-02-091-1/+4
| | | | llvm-svn: 95673
* Fix FIXME and surrounding comment.Devang Patel2010-02-011-4/+1
| | | | llvm-svn: 95023
* Use appropriate context descriptor in RecordDecl's debug info.Devang Patel2010-02-011-3/+9
| | | | llvm-svn: 95016
* Do not use clang type name to name a local variable, e.g. Decl.Devang Patel2010-02-011-44/+44
| | | | llvm-svn: 95010
* Do not use clang type name to name a local variable, e.g. Decl.Devang Patel2010-02-011-29/+25
| | | | llvm-svn: 95009
* Use DeclContext as getContextDescriptor() argument.Devang Patel2010-02-011-18/+27
| | | | llvm-svn: 95008
* Emit debug info for namespaces.Devang Patel2010-02-011-0/+25
| | | | llvm-svn: 94991
* Use appropriate context for typedefs. Devang Patel2010-01-291-7/+5
| | | | llvm-svn: 94849
* Maintain a map of regions (lexical scopes) and use it to find context for a ↵Devang Patel2010-01-291-10/+8
| | | | | | global variable. llvm-svn: 94817
* s/CGDebugInfo::getContext/CGDebugInfo::getContextDescriptor/g to avoid ↵Devang Patel2010-01-281-5/+5
| | | | | | confusion. llvm-svn: 94760
* Fix indentation.Devang Patel2010-01-281-30/+30
| | | | llvm-svn: 94758
* Static methods do not need "this" pointer argument.Devang Patel2010-01-281-0/+5
| | | | llvm-svn: 94756
* Emit base classes info first, as expected by the debugger.Devang Patel2010-01-281-3/+3
| | | | llvm-svn: 94755
* s/FunctionNames/DebugInfoNames/gDevang Patel2010-01-281-2/+2
| | | | llvm-svn: 94753
* Emit vtable info.Devang Patel2010-01-281-1/+70
| | | | llvm-svn: 94751
* While emitting debugging infor for a C++ class, identify the holder of ↵Devang Patel2010-01-281-1/+11
| | | | | | class's vtable, if any. llvm-svn: 94712
* Include "this" pointer argument while emitting debug info for a C++ method.Devang Patel2010-01-281-1/+39
| | | | llvm-svn: 94710
* Change the return type of ASTContext::getDeclAlignInBytes() to CharUnits and,Ken Dyck2010-01-271-8/+10
| | | | | | | now that the "InBytes" part of the name is implied by the return type, rename it to getDeclAlign(). llvm-svn: 94681
* Fix another debug info crash with virtual bases.Anders Carlsson2010-01-261-4/+11
| | | | llvm-svn: 94520
* Fix the test I broke, and also fix a crash when declaring a virtual ↵Anders Carlsson2010-01-261-21/+25
| | | | | | destructor. Add debug info support for pure virtual member functions. llvm-svn: 94519
* Factor creating the DISubprogram for a member function out into a separate ↵Anders Carlsson2010-01-261-51/+63
| | | | | | function. llvm-svn: 94513
* Simplify CGDebugInfo::CollectCXXMemberFunctions a little. More to come.Anders Carlsson2010-01-261-6/+6
| | | | llvm-svn: 94511
* First cut at emitting inheritance info.Devang Patel2010-01-251-1/+37
| | | | llvm-svn: 94473
* Emit debug info for virtual functions.Devang Patel2010-01-251-2/+12
| | | | llvm-svn: 94467
* fix rdar://7556129 a crash in blocks debug info codegen.Chris Lattner2010-01-251-2/+3
| | | | llvm-svn: 94402
* simplify code.Chris Lattner2010-01-251-19/+10
| | | | llvm-svn: 94401
* No need to terminate this buffer.Benjamin Kramer2010-01-231-4/+3
| | | | llvm-svn: 94313
* A Decl->getName() is not unique. However, the debug info descriptors Devang Patel2010-01-201-1/+8
| | | | | | | | | | are uniqued. The debug info descriptor describing record's context is necessary to keep two Decl's descriptor unique if their name match. There is more work to do to create descriptors for DeclContext. As a temp. step use type's name in FwdDecl. llvm-svn: 94050
* Emit human readable names for operators.Devang Patel2010-01-191-4/+3
| | | | llvm-svn: 93837
* First cut at emitting debugging information for C++ member functions.Devang Patel2010-01-191-2/+71
| | | | | | There is lot more work to do in this area. llvm-svn: 93836
OpenPOWER on IntegriCloud