Skip to content
  1. Sep 27, 2008
    • Ted Kremenek's avatar
      Internally store the body of a BlockExpr using a Stmt* instead of a... · 8bafa2cf
      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
      8bafa2cf
    • Ted Kremenek's avatar
      Forgot to check in header file with last commit. · 2e53c519
      Ted Kremenek authored
      llvm-svn: 56709
      2e53c519
    • Ted Kremenek's avatar
      Use a union instead of a bunch of magic casts to implement a variant. This... · 6ed79f0c
      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
      6ed79f0c
    • Ted Kremenek's avatar
      Add more control-flow to test case. · f5e7e3ae
      Ted Kremenek authored
      llvm-svn: 56707
      f5e7e3ae
    • Ted Kremenek's avatar
    • Devang Patel's avatar
      Now Attributes are divided in three groups · 597e7087
      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
      597e7087
    • Devang Patel's avatar
      Now Attributes are divided in three groups · a05633e1
      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
      a05633e1
    • Bill Wendling's avatar
      Temporarily reverting r56683. This is causing a failure during the build of llvm-gcc: · c966a737
      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
      c966a737
    • Dan Gohman's avatar
      Fix missing whitespace in the printing of function notes. · 5628f642
      Dan Gohman authored
      llvm-svn: 56702
      5628f642
    • Ted Kremenek's avatar
      Updated checker build. · 928f484c
      Ted Kremenek authored
      llvm-svn: 56701
      928f484c
  2. Sep 26, 2008
Loading