Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix FIXME and surrounding comment. | Devang Patel | 2010-02-01 | 1 | -4/+1 |
| | | | | llvm-svn: 95023 | ||||
* | Use appropriate context descriptor in RecordDecl's debug info. | Devang Patel | 2010-02-01 | 1 | -3/+9 |
| | | | | llvm-svn: 95016 | ||||
* | Do not use clang type name to name a local variable, e.g. Decl. | Devang Patel | 2010-02-01 | 1 | -44/+44 |
| | | | | llvm-svn: 95010 | ||||
* | Do not use clang type name to name a local variable, e.g. Decl. | Devang Patel | 2010-02-01 | 1 | -29/+25 |
| | | | | llvm-svn: 95009 | ||||
* | Use DeclContext as getContextDescriptor() argument. | Devang Patel | 2010-02-01 | 1 | -18/+27 |
| | | | | llvm-svn: 95008 | ||||
* | Emit debug info for namespaces. | Devang Patel | 2010-02-01 | 1 | -0/+25 |
| | | | | llvm-svn: 94991 | ||||
* | Use appropriate context for typedefs. | Devang Patel | 2010-01-29 | 1 | -7/+5 |
| | | | | llvm-svn: 94849 | ||||
* | Maintain a map of regions (lexical scopes) and use it to find context for a ↵ | Devang Patel | 2010-01-29 | 1 | -10/+8 |
| | | | | | | global variable. llvm-svn: 94817 | ||||
* | s/CGDebugInfo::getContext/CGDebugInfo::getContextDescriptor/g to avoid ↵ | Devang Patel | 2010-01-28 | 1 | -5/+5 |
| | | | | | | confusion. llvm-svn: 94760 | ||||
* | Fix indentation. | Devang Patel | 2010-01-28 | 1 | -30/+30 |
| | | | | llvm-svn: 94758 | ||||
* | Static methods do not need "this" pointer argument. | Devang Patel | 2010-01-28 | 1 | -0/+5 |
| | | | | llvm-svn: 94756 | ||||
* | Emit base classes info first, as expected by the debugger. | Devang Patel | 2010-01-28 | 1 | -3/+3 |
| | | | | llvm-svn: 94755 | ||||
* | s/FunctionNames/DebugInfoNames/g | Devang Patel | 2010-01-28 | 1 | -2/+2 |
| | | | | llvm-svn: 94753 | ||||
* | Emit vtable info. | Devang Patel | 2010-01-28 | 1 | -1/+70 |
| | | | | llvm-svn: 94751 | ||||
* | While emitting debugging infor for a C++ class, identify the holder of ↵ | Devang Patel | 2010-01-28 | 1 | -1/+11 |
| | | | | | | class's vtable, if any. llvm-svn: 94712 | ||||
* | Include "this" pointer argument while emitting debug info for a C++ method. | Devang Patel | 2010-01-28 | 1 | -1/+39 |
| | | | | llvm-svn: 94710 | ||||
* | Change the return type of ASTContext::getDeclAlignInBytes() to CharUnits and, | Ken Dyck | 2010-01-27 | 1 | -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 Carlsson | 2010-01-26 | 1 | -4/+11 |
| | | | | llvm-svn: 94520 | ||||
* | Fix the test I broke, and also fix a crash when declaring a virtual ↵ | Anders Carlsson | 2010-01-26 | 1 | -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 Carlsson | 2010-01-26 | 1 | -51/+63 |
| | | | | | | function. llvm-svn: 94513 | ||||
* | Simplify CGDebugInfo::CollectCXXMemberFunctions a little. More to come. | Anders Carlsson | 2010-01-26 | 1 | -6/+6 |
| | | | | llvm-svn: 94511 | ||||
* | First cut at emitting inheritance info. | Devang Patel | 2010-01-25 | 1 | -1/+37 |
| | | | | llvm-svn: 94473 | ||||
* | Emit debug info for virtual functions. | Devang Patel | 2010-01-25 | 1 | -2/+12 |
| | | | | llvm-svn: 94467 | ||||
* | fix rdar://7556129 a crash in blocks debug info codegen. | Chris Lattner | 2010-01-25 | 1 | -2/+3 |
| | | | | llvm-svn: 94402 | ||||
* | simplify code. | Chris Lattner | 2010-01-25 | 1 | -19/+10 |
| | | | | llvm-svn: 94401 | ||||
* | No need to terminate this buffer. | Benjamin Kramer | 2010-01-23 | 1 | -4/+3 |
| | | | | llvm-svn: 94313 | ||||
* | A Decl->getName() is not unique. However, the debug info descriptors | Devang Patel | 2010-01-20 | 1 | -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 Patel | 2010-01-19 | 1 | -4/+3 |
| | | | | llvm-svn: 93837 | ||||
* | First cut at emitting debugging information for C++ member functions. | Devang Patel | 2010-01-19 | 1 | -2/+71 |
| | | | | | | There is lot more work to do in this area. llvm-svn: 93836 | ||||
* | Use llvm::Function name as the linkage name, but strip off leading '01' from ↵ | Devang Patel | 2010-01-19 | 1 | -0/+2 |
| | | | | | | display name. llvm-svn: 93822 | ||||
* | Refactor. | Devang Patel | 2010-01-19 | 1 | -49/+60 |
| | | | | llvm-svn: 93814 | ||||
* | llvm::Function name is the linkage name. If it has a '01' as a prefix then ↵ | Devang Patel | 2010-01-18 | 1 | -3/+0 |
| | | | | | | probably there is a reason. llvm-svn: 93808 | ||||
* | Fix crash generating debug info for constructor for anonymous struct. | Eli Friedman | 2010-01-16 | 1 | -1/+1 |
| | | | | llvm-svn: 93601 | ||||
* | Emit linkage name even if it matches regular name. The code generator uses ↵ | Devang Patel | 2010-01-14 | 1 | -3/+3 |
| | | | | | | linkage name to find subprogram entry for the current function. llvm-svn: 93461 | ||||
* | Add comment. | Devang Patel | 2010-01-14 | 1 | -0/+3 |
| | | | | llvm-svn: 93434 | ||||
* | Because CurLoc is the current source location as far as CGDebugInfo is ↵ | Devang Patel | 2010-01-14 | 1 | -1/+0 |
| | | | | | | concerned. It is expected that this is set (usually left bracket location of function body compound statement) before EmitfunctionStart() is used. llvm-svn: 93389 | ||||
* | Emit human readable names for c/c++ functions. Avoid emitting linkage name ↵ | Devang Patel | 2010-01-14 | 1 | -7/+38 |
| | | | | | | if it matches regular name. llvm-svn: 93383 | ||||
* | Roll out ASTContext::getTypeSizeInChars(), replacing instances of | Ken Dyck | 2010-01-11 | 1 | -6/+8 |
| | | | | | | | | | | "ASTContext::getTypeSize() / 8". Replace [u]int64_t variables with CharUnits ones as appropriate. Also rename RawType, fromRaw(), and getRaw() in CharUnits to QuantityType, fromQuantity(), and getQuantity() for clarity. llvm-svn: 93153 | ||||
* | Get rid of FixedWidthIntType, as suggested by Chris and Eli. | Anders Carlsson | 2009-12-29 | 1 | -5/+4 |
| | | | | llvm-svn: 92246 | ||||
* | adjust for llvm api changes. | Chris Lattner | 2009-12-28 | 1 | -10/+2 |
| | | | | llvm-svn: 92236 | ||||
* | this form of SetDebugLocation is about to go away, add some #includes that | Chris Lattner | 2009-12-28 | 1 | -4/+13 |
| | | | | | | are about to not come in implicitly. llvm-svn: 92228 | ||||
* | Improve on my previous fix for debug information. Rather than | Douglas Gregor | 2009-12-21 | 1 | -51/+42 |
| | | | | | | | | | recursing in CGDebugInfo::CreateTypeNode, teach CanonicalizeTypeForDebugInfo---now called UnwrapTypeForDebugInfo---to keep unwrapping the type until we hit something that can be represented by debug information. Thanks to Anders for pointing this out! llvm-svn: 91840 | ||||
* | Teach debug info generation to handle TemplateSpecializationType, | Douglas Gregor | 2009-12-21 | 1 | -3/+50 |
| | | | | | | | | ElaboratedType, QualifiedNameType, and SubstTemplateTypeParmType type nodes. Also, produce an "unsupported" diagnostic for C++0x type nodes and "typeof" nodes, rather than asserting nondescriptly. llvm-svn: 91837 | ||||
* | Add -dwarf-debug-flags, which provides a way to embed the cc1 level options used | Daniel Dunbar | 2009-12-18 | 1 | -7/+3 |
| | | | | | | | | to compile a translation unit into the debug info for that file. - Used by parts of Darwin build process to check compiler flags, etc. - <rdar://problem/7256886> clang does not emit AT_APPLE_flags llvm-svn: 91661 | ||||
* | Use StringRef in CGDebugInfo::EmitFunctionStart. | Benjamin Kramer | 2009-12-08 | 1 | -3/+3 |
| | | | | llvm-svn: 90856 | ||||
* | Use Path.makeAbsolute() and make a constant std::string a const char*. | Benjamin Kramer | 2009-12-08 | 1 | -7/+3 |
| | | | | llvm-svn: 90851 | ||||
* | Remove several .c_str() to be forward-compatible with StringRef. | Jeffrey Yasskin | 2009-12-08 | 1 | -2/+2 |
| | | | | llvm-svn: 90822 | ||||
* | Add rudimentary support for member pointers to CGDebugInfo. | Anders Carlsson | 2009-12-06 | 1 | -124/+167 |
| | | | | llvm-svn: 90711 | ||||
* | Move MainFileName option variable into CodeGenOptions instead of LangOptions. | Daniel Dunbar | 2009-11-29 | 1 | -3/+3 |
| | | | | llvm-svn: 90051 | ||||
* | Use StringRef (again) in DebugInfo interface. | Devang Patel | 2009-11-25 | 1 | -18/+18 |
| | | | | llvm-svn: 89867 |