Skip to content
  • Chris Lattner's avatar
    prevent jump threading from merging blocks when their address is · 1a924e77
    Chris Lattner authored
    taken (and used!).  This prevents merging the blocks (invalidating
    the block addresses) in a case like this:
    
    #define _THIS_IP_  ({ __label__ __here; __here: (unsigned long)&&__here; })
    
    void foo() {
      printf("%p\n", _THIS_IP_);
      printf("%p\n", _THIS_IP_);
      printf("%p\n", _THIS_IP_);
    }
    
    which fixes PR4151.
    
    llvm-svn: 125829
    1a924e77
Loading