summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Emit debug info for objc getters and setters.Devang Patel2010-04-051-1/+3
| | | | llvm-svn: 100462
* NewDebugLoc got renamed to DebugLoc.Chris Lattner2010-04-021-5/+5
| | | | llvm-svn: 100219
* adjust to IRBuilder change and use faster DebugLoc apis.Chris Lattner2010-04-011-18/+8
| | | | llvm-svn: 100093
* use the new optimized debug info metadata accessors. InChris Lattner2010-03-311-2/+2
| | | | | | | | addition to the inherent win, this eliminates the pointless cost of going through the name -> mdkind stringmap that we were paying. llvm-svn: 99983
* Replace some constant-sized SmallVectors.Benjamin Kramer2010-03-301-8/+4
| | | | llvm-svn: 99884
* Cache results computed by CGDebugInfo::getOrCreateFile() in a DenseMap.Ted Kremenek2010-03-301-3/+21
| | | | | | This reduces '-c -g' time on one file in 403.gcc by 12%. llvm-svn: 99857
* Change 'TypeCache' from being an std::map to a llvm::DenseMap. This reduces ↵Ted Kremenek2010-03-291-1/+1
| | | | | | | | codegen time on one .i file from 403.gcc by 0.5%. llvm-svn: 99823
* Rename CGVtableInfo to CodeGenVTables in preparation of adding another ↵Anders Carlsson2010-03-231-2/+2
| | | | | | VTableInfo class. llvm-svn: 99250
* Comment the reasons for the strange little dance we do with the main file ↵Douglas Gregor2010-03-221-0/+4
| | | | | | name for debug information llvm-svn: 99215
* Change CodeGenModule to rely on the Module's symbol table instead ofJohn McCall2010-03-191-5/+5
| | | | | | | | | | | | | shadowing it in the GlobalDeclMap. Eliminates the string-uniquing requirement for mangled names, which should help C++ codegen times a little. Forces us to do string lookups instead of pointer lookups, which might hurt codegen times a little across the board. We'll see how it plays out. Removing the string-uniquing requirement implicitly fixes any bugs like PR6635 which arose from the fact that we had multiple uniquing tables for different kinds of identifiers. llvm-svn: 99012
* Try to improve computation of the main file name for debugDouglas Gregor2010-03-191-7/+10
| | | | | | information, to address recent gdb failures. llvm-svn: 98959
* For debug information, get the main file name from the source managerDouglas Gregor2010-03-181-2/+7
| | | | | | | rather than from the -main-file-name flag, since the source manager has proper path information. Fixes <rdar://problem/7769538>. llvm-svn: 98898
* Use raw_ostream instead of sprintf.Benjamin Kramer2010-03-131-3/+2
| | | | llvm-svn: 98438
* If main file name is empty then use "<unknown>".Devang Patel2010-03-121-1/+4
| | | | llvm-svn: 98385
* 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
OpenPOWER on IntegriCloud