Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Convert the type of the LValue offset variable in APValue to CharUnits, moving | Ken Dyck | 2010-01-15 | 1 | -1/+1 |
| | | | | | | the LValue-related methods of APValue out of line to avoid header file leaching. llvm-svn: 93512 | ||||
* | 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 | ||||
* | Made ObjC method name mangling match GCC (which does it in a stupid and ↵ | David Chisnall | 2010-01-14 | 1 | -2/+5 |
| | | | | | | broken way that can give conflicts on method names containing underscores, but is needed for gdb to work because gdb does not know how to read ObjC class tables and relies on the mangling). llvm-svn: 93427 | ||||
* | Store the address points for constructor vtables directly in the VTT ↵ | Anders Carlsson | 2010-01-14 | 2 | -24/+99 |
| | | | | | | builder, because that's the only time they're needed. llvm-svn: 93412 | ||||
* | Add a DenseMapInfo specialization for BaseSubobject. | Anders Carlsson | 2010-01-14 | 1 | -2/+37 |
| | | | | llvm-svn: 93399 | ||||
* | 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 | 3 | -15/+51 |
| | | | | | | if it matches regular name. llvm-svn: 93383 | ||||
* | Add a BaseSubobject class to uniquely identify a base class subobject. Not ↵ | Anders Carlsson | 2010-01-13 | 1 | -0/+25 |
| | | | | | | yet used. llvm-svn: 93345 | ||||
* | Use the new isInteger() method in a couple places, some random cleanup, and | Chris Lattner | 2010-01-11 | 1 | -23/+15 |
| | | | | | | add a fixme. llvm-svn: 93179 | ||||
* | Fix type mismatch on 64-bit platforms (GNU ObjC). | David Chisnall | 2010-01-11 | 1 | -1/+1 |
| | | | | llvm-svn: 93169 | ||||
* | Roll out ASTContext::getTypeSizeInChars(), replacing instances of | Ken Dyck | 2010-01-11 | 8 | -51/+63 |
| | | | | | | | | | | "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 | ||||
* | Try to make cmake happy | Anton Korobeynikov | 2010-01-10 | 1 | -1/+1 |
| | | | | llvm-svn: 93119 | ||||
* | Generalize target weirdness handling having proper layering in mind: | Anton Korobeynikov | 2010-01-10 | 6 | -35/+175 |
| | | | | | | | | | 1. Add helper class for sema checks for target attributes 2. Add helper class for codegen of target attributes As a proof-of-concept - implement msp430's 'interrupt' attribute. llvm-svn: 93118 | ||||
* | Rename file to generalization in next commits | Anton Korobeynikov | 2010-01-10 | 1 | -0/+0 |
| | | | | llvm-svn: 93117 | ||||
* | implement codegen support for preinc as an lvalue, PR5514. | Chris Lattner | 2010-01-09 | 1 | -2/+10 |
| | | | | llvm-svn: 93076 | ||||
* | refactor pre/postinc logic into CGF and require the caller to pass in the | Chris Lattner | 2010-01-09 | 4 | -129/+139 |
| | | | | | | lvalue to poke, no functionality change. llvm-svn: 93075 | ||||
* | revert r92749, which is just dead code. | Chris Lattner | 2010-01-09 | 1 | -10/+0 |
| | | | | llvm-svn: 93074 | ||||
* | Fix for PR5967: Make const-marking for LLVM globals correct for cases requiring | Eli Friedman | 2010-01-08 | 4 | -14/+42 |
| | | | | | | | run-time initialization, and emit run-time initializers aggresively to avoid ordering issues with deferred globals. llvm-svn: 92976 | ||||
* | Export a public symbol for classes with the GNU runtime. | David Chisnall | 2010-01-08 | 1 | -5/+16 |
| | | | | llvm-svn: 92973 | ||||
* | fix PR5869: mangle static symbols like gcc does to make it easier to diff ↵ | Nuno Lopes | 2010-01-07 | 1 | -1/+4 |
| | | | | | | symbol tables llvm-svn: 92911 | ||||
* | Fix linkage for RTTI names by re-using the logic for computing the | Douglas Gregor | 2010-01-06 | 3 | -43/+26 |
| | | | | | | | | linkage of vtables. Before this, we were emitting RTTI names for template instantiations with strong external linkage rather than with weak ODR linkage. llvm-svn: 92857 | ||||
* | Fix marking of virtual members for nested classes whose first non-pure ↵ | Douglas Gregor | 2010-01-06 | 3 | -45/+59 |
| | | | | | | virtual function has a body inlined in the class llvm-svn: 92855 |