summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-292-11/+10
| | | | | | global variable. llvm-svn: 94817
* Name mangling for cast expressions, from Matthias Schiffer! Fixes PR5876.Douglas Gregor2010-01-291-0/+18
| | | | llvm-svn: 94811
* Use EmitLValueForFieldInitialization when synthesizing the copy ctor as well.Anders Carlsson2010-01-291-19/+2
| | | | llvm-svn: 94800
* Add a new EmitLValueForFieldInitialization that will be used for ↵Anders Carlsson2010-01-293-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 Carlsson2010-01-295-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 rereadingDaniel Dunbar2010-01-291-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 Carlsson2010-01-291-0/+2
| | | | llvm-svn: 94791
* s/CGDebugInfo::getContext/CGDebugInfo::getContextDescriptor/g to avoid ↵Devang Patel2010-01-282-7/+8
| | | | | | 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
* Fix an incorrect union layout assert. Fixes PR6164.Anders Carlsson2010-01-281-1/+6
| | | | llvm-svn: 94754
* s/FunctionNames/DebugInfoNames/gDevang Patel2010-01-282-4/+4
| | | | llvm-svn: 94753
* Emit vtable info.Devang Patel2010-01-282-1/+82
| | | | 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
* Include "this" pointer argument while emitting debug info for a C++ method.Devang Patel2010-01-282-1/+41
| | | | llvm-svn: 94710
* Change the return type of ASTContext::getDeclAlignInBytes() to CharUnits and,Ken Dyck2010-01-274-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 Chisnall2010-01-271-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 Carlsson2010-01-271-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 offsetMike Stump2010-01-261-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 offsetMike Stump2010-01-261-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 Dyck2010-01-261-2/+3
| | | | llvm-svn: 94579
* Use CharUnits for sizes, offsets, alignments, and padding amounts for valuesKen Dyck2010-01-261-35/+39
| | | | | | that are in character units. llvm-svn: 94577
* Use CharUnits for alignments in character units.Ken Dyck2010-01-263-14/+17
| | | | llvm-svn: 94571
* Use CharUnits for alignment of UTF16 string in GetAddrOfConstantCFString().Ken Dyck2010-01-261-2/+2
| | | | llvm-svn: 94564
* Use CharUnits for alignment in EmitNullInitializationLValue().Ken Dyck2010-01-261-2/+2
| | | | llvm-svn: 94563
* Use the right definition when emitting a global variable. Fixes PR5564.Anders Carlsson2010-01-261-3/+5
| | | | llvm-svn: 94555
* Change getUnique to return a GlobalDecl. Fixes PR6147.Anders Carlsson2010-01-261-8/+20
| | | | llvm-svn: 94554
* Introduce CodeGenModule::GetTargetTypeStoreSize() to calculate the store sizeKen Dyck2010-01-264-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 Carlsson2010-01-261-3/+2
| | | | | | deferred (even if it's in an anonymous namespace). llvm-svn: 94525
* Fix another debug info crash with virtual bases.Anders Carlsson2010-01-261-4/+11
| | | | llvm-svn: 94520
* Fix the test I broke, and also fix a crash when declaring a virtual ↵Anders Carlsson2010-01-262-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 Carlsson2010-01-262-51/+68
| | | | | | function. llvm-svn: 94513
* Simplify CGDebugInfo::CollectCXXMemberFunctions a little. More to come.Anders Carlsson2010-01-261-6/+6
| | | | llvm-svn: 94511
* Make sure to always mark a global variable as not being constant if it has a ↵Anders Carlsson2010-01-261-1/+6
| | | | | | C++ initializer. llvm-svn: 94504
* Be sure to track the non-virtual part of the vcall offset in complexMike Stump2010-01-261-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 Stump2010-01-261-12/+257
| | | | llvm-svn: 94478
* First cut at emitting inheritance info.Devang Patel2010-01-252-1/+43
| | | | llvm-svn: 94473
* Emit debug info for virtual functions.Devang Patel2010-01-251-2/+12
| | | | llvm-svn: 94467
* global variable that binds reference to a non-lvalue reprotedFariborz Jahanian2010-01-251-2/+7
| | | | | | as NYI now. llvm-svn: 94453
* Fix a code gen. bug involving compiling global references.Fariborz Jahanian2010-01-251-2/+2
| | | | | | (fixes radar 7574896). llvm-svn: 94434
* fix rdar://7556129 a crash in blocks debug info codegen.Chris Lattner2010-01-251-2/+3
| | | | llvm-svn: 94402
* simplify code.Chris Lattner2010-01-252-23/+13
| | | | llvm-svn: 94401
* -fno-rtti is now the default.Chris Lattner2010-01-241-1/+0
| | | | llvm-svn: 94379
* Mangle static variables with an extra name to distinguish them from ↵Alexis Hunt2010-01-241-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 Carlsson2010-01-242-0/+11
| | | | | | some cases. llvm-svn: 94341
* Add bzero builtin; this should help codegen quality for code using thisEli Friedman2010-01-231-0/+1
| | | | | | function. llvm-svn: 94320
* No need to terminate this buffer.Benjamin Kramer2010-01-231-4/+3
| | | | llvm-svn: 94313
* Created __builtin___NSStringMakeConstantString() builtin, which generates ↵David Chisnall2010-01-238-19/+46
| | | | | | constant Objective-C strings. llvm-svn: 94274
OpenPOWER on IntegriCloud