Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Finish off fixing up debug information. | Mike Stump | 2010-01-22 | 1 | -4/+4 |
| | | | | llvm-svn: 94193 | ||||
* | Eliminate some Clang warnings | Douglas Gregor | 2010-01-22 | 2 | -9/+9 |
| | | | | llvm-svn: 94177 | ||||
* | Simplify code. | Benjamin Kramer | 2010-01-22 | 1 | -18/+8 |
| | | | | llvm-svn: 94175 | ||||
* | Ensure we output all non-virtual base vtables. Fixes PR5890. | Mike Stump | 2010-01-22 | 1 | -29/+38 |
| | | | | llvm-svn: 94163 | ||||
* | Update debugging code. | Mike Stump | 2010-01-22 | 1 | -16/+18 |
| | | | | llvm-svn: 94145 | ||||
* | Move the VTT related code into its own file, CGVTT.cpp | Anders Carlsson | 2010-01-21 | 3 | -378/+399 |
| | | | | llvm-svn: 94079 | ||||
* | 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 | 2 | -2/+77 |
| | | | | | | 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 | 2 | -49/+62 |
| | | | | 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 | ||||
* | More VTT builder fixes. With these fixes we now correctly handle the very ↵ | Anders Carlsson | 2010-01-18 | 1 | -1/+20 |
| | | | | | | complex VTT example from the Itanium ABI spec. llvm-svn: 93725 | ||||
* | Move some common code into BuildVTT. | Anders Carlsson | 2010-01-18 | 1 | -6/+3 |
| | | | | llvm-svn: 93710 | ||||
* | Fix a bunch of VTT layout bugs, add simple tests for VTT layout. | Anders Carlsson | 2010-01-18 | 1 | -4/+17 |
| | | | | llvm-svn: 93709 | ||||
* | Minor VTT builder cleanup, no functionality change. | Anders Carlsson | 2010-01-17 | 1 | -14/+12 |
| | | | | llvm-svn: 93696 | ||||
* | Get the ctor vtable address points directly from the VTT builder. | Anders Carlsson | 2010-01-17 | 1 | -2/+12 |
| | | | | llvm-svn: 93681 | ||||
* | Add codgen for BI__builtin_llvm_memory_barrier. | Tanya Lattner | 2010-01-16 | 1 | -0/+12 |
| | | | | llvm-svn: 93611 | ||||
* | Fix crash generating debug info for constructor for anonymous struct. | Eli Friedman | 2010-01-16 | 1 | -1/+1 |
| | | | | llvm-svn: 93601 | ||||
* | Fix a couple bugs in copy assignment operator synthesis. | Eli Friedman | 2010-01-15 | 1 | -12/+12 |
| | | | | llvm-svn: 93546 |