Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement -Wmissing-field-initializers. Patch by mikem! | John McCall | 2010-03-11 | 4 | -1/+73 |
| | | | | llvm-svn: 98275 | ||||
* | Lower stpcpy_chk when possible. | Eric Christopher | 2010-03-11 | 4 | -6/+45 |
| | | | | llvm-svn: 98274 | ||||
* | Bad bad bug. x86 force indirect tail call address into eax when it's meant ↵ | Evan Cheng | 2010-03-11 | 2 | -3/+3 |
| | | | | | | to force it into a call preserved register instead. Change it to ecx for now. llvm-svn: 98270 | ||||
* | Remove dead code. (S|U)MUL_LO is now lowered to LMUL or MACC(S|U) | Richard Osborne | 2010-03-11 | 1 | -23/+0 |
| | | | | llvm-svn: 98269 | ||||
* | Avoid leaking CompileUnits in DwarfDebug.cpp. | Jeffrey Yasskin | 2010-03-11 | 2 | -14/+15 |
| | | | | llvm-svn: 98268 | ||||
* | Use -emit-llvm-only, to avoid leaving a temp around. | Daniel Dunbar | 2010-03-11 | 1 | -1/+1 |
| | | | | llvm-svn: 98267 | ||||
* | MC/Mach-O: Add MCSymbolData::getAddress() utility. | Daniel Dunbar | 2010-03-11 | 2 | -4/+9 |
| | | | | llvm-svn: 98266 | ||||
* | Add tentative support for accessing local variables with | Fariborz Jahanian | 2010-03-11 | 3 | -8/+99 |
| | | | | | | | external linkage (static, extern, etc.) in blocks in rewriter. wip. llvm-svn: 98265 | ||||
* | fix PR6433, crash on va_arg of typedef. | Chris Lattner | 2010-03-11 | 2 | -8/+20 |
| | | | | llvm-svn: 98264 | ||||
* | Driver: Free Action objects. | Daniel Dunbar | 2010-03-11 | 3 | -6/+17 |
| | | | | llvm-svn: 98263 | ||||
* | Driver: Free synthesized derived arguments. | Daniel Dunbar | 2010-03-11 | 2 | -8/+15 |
| | | | | llvm-svn: 98262 | ||||
* | Driver: Free jobs in JobList and PipedJob instances. | Daniel Dunbar | 2010-03-11 | 2 | -0/+14 |
| | | | | llvm-svn: 98261 | ||||
* | Fix typo. | Eric Christopher | 2010-03-11 | 1 | -1/+1 |
| | | | | llvm-svn: 98260 | ||||
* | Update checker build. | Ted Kremenek | 2010-03-11 | 1 | -1/+1 |
| | | | | llvm-svn: 98259 | ||||
* | Add dag combine to simplify lmul(x, 0, a, b) | Richard Osborne | 2010-03-11 | 2 | -0/+40 |
| | | | | llvm-svn: 98258 | ||||
* | Use the new vtable layout code for computing virtual base offset offsets. | Anders Carlsson | 2010-03-11 | 1 | -15/+18 |
| | | | | llvm-svn: 98257 | ||||
* | Switch XCore over to using inline jump table entries. | Richard Osborne | 2010-03-11 | 2 | -0/+6 |
| | | | | llvm-svn: 98256 | ||||
* | Add a new jump table encoding to indicate jump tables entries | Richard Osborne | 2010-03-11 | 4 | -1/+16 |
| | | | | | | are inside the function by the target at the point of use. llvm-svn: 98255 | ||||
* | Correctly mangle address of member in template arguments. Fixes PR6460 | Rafael Espindola | 2010-03-11 | 2 | -20/+88 |
| | | | | llvm-svn: 98254 | ||||
* | Fix a self-host problem caused by this over-eager assertion. I'm not sure | John McCall | 2010-03-11 | 2 | -2/+6 |
| | | | | | | there's a good equivalent that's actually true, unfortunately. llvm-svn: 98253 | ||||
* | Maintain type source information for functions through template | John McCall | 2010-03-11 | 6 | -95/+193 |
| | | | | | | | | | | | instantiation. Based on a patch by Enea Zaffanella! I found a way to reduce some of the redundancy between TreeTransform's "standard" FunctionProtoType transformation and TemplateInstantiator's override, and I killed off the old SubstFunctionType by adding type source info for the last cases where we were creating FunctionDecls without TSI (at least that get passed through template instantiation). llvm-svn: 98252 | ||||
* | The check for coalescing a virtual register to a physical register, e.g. | Evan Cheng | 2010-03-11 | 4 | -15/+61 |
| | | | | | | | | | cl = EXTRACT_SUBREG reg1024, 1, is overly conservative. It should check for overlaps of vr's live interval with the super registers of the physical register (ECX in this case) and let JoinIntervals() handle checking the coalescing feasibility against the physical register (cl in this case). llvm-svn: 98251 | ||||
* | Update CMake build. | Ted Kremenek | 2010-03-11 | 1 | -0/+1 |
| | | | | llvm-svn: 98250 | ||||
* | Split C++ friend declarations into their own header/implementation file. | John McCall | 2010-03-11 | 9 | -96/+141 |
| | | | | | | | | | I'm expecting this portion of the AST to grow and change, and I'd like to be able to do that with minimal recompilation. If this proves unnecessary when access control is fully-implemented, I'll fold the classes back into DeclCXX.h. llvm-svn: 98249 | ||||
* | Rename getVirtualBaseOffsetIndex to getVirtualBaseOffsetOffset to reflect ↵ | Anders Carlsson | 2010-03-11 | 5 | -28/+30 |
| | | | | | | what it actually does. llvm-svn: 98248 | ||||
* | When possible, use the vbase offset offsets from the most derived class ↵ | Anders Carlsson | 2010-03-11 | 1 | -3/+10 |
| | | | | | | directly. llvm-svn: 98247 | ||||
* | Add a test. | Anders Carlsson | 2010-03-11 | 1 | -0/+7 |
| | | | | llvm-svn: 98246 | ||||
* | Keep track of, and dump, vbase offset offsets. | Anders Carlsson | 2010-03-11 | 1 | -15/+77 |
| | | | | llvm-svn: 98245 | ||||
* | Have fast-isel understand llvm.objectsize. Update testcase for slightly | Eric Christopher | 2010-03-11 | 2 | -1/+25 |
| | | | | | | different codegen. llvm-svn: 98244 | ||||
* | Make clang bootstrap happier on OSX 10.5 by reducing the number of headers | Jeffrey Yasskin | 2010-03-11 | 2 | -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 Carlsson | 2010-03-11 | 1 | -1/+1 |
| | | | | llvm-svn: 98242 | ||||
* | MC/Mach-O: Implement "absolutizing" semantics of .set, by evaluating the ↵ | Daniel Dunbar | 2010-03-11 | 3 | -4/+99 |
| | | | | | | assembly time value of variables. llvm-svn: 98241 | ||||
* | MC/Mach-O: Start passing in the basic MCAsmLayout object. | Daniel Dunbar | 2010-03-11 | 2 | -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 Carlsson | 2010-03-11 | 1 | -13/+10 |
| | | | | | | we still don't use the data it generates. llvm-svn: 98239 | ||||
* | More record layout builder cleanup and simplification. | Anders Carlsson | 2010-03-11 | 2 | -38/+24 |
| | | | | llvm-svn: 98238 | ||||
* | Get rid of the PrimaryBase parameter from LayoutVirtualBases. | Anders Carlsson | 2010-03-11 | 2 | -15/+20 |
| | | | | llvm-svn: 98233 | ||||
* | More cleanup towards fixing the real bug. | Anders Carlsson | 2010-03-11 | 1 | -18/+31 |
| | | | | llvm-svn: 98232 | ||||
* | Replace the class offset vectors in RecordLayoutBuilder with maps instead so ↵ | Anders Carlsson | 2010-03-11 | 4 | -50/+47 |
| | | | | | | we'll have faster lookup and so we can detect duplicates. llvm-svn: 98231 | ||||
* | More cleanup. | Anders Carlsson | 2010-03-11 | 1 | -18/+15 |
| | | | | llvm-svn: 98230 | ||||
* | More record layout builder cleanup. | Anders Carlsson | 2010-03-11 | 2 | -11/+12 |
| | | | | llvm-svn: 98229 | ||||
* | Do some final lowering in CodeGenPrepare of _chk calls similar to | Eric Christopher | 2010-03-11 | 1 | -0/+134 |
| | | | | | | | | that in InstCombineCalls. More call lowering needed. llvm-svn: 98228 | ||||
* | MC: Sketch initial MCAsmLayout class, which encapsulates the current layout ↵ | Daniel Dunbar | 2010-03-11 | 6 | -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 Dunbar | 2010-03-11 | 1 | -2/+3 |
| | | | | llvm-svn: 98226 | ||||
* | Remove dead include. | Daniel Dunbar | 2010-03-11 | 1 | -1/+0 |
| | | | | llvm-svn: 98225 | ||||
* | Fix debug_value handling. | Dale Johannesen | 2010-03-11 | 1 | -2/+6 |
| | | | | llvm-svn: 98224 | ||||
* | Assert that primary bases always have offset 0. | Anders Carlsson | 2010-03-11 | 2 | -0/+15 |
| | | | | llvm-svn: 98223 | ||||
* | MC: Provide MCAssembler with a TargetAsmBackend. | Daniel Dunbar | 2010-03-11 | 7 | -23/+27 |
| | | | | llvm-svn: 98222 | ||||
* | MC: Sketch some TargetAsmBackend hooks we are going to need. | Daniel Dunbar | 2010-03-11 | 2 | -2/+44 |
| | | | | llvm-svn: 98221 | ||||
* | MC: Provide the target triple to AsmBackend constructors. | Daniel Dunbar | 2010-03-11 | 3 | -11/+11 |
| | | | | llvm-svn: 98220 | ||||
* | Add strncpy libcall creator. Use it when it should be used. | Eric Christopher | 2010-03-11 | 3 | -1/+27 |
| | | | | llvm-svn: 98219 |