- Sep 22, 2010
-
-
Jim Grosbach authored
llvm-svn: 114553
-
Howard Hinnant authored
llvm-svn: 114551
-
Jim Grosbach authored
llvm-svn: 114550
-
Caroline Tice authored
Add SBValueList.h & SBStream.h to build-swig-Python.sh; add SBValueList.h to lldb.swig llvm-svn: 114549
-
Douglas Gregor authored
Fix a hard-to-reproduce crash-on-invalid, where we weren't checking for a valid result from ActOnIdExpression llvm-svn: 114548
-
Howard Hinnant authored
llvm-svn: 114545
-
Argyrios Kyrtzidis authored
-Wpadded warns when undesired padding is introduced in a struct. (rdar://7469556) -Wpacked warns if a struct is given the packed attribute, but the packed attribute has no effect on the layout or the size of the struct. Such structs may be mis-aligned for little benefit. The warnings are emitted at the point where layout is calculated, that is at RecordLayoutBuilder. To avoid calculating the layouts of all structs regardless of whether they are needed or not, I let the layouts be lazily constructed when needed. This has the disadvantage that the above warnings will be emitted only when they are used for IR gen, and not e.g with -fsyntax-only: $ cat t.c struct S { char c; int i; }; void f(struct S* s) {} $ clang -fsyntax-only -Wpadded t.c $ clang -c -Wpadded t.c -o t.o t.c:3:7: warning: padding struct 'struct S' with 3 bytes to align 'i' [-Wpadded] int i; ^ 1 warning generated. This is a good tradeoff between providing the warnings and not calculating layouts for all structs in case the user has enabled a couple of rarely used warnings. llvm-svn: 114544
-
Howard Hinnant authored
llvm-svn: 114543
-
Mikhail Glushenkov authored
llvm-svn: 114541
-
Mikhail Glushenkov authored
llvm-svn: 114540
-
Jason Molenda authored
whether a given register number is treated as volatile or not for a given architecture/platform. approx 450 lines of boilerplate, 50 lines of actual code. :) llvm-svn: 114537
-
-
Chris Lattner authored
llvm-svn: 114535
-
Chris Lattner authored
x86-32: 32-bit calls were named "call" not "calll". 64-bit calls were correctly named "callq", so this only impacted x86-32. This fixes rdar://8456370 - llvm-mc rejects 'calll' This also exposes that mingw/64 is generating a 32-bit call instead of a 64-bit call, I will file a bugzilla. llvm-svn: 114534
-
rdar://8456412Chris Lattner authored
Teaching the code generator about CR8-15, how to rex them up, etc. llvm-svn: 114533
-
-
-
Greg Clayton authored
variety of ways they can be displayed in variable views. llvm-svn: 114530
-
Chris Lattner authored
llvm-svn: 114529
-
-
rdar://8456389Chris Lattner authored
-This line, and those below, will be ignored-- M test/MC/AsmParser/X86/x86_instructions.s M lib/Target/X86/AsmParser/X86AsmParser.cpp llvm-svn: 114527
-
-
Chris Lattner authored
llvm-svn: 114523
-
Chris Lattner authored
can access the stack due to how it is generated though. llvm-svn: 114522
-
Chris Lattner authored
used with stack slots, but hey, lets be safe. llvm-svn: 114521
-
Chris Lattner authored
llvm-svn: 114519
-
Sebastian Redl authored
llvm-svn: 114518
-
Sebastian Redl authored
llvm-svn: 114517
-
Greg Clayton authored
Added some comments explaining why we currently have to manually set CXXRecordDecl variables. This is because SEMA is actually calling the accessors that should be built into the CXXRecordDecl class. We have an internal bug tracking this change and will remove the affected work around code when a solution is available. llvm-svn: 114516
-
Chris Lattner authored
llvm-svn: 114515
-
Sean Callanan authored
expression parser's behalf so that now we see the full TranslationUnitDecl instead of just the FunctionDecl. llvm-svn: 114514
-
Johnny Chen authored
llvm-svn: 114513
-
Greg Clayton authored
or not. llvm-svn: 114512
-
Greg Clayton authored
llvm-svn: 114511
-
Chris Lattner authored
call through gs-relative memory now. llvm-svn: 114510
-
Daniel Dunbar authored
some projects still depend on ___eprintf being available. llvm-svn: 114509
-
Chris Lattner authored
llvm-svn: 114508
-
Chris Lattner authored
llvm-svn: 114507
-
Evan Cheng authored
OptimizeCompareInstr should avoid iterating pass the beginning of the MBB when the 'and' instruction is after the comparison. llvm-svn: 114506
-
Johnny Chen authored
llvm-svn: 114505
-