- Sep 28, 2008
-
-
Chris Lattner authored
wasn't covering checking builtins like __builtin___vsnprintf_chk) with a check that won't get out of date. llvm-svn: 56767
-
-
Ted Kremenek authored
llvm-svn: 56765
-
-
Daniel Dunbar authored
Comment exception-handling code generation strategy. llvm-svn: 56763
-
Daniel Dunbar authored
llvm-svn: 56762
-
-
Dan Gohman authored
helper functions instead of duplicating it inline each time it is needed. This eliminates a few hundred or so copies of this code in each target. llvm-svn: 56759
-
Daniel Dunbar authored
readable and to generate more readable IR. llvm-svn: 56758
-
Daniel Dunbar authored
- I'm open to the idea that these could have better names. I think these read better than CreateEQNull and CreateNENull. llvm-svn: 56757
-
Daniel Dunbar authored
- This should be rejected by sema (IMHO) but that needs some investigation. llvm-svn: 56756
-
Ted Kremenek authored
llvm-svn: 56755
-
- Sep 27, 2008
-
-
Daniel Dunbar authored
- There is no need to branch on the rethrow variable to determine if we need to call objc_exception_try_exit. We know whether an exception was thrown, so just branch to a different target if we want to skip the try_exit. This is a slight semantic departure from gcc, but only for throwing nil, which is undefined (and for which gcc emits broken code). - Also fixes a bug in current code which was calling try_exit too many times when an exception was uncaught (but there were some handlers). Fix bug introduced in prev. commit, the type of the @catch parameter was uninitialized. llvm-svn: 56754
-
Daniel Dunbar authored
llvm-svn: 56753
-
Daniel Dunbar authored
of the function. llvm-svn: 56752
-
Daniel Dunbar authored
when there are no @catch blocks. Also, eliminated unneeded alloca for the rethrow object. Also, avoid generating code to rethrow exception if the exception will trivially always be caught. llvm-svn: 56751
-
Daniel Dunbar authored
(smaller) size == garbage on stack == heisenbugs. llvm-svn: 56750
-
Zhongxing Xu authored
llvm-svn: 56749
-
Evan Cheng authored
llvm-svn: 56748
-
Daniel Dunbar authored
- Is unused and somewhat unreliable. llvm-svn: 56737
-
Ted Kremenek authored
llvm-svn: 56735
-
Daniel Dunbar authored
llvm-svn: 56734
-
Daniel Dunbar authored
llvm-svn: 56733
-
Devang Patel authored
llvm-svn: 56730
-
Daniel Dunbar authored
llvm-svn: 56727
-
Bill Wendling authored
llvm-svn: 56718
-
Devang Patel authored
llvm-svn: 56716
-
Dale Johannesen authored
llvm-svn: 56715
-
Dale Johannesen authored
llvm-svn: 56714
-
Evan Cheng authored
Implement "punpckldq %xmm0, $xmm0" as "pshufd $0x50, %xmm0, %xmm" unless optimizing for code size. llvm-svn: 56711
-
Ted Kremenek authored
Internally store the body of a BlockExpr using a Stmt* instead of a CompoundStmt*, and use the getBody() method to do the appropriate checking. This both removes the type-punning warnings in Expr.cpp and also makes BlockExpr have more consistency checks against modifications to its body (via StmtIterator). llvm-svn: 56710
-
Ted Kremenek authored
llvm-svn: 56709
-
Ted Kremenek authored
Use a union instead of a bunch of magic casts to implement a variant. This removes the type-punning errors for DeclGroup. llvm-svn: 56708
-
Ted Kremenek authored
llvm-svn: 56707
-
Ted Kremenek authored
llvm-svn: 56706
-
Devang Patel authored
- return attributes - inreg, zext and sext - parameter attributes - function attributes - nounwind, readonly, readnone, noreturn Return attributes use 0 as the index. Function attributes use ~0U as the index. llvm-svn: 56705
-
Devang Patel authored
- return attributes - inreg, zext and sext - parameter attributes - function attributes - nounwind, readonly, readnone, noreturn Return attributes use 0 as the index. Function attributes use ~0U as the index. This patch requires corresponding changes in llvm-gcc and clang. llvm-svn: 56704
-
Bill Wendling authored
/Volumes/Gir/devel/llvm/clean/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Gir/devel/llvm/clean/llvm-gcc.obj/./gcc/ -B/Volumes/Gir/devel/llvm/clean/llvm-gcc.install/i386-apple-darwin9.5.0/bin/ -B/Volumes/Gir/devel/llvm/clean/llvm-gcc.install/i386-apple-darwin9.5.0/lib/ -isystem /Volumes/Gir/devel/llvm/clean/llvm-gcc.install/i386-apple-darwin9.5.0/include -isystem /Volumes/Gir/devel/llvm/clean/llvm-gcc.install/i386-apple-darwin9.5.0/sys-include -mmacosx-version-min=10.4 -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Gir/devel/llvm/clean/llvm.obj/include -I/Volumes/Gir/devel/llvm/clean/llvm.src/include -fexceptions -fvisibility=hidden -DHIDE_EXPORTS -c ../../llvm-gcc.src/gcc/unwind-dw2-fde-darwin.c -o libgcc/./unwind-dw2-fde-darwin.o Assertion failed: (TargetRegisterInfo::isVirtualRegister(regA) && TargetRegisterInfo::isVirtualRegister(regB) && "cannot update physical register live information"), function runOnMachineFunction, file /Volumes/Gir/devel/llvm/clean/llvm.src/lib/CodeGen/TwoAddressInstructionPass.cpp, line 311. ../../llvm-gcc.src/gcc/unwind-dw2.c:1527: internal compiler error: Abort trap Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. {standard input}:3521:non-relocatable subtraction expression, "_dwarf_reg_size_table" minus "L20$pb" {standard input}:3521:symbol: "_dwarf_reg_size_table" can't be undefined in a subtraction expression {standard input}:3520:non-relocatable subtraction expression, "_dwarf_reg_size_table" minus "L20$pb" ... llvm-svn: 56703
-
Dan Gohman authored
llvm-svn: 56702
-
Ted Kremenek authored
llvm-svn: 56701
-