1 # Verify the exceptions handling work after moving code.
2 # The input has dummy nops that are removed by bolt.
6 RUN: %clangxx -g %S/Inputs/exception3.cpp -o %t.exe
7 RUN: llvm-bolt --align-blocks=0 %t.exe -o %t && %t 2>&1 | FileCheck %s
8 RUN: llvm-bolt --reorder-blocks=reverse --align-blocks=0 %t.exe -o %t && %t 2>&1 \
13 CHECK-NEXT: caught ExcC