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