brintos

brintos / llvm-project-archived public Read only

0
0
Text · 425 B · 45702ef Raw
16 lines · plain
1# Verify the exceptions handling work after moving code.2# The input has dummy nops that are removed by bolt.3 4REQUIRES: x86_64-linux5 6RUN: %clangxx -g %S/Inputs/exception3.cpp -o %t.exe7RUN: llvm-bolt --align-blocks=0 %t.exe -o %t && %t 2>&1 | FileCheck %s8RUN: llvm-bolt --reorder-blocks=reverse --align-blocks=0 %t.exe -o %t && %t 2>&1 \9RUN:   | FileCheck %s10 11CHECK: catch 212CHECK-NEXT: catch 113CHECK-NEXT: caught ExcC14 15 16