The test has 3 invocations with 1M iterations each, which adds delay to fast check-bolt testing. Reduce the number to 1K. Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D139651
19 lines
450 B
Plaintext
19 lines
450 B
Plaintext
# Verify that C++ exceptions work after binary re-writing
|
|
|
|
REQUIRES: x86_64-linux
|
|
|
|
RUN: %clangxx -fpic -Wl,-q %S/Inputs/exception4.cpp -o %t.pic
|
|
|
|
RUN: llvm-bolt %t.pic -o %t
|
|
RUN: %t 2>&1 | FileCheck %s
|
|
|
|
RUN: llvm-bolt --relocs --use-old-text %t.pic -o %t
|
|
RUN: %t 2>&1 | FileCheck %s
|
|
|
|
RUN: llvm-bolt %t.pic -o %t --split-functions --split-strategy=all --split-eh
|
|
RUN: %t 2>&1 | FileCheck %s
|
|
|
|
CHECK: catch 2
|
|
CHECK-NEXT: catch 1
|
|
CHECK-NEXT: caught ExcC
|