Skip to content
  1. May 20, 2010
  2. May 19, 2010
  3. May 11, 2010
  4. May 09, 2010
    • Chris Lattner's avatar
      make simplifycfg insert an llvm.trap before the 'unreachable' it introduces · 84d46186
      Chris Lattner authored
      when it detects undefined behavior.  llvm.trap generally codegens into some
      thing really small (e.g. a 2 byte ud2 instruction on x86) and debugging this
      sort of thing is "nontrivial".  For example, we now compile:
      
      void foo() { *(int*)0 = 42; }
      
      into:
      
      _foo:
      	pushl	%ebp
      	movl	%esp, %ebp
      	ud2
      
      Some may even claim that this is a security hole, though that seems dubious
      to me.  This addresses rdar://7958343 - Optimizing away null dereference 
      potentially allows arbitrary code execution
      
      llvm-svn: 103356
      84d46186
  5. May 08, 2010
  6. May 07, 2010
  7. May 05, 2010
  8. May 04, 2010
  9. May 03, 2010
  10. Apr 26, 2010
  11. Apr 24, 2010
  12. Apr 23, 2010
  13. Apr 20, 2010
  14. Apr 19, 2010
  15. Apr 17, 2010
  16. Apr 16, 2010
    • Dan Gohman's avatar
      Refine the detection of seemingly infinitely recursive calls where the · 99e5327b
      Dan Gohman authored
      callee is expected to be expanded to something else by codegen, so that
      normal infinitely recursive calls are still transformed.
      
      llvm-svn: 101468
      99e5327b
    • Gabor Greif's avatar
      reapply r101434 · f375520f
      Gabor Greif authored
      with a fix for self-hosting
      
      rotate CallInst operands, i.e. move callee to the back
      of the operand array
      
      the motivation for this patch are laid out in my mail to llvm-commits:
      more efficient access to operands and callee, faster callgraph-construction,
      smaller compiler binary
      
      llvm-svn: 101465
      f375520f
Loading