Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 2 | -11/+10 | |
| | | | | | | global variable. llvm-svn: 94817 | |||||
* | Name mangling for cast expressions, from Matthias Schiffer! Fixes PR5876. | Douglas Gregor | 2010-01-29 | 1 | -0/+18 | |
| | | | | llvm-svn: 94811 | |||||
* | Use EmitLValueForFieldInitialization when synthesizing the copy ctor as well. | Anders Carlsson | 2010-01-29 | 1 | -19/+2 | |
| | | | | llvm-svn: 94800 | |||||
* | Add a new EmitLValueForFieldInitialization that will be used for ↵ | Anders Carlsson | 2010-01-29 | 3 | -11/+27 | |
| | | | | | | initializing fields (and reference type fields in particular). llvm-svn: 94799 | |||||
* | Simplify EmitLValueForField - we can get whether the field is part of a ↵ | Anders Carlsson | 2010-01-29 | 5 | -29/+18 | |
| | | | | | | union or not from the FieldDecl (through its DeclContext). llvm-svn: 94798 | |||||
* | ARM/APCS ABI: Fix some problems with bit-fields in structures. After rereading | Daniel Dunbar | 2010-01-29 | 1 | -18/+18 | |
| | | | | | | | the ABI spec, this turns out to simplify the code. We still have some annoying code which mismatches the spec with regard to empty structures. llvm-svn: 94796 | |||||
* | Add an CXXBindReferenceExpr (not used just yet). | Anders Carlsson | 2010-01-29 | 1 | -0/+2 | |
| | | | | llvm-svn: 94791 | |||||
* | s/CGDebugInfo::getContext/CGDebugInfo::getContextDescriptor/g to avoid ↵ | Devang Patel | 2010-01-28 | 2 | -7/+8 | |
| | | | | | | 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 | |||||
* | Fix an incorrect union layout assert. Fixes PR6164. | Anders Carlsson | 2010-01-28 | 1 | -1/+6 | |
| | | | | llvm-svn: 94754 | |||||
* | s/FunctionNames/DebugInfoNames/g | Devang Patel | 2010-01-28 | 2 | -4/+4 | |
| | | | | llvm-svn: 94753 | |||||
* | Emit vtable info. | Devang Patel | 2010-01-28 | 2 | -1/+82 | |
| | | | | 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 | 2 | -1/+41 | |
| | | | | llvm-svn: 94710 | |||||
* | Change the return type of ASTContext::getDeclAlignInBytes() to CharUnits and, | Ken Dyck | 2010-01-27 | 4 | -24/+28 | |
| | | | | | | | now that the "InBytes" part of the name is implied by the return type, rename it to getDeclAlign(). llvm-svn: 94681 | |||||
* | Unique ObjC strings (GNU Runtime); fix for PR6142. Note: Doing this in the ↵ | David Chisnall | 2010-01-27 | 1 | -2/+10 | |
| | | | | | | runtime-specific code is a bit ugly. It would be a good idea to hoist all of the string / protocol uniqueing code up into CGObjCRuntime or CodeGenModule and only handle emitting the original versions in the runtime-specific code. llvm-svn: 94676 | |||||
* | Structs and classes with non-trivial destructors or copy constructors should ↵ | Anders Carlsson | 2010-01-27 | 1 | -2/+10 | |
| | | | | | | be passed indirectly in the 32-bit ABI. Fixes PR6094. llvm-svn: 94656 | |||||
* | Refine the non-virtual this adjustments for thunks by using the offset | Mike Stump | 2010-01-26 | 1 | -0/+6 | |
| | | | | | | to the declaring class from the nearest virtual base class. WIP. llvm-svn: 94606 | |||||
* | Refine the non-virtual this adjustments for thunks by using the offset | Mike Stump | 2010-01-26 | 1 | -7/+24 | |
| | | | | | | | | to the declaring class from the nearest virtual base class. WIP. This fixes 40% of all the problems remaining in one of my testcases. llvm-svn: 94592 | |||||
* | Convert one last size variable to CharUnits (follow-on to 94577). | Ken Dyck | 2010-01-26 | 1 | -2/+3 | |
| | | | | llvm-svn: 94579 | |||||
* | Use CharUnits for sizes, offsets, alignments, and padding amounts for values | Ken Dyck | 2010-01-26 | 1 | -35/+39 | |
| | | | | | | that are in character units. llvm-svn: 94577 | |||||
* | Use CharUnits for alignments in character units. | Ken Dyck | 2010-01-26 | 3 | -14/+17 | |
| | | | | llvm-svn: 94571 | |||||
* | Use CharUnits for alignment of UTF16 string in GetAddrOfConstantCFString(). | Ken Dyck | 2010-01-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 94564 | |||||
* | Use CharUnits for alignment in EmitNullInitializationLValue(). | Ken Dyck | 2010-01-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 94563 | |||||
* | Use the right definition when emitting a global variable. Fixes PR5564. | Anders Carlsson | 2010-01-26 | 1 | -3/+5 | |
| | | | | llvm-svn: 94555 | |||||
* | Change getUnique to return a GlobalDecl. Fixes PR6147. | Anders Carlsson | 2010-01-26 | 1 | -8/+20 | |
| | | | | llvm-svn: 94554 | |||||
* | Introduce CodeGenModule::GetTargetTypeStoreSize() to calculate the store size | Ken Dyck | 2010-01-26 | 4 | -7/+16 | |
| | | | | | | of LLVM types in character units. llvm-svn: 94542 | |||||
* | If a global variable has an initializer with side effects, it can never be ↵ | Anders Carlsson | 2010-01-26 | 1 | -3/+2 | |
| | | | | | | deferred (even if it's in an anonymous namespace). llvm-svn: 94525 | |||||
* | 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 | 2 | -22/+26 | |
| | | | | | | 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 | 2 | -51/+68 | |
| | | | | | | function. llvm-svn: 94513 | |||||
* | Simplify CGDebugInfo::CollectCXXMemberFunctions a little. More to come. | Anders Carlsson | 2010-01-26 | 1 | -6/+6 | |
| | | | | llvm-svn: 94511 | |||||
* | Make sure to always mark a global variable as not being constant if it has a ↵ | Anders Carlsson | 2010-01-26 | 1 | -1/+6 | |
| | | | | | | C++ initializer. llvm-svn: 94504 | |||||
* | Be sure to track the non-virtual part of the vcall offset in complex | Mike Stump | 2010-01-26 | 1 | -2/+5 | |
| | | | | | | | | | multiple inheritance cases. WIP. This fixes 20% of the outstanding problems found by the randomized tester. llvm-svn: 94499 | |||||
* | Fixup a missing vcall entry. WIP. | Mike Stump | 2010-01-26 | 1 | -12/+257 | |
| | | | | llvm-svn: 94478 | |||||
* | First cut at emitting inheritance info. | Devang Patel | 2010-01-25 | 2 | -1/+43 | |
| | | | | llvm-svn: 94473 | |||||
* | Emit debug info for virtual functions. | Devang Patel | 2010-01-25 | 1 | -2/+12 | |
| | | | | llvm-svn: 94467 | |||||
* | global variable that binds reference to a non-lvalue reproted | Fariborz Jahanian | 2010-01-25 | 1 | -2/+7 | |
| | | | | | | as NYI now. llvm-svn: 94453 | |||||
* | Fix a code gen. bug involving compiling global references. | Fariborz Jahanian | 2010-01-25 | 1 | -2/+2 | |
| | | | | | | (fixes radar 7574896). llvm-svn: 94434 | |||||
* | 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 | 2 | -23/+13 | |
| | | | | llvm-svn: 94401 | |||||
* | -fno-rtti is now the default. | Chris Lattner | 2010-01-24 | 1 | -1/+0 | |
| | | | | llvm-svn: 94379 | |||||
* | Mangle static variables with an extra name to distinguish them from ↵ | Alexis Hunt | 2010-01-24 | 1 | -6/+11 | |
| | | | | | | | | non-static variables in the same TU. Fixes PR5966 for real this time; also reverts r92911, which had a incorrect fix. llvm-svn: 94352 | |||||
* | Fix a nasty bug where temporaries weren't marked as being conditional in ↵ | Anders Carlsson | 2010-01-24 | 2 | -0/+11 | |
| | | | | | | some cases. llvm-svn: 94341 | |||||
* | Add bzero builtin; this should help codegen quality for code using this | Eli Friedman | 2010-01-23 | 1 | -0/+1 | |
| | | | | | | function. llvm-svn: 94320 | |||||
* | No need to terminate this buffer. | Benjamin Kramer | 2010-01-23 | 1 | -4/+3 | |
| | | | | llvm-svn: 94313 | |||||
* | Created __builtin___NSStringMakeConstantString() builtin, which generates ↵ | David Chisnall | 2010-01-23 | 8 | -19/+46 | |
| | | | | | | constant Objective-C strings. llvm-svn: 94274 |