Skip to content
  1. Sep 26, 2012
  2. Sep 25, 2012
  3. Sep 24, 2012
  4. Sep 23, 2012
    • Anton Korobeynikov's avatar
      Emit dtors into proper section while compiling in vcpp-compatible mode. · 37d73002
      Anton Korobeynikov authored
      Patch by Kai!
      
      llvm-svn: 164476
      37d73002
    • Chandler Carruth's avatar
      Switch to a signed representation for the dynamic offsets while walking · e7a1ba5e
      Chandler Carruth authored
      across the uses of the alloca. It's entirely possible for negative
      numbers to come up here, and in some rare cases simply doing the 2's
      complement arithmetic isn't the correct decision. Notably, we can't zext
      the index of the GEP. The definition of GEP is that these offsets are
      sign extended or truncated to the size of the pointer, and then wrapping
      2's complement arithmetic used.
      
      This patch fixes an issue that comes up with *no* input from the
      buildbots or bootstrap afaict. The only place where it manifested,
      disturbingly, is Clang's own regression test suite. A reduced and
      targeted collection of tests are added to cope with this. Note that I've
      tried to pin down the potential cases of overflow, but may have missed
      some cases. I've tried to add a few cases to test this, but its hard
      because LLVM has quite limited support for >64bit constructs.
      
      llvm-svn: 164475
      e7a1ba5e
    • Nick Lewycky's avatar
      Don't do actual work inside an assert statement. Fixes PR11760! · c6b4f031
      Nick Lewycky authored
      llvm-svn: 164474
      c6b4f031
Loading