19 lines · plain
1# Verify that C++ exceptions work after binary re-writing2 3REQUIRES: x86_64-linux4 5RUN: %clangxx -fpic -Wl,-q %S/Inputs/exception4.cpp -o %t.pic6 7RUN: llvm-bolt %t.pic -o %t8RUN: %t 2>&1 | FileCheck %s9 10RUN: llvm-bolt --relocs --use-old-text %t.pic -o %t11RUN: %t 2>&1 | FileCheck %s12 13RUN: llvm-bolt %t.pic -o %t --split-functions --split-strategy=all --split-eh14RUN: %t 2>&1 | FileCheck %s15 16CHECK: catch 217CHECK-NEXT: catch 118CHECK-NEXT: caught ExcC19