summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Keep track of, and dump, vbase offset offsets.Anders Carlsson2010-03-111-15/+77
| | | | llvm-svn: 98245
* Have fast-isel understand llvm.objectsize. Update testcase for slightlyEric Christopher2010-03-112-1/+25
| | | | | | different codegen. llvm-svn: 98244
* Make clang bootstrap happier on OSX 10.5 by reducing the number of headersJeffrey Yasskin2010-03-112-39/+67
| | | | | | | | | included when using global symbols to ask the linker for the addresses of various functions. One of the symbols was actually getting declared by a header included in DynamicLibrary.cpp, which conflicted with the "extern void*" declaration in SearchForAddressOfSpecialSymbol(). llvm-svn: 98243
* Fix tests.Anders Carlsson2010-03-111-1/+1
| | | | llvm-svn: 98242
* MC/Mach-O: Implement "absolutizing" semantics of .set, by evaluating the ↵Daniel Dunbar2010-03-113-4/+99
| | | | | | assembly time value of variables. llvm-svn: 98241
* MC/Mach-O: Start passing in the basic MCAsmLayout object.Daniel Dunbar2010-03-112-27/+15
| | | | | | - Also, drop the current location part of AsmLayout, I think I prefer to implement this via explicit symbols. llvm-svn: 98240
* Run the new vtable builder for construction vtables as well now. Note that ↵Anders Carlsson2010-03-111-13/+10
| | | | | | we still don't use the data it generates. llvm-svn: 98239
* More record layout builder cleanup and simplification.Anders Carlsson2010-03-112-38/+24
| | | | llvm-svn: 98238
* Get rid of the PrimaryBase parameter from LayoutVirtualBases.Anders Carlsson2010-03-112-15/+20
| | | | llvm-svn: 98233
* More cleanup towards fixing the real bug.Anders Carlsson2010-03-111-18/+31
| | | | llvm-svn: 98232
* Replace the class offset vectors in RecordLayoutBuilder with maps instead so ↵Anders Carlsson2010-03-114-50/+47
| | | | | | we'll have faster lookup and so we can detect duplicates. llvm-svn: 98231
* More cleanup.Anders Carlsson2010-03-111-18/+15
| | | | llvm-svn: 98230
* More record layout builder cleanup.Anders Carlsson2010-03-112-11/+12
| | | | llvm-svn: 98229
* Do some final lowering in CodeGenPrepare of _chk calls similar toEric Christopher2010-03-111-0/+134
| | | | | | | | that in InstCombineCalls. More call lowering needed. llvm-svn: 98228
* MC: Sketch initial MCAsmLayout class, which encapsulates the current layout ↵Daniel Dunbar2010-03-116-14/+72
| | | | | | of an assembly file. The MCAsmLayout is also available for use by MCExpr::EvaluateAs{Absolute,Relocatable}, to allow target specific hooks and "absolutizing" of symbols. llvm-svn: 98227
* Fix (unused) RegisterAsmBackend template, clang++ isn't happy about this.Daniel Dunbar2010-03-111-2/+3
| | | | llvm-svn: 98226
* Remove dead include.Daniel Dunbar2010-03-111-1/+0
| | | | llvm-svn: 98225
* Fix debug_value handling.Dale Johannesen2010-03-111-2/+6
| | | | llvm-svn: 98224
* Assert that primary bases always have offset 0.Anders Carlsson2010-03-112-0/+15
| | | | llvm-svn: 98223
* MC: Provide MCAssembler with a TargetAsmBackend.Daniel Dunbar2010-03-117-23/+27
| | | | llvm-svn: 98222
* MC: Sketch some TargetAsmBackend hooks we are going to need.Daniel Dunbar2010-03-112-2/+44
| | | | llvm-svn: 98221
* MC: Provide the target triple to AsmBackend constructors.Daniel Dunbar2010-03-113-11/+11
| | | | llvm-svn: 98220
* Add strncpy libcall creator. Use it when it should be used.Eric Christopher2010-03-113-1/+27
| | | | llvm-svn: 98219
* When outputing a non-lazy pointer for a stub, we may need to fill in the valueBill Wendling2010-03-111-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | for the NLP because the object it's pointing to may be internal to the file. This seems counter-intuitive, but bear with me. When we place the LSDA into the TEXT section, the type info pointers need to be indirect and pc-rel. We accomplish this by using NLPs. However, sometimes the types are local to the file. GCC gets around this by not using a NLP in this case, but a "regular" indirection like this: GCC_except_tbl: .long Lfoo-. __ZTIA: @ This is local ... Lfoo: .long __ZTIA LLVM prefers NLPs on Darwin. In fact, it's more optimal for load performance to use them. llvm-svn: 98218
* Added Thumb2 LDRD/STRD pre/post variants for disassembly only.Johnny Chen2010-03-113-2/+25
| | | | | | Plus fixed the encoding of t2LDRDpci such that P = 1 and W = 0 (offset mode). llvm-svn: 98217
* Make sure HasDebugValue is initialized. This should fixDale Johannesen2010-03-111-3/+3
| | | | | | the buildbot running valgrind. llvm-svn: 98216
* Fix ARM buildbot breakage.Bob Wilson2010-03-111-2/+2
| | | | llvm-svn: 98215
* Remove unused 'IVars' field from ObjCInterfaceDecl. That functionalityTed Kremenek2010-03-112-4/+0
| | | | | | has migrated to DeclContext. llvm-svn: 98213
* add support, testcases, and dox for the new GHC callingChris Lattner2010-03-119-17/+219
| | | | | | convention. Patch by David Terei! llvm-svn: 98212
* Remove the IndirectPrimary parameter in LayoutVirtualBases; it's already ↵Anders Carlsson2010-03-112-11/+6
| | | | | | there as a member variable. llvm-svn: 98211
* Lower small memcpys to load/stores on Thumb2.Bob Wilson2010-03-111-3/+3
| | | | | | Radar 7686922. llvm-svn: 98210
* More cleanup and simplification of the record layout builder.Anders Carlsson2010-03-112-74/+85
| | | | llvm-svn: 98208
* VirtRegRewriter spring cleaning. No functional change.Jakob Stoklund Olesen2010-03-111-1255/+1292
| | | | | | | Move methods out of line and M-x whitespace-cleanup. Promote common method arguments to member variables. llvm-svn: 98207
* Support PPC-32 DWARF EH intrinisics. Thanks to rdivacky for his assistance.John McCall2010-03-111-0/+77
| | | | llvm-svn: 98206
* Work around a bug in the openbsd assembler on i386,Chris Lattner2010-03-111-1/+6
| | | | | | | | | which doesn't support .quad correctly because it is "really really old". PR6528. Yet another reason the mc assembler should take over ;-) llvm-svn: 98205
* set alignment on static locals properly, patch by Arnaud de Grandmaison!Chris Lattner2010-03-101-0/+2
| | | | llvm-svn: 98204
* fix PR6533 by updating the br(xor) code to remember the caseChris Lattner2010-03-102-5/+22
| | | | | | when it looked past a trunc. llvm-svn: 98203
* Cosmetic: lengthen names and improve comments.Dale Johannesen2010-03-102-16/+15
| | | | llvm-svn: 98202
* Fix an obvious typo in an assert.Bob Wilson2010-03-101-1/+1
| | | | | | Patch by Sean Callanan. llvm-svn: 98200
* Add a bit along with the MCSymbols stored in the MachineModuleInfo maps thatBill Wendling2010-03-108-96/+138
| | | | | | | | indicates that an MCSymbol is external or not. (It's true if it's external.) This will be used to specify the correct information to add to non-lazy pointers. That will be explained further when this bit is used. llvm-svn: 98199
* Get rid of the LayoutBaseNonVirtually; it was used to lay out a base either ↵Anders Carlsson2010-03-102-19/+20
| | | | | | as a non-virtual base or a virtual base. llvm-svn: 98198
* More shuffling.Anders Carlsson2010-03-102-65/+68
| | | | llvm-svn: 98197
* Cleanups, no functionality change yet.Anders Carlsson2010-03-102-6/+13
| | | | llvm-svn: 98196
* Progress towards shepherding debug info through SelectionDAG.Dale Johannesen2010-03-1010-40/+276
| | | | | | | No functional effect yet. This is still evolving and should not be viewed as final. llvm-svn: 98195
* move PR6576 here.Chris Lattner2010-03-101-0/+24
| | | | llvm-svn: 98194
* add DESTDIR support for TOOLALIAS, for PR6557, patch byChris Lattner2010-03-101-1/+1
| | | | | | Matthias Klose! llvm-svn: 98193
* add DESTDIR support for clang headers, PR6556.Chris Lattner2010-03-101-4/+4
| | | | | | Patch by Matthias Klose! llvm-svn: 98192
* Fix calculation of whether a member function needs a thunk in construction ↵Anders Carlsson2010-03-102-13/+82
| | | | | | vtables. llvm-svn: 98191
* Change the 'super' messaging API in the rewriter.Fariborz Jahanian2010-03-102-23/+82
| | | | | | Fixes radar 7738452. llvm-svn: 98190
* Suppress the tag when printing an ElaboratedType if the language optionsJohn McCall2010-03-101-1/+6
| | | | | | | | | | claim this is C. We don't make ElaboratedTypes in C, but sometimes the language options during pretty-print lie to us. The rewriter should really be fixed to not rely on how types are pretty-printed, though. llvm-svn: 98189
OpenPOWER on IntegriCloud